diff --git a/iocore/net/SSLConfig.cc b/iocore/net/SSLConfig.cc index 29093762cb9..830ae1cffa7 100644 --- a/iocore/net/SSLConfig.cc +++ b/iocore/net/SSLConfig.cc @@ -559,7 +559,7 @@ SSLCertificateConfig::reconfigure() // If there are errors in the certificate configs and we had wanted to exit on error // we won't want to reset the config - if (lookup->is_valid || !params->configExitOnLoadError) { + if (retStatus || !params->configExitOnLoadError) { configid = configProcessor.set(configid, lookup); } else { delete lookup;