diff options
Diffstat (limited to 'smime/lib')
-rw-r--r-- | smime/lib/e-cert-trust.c | 21 | ||||
-rw-r--r-- | smime/lib/e-cert-trust.h | 4 |
2 files changed, 0 insertions, 25 deletions
diff --git a/smime/lib/e-cert-trust.c b/smime/lib/e-cert-trust.c index b338c4094a..390c606b42 100644 --- a/smime/lib/e-cert-trust.c +++ b/smime/lib/e-cert-trust.c @@ -292,27 +292,6 @@ e_cert_trust_has_any_user (CERTCertTrust *trust) } PRBool -e_cert_trust_has_user (CERTCertTrust *trust, - PRBool checkSSL, - PRBool checkEmail, - PRBool checkObjSign) -{ - if (checkSSL && !e_cert_trust_has_trust ( - trust->sslFlags, CERTDB_USER)) - return PR_FALSE; - - if (checkEmail && !e_cert_trust_has_trust ( - trust->emailFlags, CERTDB_USER)) - return PR_FALSE; - - if (checkObjSign && !e_cert_trust_has_trust ( - trust->objectSigningFlags, CERTDB_USER)) - return PR_FALSE; - - return PR_TRUE; -} - -PRBool e_cert_trust_has_trusted_ca (CERTCertTrust *trust, PRBool checkSSL, PRBool checkEmail, diff --git a/smime/lib/e-cert-trust.h b/smime/lib/e-cert-trust.h index a454f3f906..c74c2bfdf6 100644 --- a/smime/lib/e-cert-trust.h +++ b/smime/lib/e-cert-trust.h @@ -58,10 +58,6 @@ PRBool e_cert_trust_has_peer (CERTCertTrust *trust, PRBool checkEmail, PRBool checkObjSign); PRBool e_cert_trust_has_any_user (CERTCertTrust *trust); -PRBool e_cert_trust_has_user (CERTCertTrust *trust, - PRBool checkSSL, - PRBool checkEmail, - PRBool checkObjSign); PRBool e_cert_trust_has_trusted_ca (CERTCertTrust *trust, PRBool checkSSL, PRBool checkEmail, |