Skip to content
This repository has been archived by the owner on Apr 10, 2024. It is now read-only.

Commit

Permalink
Bug 683449 - DigiNotar patch erroneously blocks one of the two Staat …
Browse files Browse the repository at this point in the history
…der Nederlanden roots; r=kaie a=johnath
  • Loading branch information
ehsan committed Aug 31, 2011
1 parent 132aa47 commit 93d1ff6
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions security/manager/ssl/src/nsNSSCallbacks.cpp
Expand Up @@ -1069,8 +1069,10 @@ PSM_SSL_BlacklistDigiNotar(CERTCertificate * serverCert,
}

// By request of the Dutch government
if (!strcmp(node->cert->issuerName,
"CN=Staat der Nederlanden Root CA,O=Staat der Nederlanden,C=NL") &&
if ((!strcmp(node->cert->issuerName,
"CN=Staat der Nederlanden Root CA,O=Staat der Nederlanden,C=NL") ||
!strcmp(node->cert->issuerName,
"CN=Staat der Nederlanden Root CA - G2,O=Staat der Nederlanden,C=NL")) &&
CERT_LIST_END(CERT_LIST_NEXT(node), serverCertChain)) {
return 0;
}
Expand Down

0 comments on commit 93d1ff6

Please sign in to comment.