Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(802)

Unified Diff: net/third_party/mozilla_security_manager/nsNSSCertTrust.h

Issue 9940001: Fix imported server certs being distrusted in NSS 3.13. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: net/third_party/mozilla_security_manager/nsNSSCertTrust.h
diff --git a/net/third_party/mozilla_security_manager/nsNSSCertTrust.h b/net/third_party/mozilla_security_manager/nsNSSCertTrust.h
index bc42fd01921eb2853eb6786065edb3bea1a2035d..6b38cc27f0bfe0981f6550f4324e658823779b89 100644
--- a/net/third_party/mozilla_security_manager/nsNSSCertTrust.h
+++ b/net/third_party/mozilla_security_manager/nsNSSCertTrust.h
@@ -65,9 +65,9 @@ public:
PRBool HasCA(PRBool checkSSL = PR_TRUE,
PRBool checkEmail = PR_TRUE,
PRBool checkObjSign = PR_TRUE);
- PRBool HasPeer(PRBool checkSSL = PR_TRUE,
- PRBool checkEmail = PR_TRUE,
- PRBool checkObjSign = PR_TRUE);
+ PRBool HasTerminalRecord(PRBool checkSSL = PR_TRUE,
wtc 2012/03/30 22:00:50 HasExplicitTrustOrDistrust may be a better name fo
+ PRBool checkEmail = PR_TRUE,
+ PRBool checkObjSign = PR_TRUE);
Ryan Sleevi 2012/03/29 23:35:13 Is this our code or is this upstream? Does the li
wtc 2012/03/30 22:00:50 These files are our permanent fork of Mozilla's ce
PRBool HasUser(PRBool checkSSL = PR_TRUE,
PRBool checkEmail = PR_TRUE,
PRBool checkObjSign = PR_TRUE);
@@ -86,9 +86,9 @@ public:
/* equivalent to "CT,CT,CT" */
void SetTrustedCA();
/* equivalent to "p,," */
- void SetValidServerPeer();
+ void SetTerminalServerRecord();
wtc 2012/03/30 22:00:50 This function should be named SetDistrustedServer.
mattm 2012/03/30 22:16:56 But a trusted server cert should have CERTDB_TRUST
wtc 2012/03/30 22:39:08 I see. Yes, that would make the code confusing.
/* equivalent to "p,p,p" */
- void SetValidPeer();
+ void SetTerminalRecord();
wtc 2012/03/30 22:00:50 This should be named SetDistrustedCert.
/* equivalent to "P,P,P" */
void SetTrustedPeer();
wtc 2012/03/30 22:00:50 This should be named SetTrustedCert to avoid the u
/* equivalent to "u,u,u" */

Powered by Google App Engine
This is Rietveld 408576698