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
No known key found for this signature in database
GPG Key ID: 72D48FCE664F7B19

View File

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