Skip to content

Commit c8f5553

Browse files
committed
Do not fail multicert load if line does not create entry
1 parent effb984 commit c8f5553

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

iocore/net/SSLUtils.cc

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1435,8 +1435,7 @@ SSLMultiCertConfigLoader::_store_ssl_ctx(SSLCertLookup *lookup, const shared_SSL
14351435

14361436
shared_SSL_CTX unique_ctx(this->init_server_ssl_ctx(single_data, sslMultCertSettings.get(), iter->second), SSL_CTX_free);
14371437
if (!unique_ctx || !this->_store_single_ssl_ctx(lookup, sslMultCertSettings, unique_ctx, iter->second)) {
1438-
lookup->is_valid = false;
1439-
retval = false;
1438+
retval = false;
14401439
}
14411440
}
14421441

0 commit comments

Comments
 (0)