Properly detect SSL initialization failures
The return value was not checked in the function that created it.
This commit is contained in:
@ -2922,6 +2922,7 @@ bool config_create_ssl(const char* name,
|
|||||||
if (ok)
|
if (ok)
|
||||||
{
|
{
|
||||||
*dest = mxs::SSLContext::create(params);
|
*dest = mxs::SSLContext::create(params);
|
||||||
|
ok = dest->get();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user