зеркало из https://github.com/mozilla/gecko-dev.git
bug 1102443 - fix leak in key pinning logging by removing an unnecessary function call r=cykesiopka
Also took the opportunity to fix the logging message, since it didn't accurately describe the information that was being printed. --HG-- extra : amend_source : 40a0c2ba9c07757e5895a822ce3bb8b197674554
This commit is contained in:
Родитель
1c5fc3bb80
Коммит
12b79456cc
|
@ -128,11 +128,9 @@ EvalChainWithHashType(const CERTCertList* certList, SECOidTag hashType,
|
|||
node = CERT_LIST_NEXT(node)) {
|
||||
currentCert = node->cert;
|
||||
PR_LOG(gPublicKeyPinningLog, PR_LOG_DEBUG,
|
||||
("pkpin: certArray subject: '%s'\n",
|
||||
currentCert->subjectName));
|
||||
("pkpin: certArray subject: '%s'\n", currentCert->subjectName));
|
||||
PR_LOG(gPublicKeyPinningLog, PR_LOG_DEBUG,
|
||||
("pkpin: certArray common_name: '%s'\n",
|
||||
CERT_GetCommonName(&(currentCert->issuer))));
|
||||
("pkpin: certArray issuer: '%s'\n", currentCert->issuerName));
|
||||
if (EvalCertWithHashType(currentCert, hashType, fingerprints,
|
||||
dynamicFingerprints)) {
|
||||
return true;
|
||||
|
|
Загрузка…
Ссылка в новой задаче