Properly detect SSL initialization failures

The return value was not checked in the function that created it.
This commit is contained in:
Markus Mäkelä
2019-11-28 19:16:46 +02:00
parent ab8393939b
commit 521c75505b

View File

@ -2922,6 +2922,7 @@ bool config_create_ssl(const char* name,
if (ok)
{
*dest = mxs::SSLContext::create(params);
ok = dest->get();
}
}