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" */ |