Fix debug assert on SSL with system CA
The debug assertion was not updated in the merge.
This commit is contained in:
@ -207,7 +207,8 @@ SSLConfig::SSLConfig(const MXS_CONFIG_PARAMETER& params)
|
|||||||
// static
|
// static
|
||||||
std::unique_ptr<SSLContext> SSLContext::create(const MXS_CONFIG_PARAMETER& params)
|
std::unique_ptr<SSLContext> SSLContext::create(const MXS_CONFIG_PARAMETER& params)
|
||||||
{
|
{
|
||||||
mxb_assert(access(params.get_string(CN_SSL_CA_CERT).c_str(), F_OK) == 0);
|
mxb_assert(params.get_string(CN_SSL_CA_CERT).empty()
|
||||||
|
|| access(params.get_string(CN_SSL_CA_CERT).c_str(), F_OK) == 0);
|
||||||
mxb_assert(params.get_string(CN_SSL_CERT).empty()
|
mxb_assert(params.get_string(CN_SSL_CERT).empty()
|
||||||
|| access(params.get_string(CN_SSL_CERT).c_str(), F_OK) == 0);
|
|| access(params.get_string(CN_SSL_CERT).c_str(), F_OK) == 0);
|
||||||
mxb_assert(params.get_string(CN_SSL_KEY).empty()
|
mxb_assert(params.get_string(CN_SSL_KEY).empty()
|
||||||
|
|||||||
Reference in New Issue
Block a user