Github user shinrich commented on a diff in the pull request:

    https://github.com/apache/trafficserver/pull/1488#discussion_r103023456
  
    --- Diff: iocore/net/SSLUtils.cc ---
    @@ -2007,7 +2007,10 @@ SSLParseCertificateConfiguration(const 
SSLConfigParams *params, SSLCertLookup *l
             if (ssl_extract_certificate(&line_info, sslMultiCertSettings)) {
               // There must be a certificate specified unless the tunnel 
action is set
               if (sslMultiCertSettings.cert || sslMultiCertSettings.opt != 
SSLCertContext::OPT_TUNNEL) {
    -            ssl_store_ssl_context(params, lookup, &sslMultiCertSettings);
    +            if (ssl_store_ssl_context(params, lookup, 
&sslMultiCertSettings) == nullptr) {
    +              Error("failed to load SSL server contexts");
    +              return false;
    +            }
               } else {
    --- End diff --
    
    I'm a bit confused why this fixes anything.  I don't see any callers 
checking the return value.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

Reply via email to