Branch: Tag:

2015-07-06

2015-07-06 03:56:34 by Martin Nilsson <nilsson@fastmail.com>

Do the cheap test before the expensive one.

812:       // Return first matching chain that isn't a fallback certificate.    foreach(cert_chains_domain; string g; array(CertificatePair) chains) -  if( glob(g, domain) && (g != "*") ) +  if( (g != "*") && glob(g, domain) )    return chains;    }