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