diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2013-09-25 09:29:08 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@redhat.com> | 2013-09-25 10:02:32 +0800 |
commit | 3c91dbbe168f23d161fd2c078c4b29f5977a7f51 (patch) | |
tree | 260a5b93eee6e27f145ef86bc0873cbe2696fa40 | |
parent | 817b97b33430bd2f587aa8afb50cc0f7ae79db30 (diff) | |
download | gsoc2013-evolution-3c91dbbe168f23d161fd2c078c4b29f5977a7f51.tar gsoc2013-evolution-3c91dbbe168f23d161fd2c078c4b29f5977a7f51.tar.gz gsoc2013-evolution-3c91dbbe168f23d161fd2c078c4b29f5977a7f51.tar.bz2 gsoc2013-evolution-3c91dbbe168f23d161fd2c078c4b29f5977a7f51.tar.lz gsoc2013-evolution-3c91dbbe168f23d161fd2c078c4b29f5977a7f51.tar.xz gsoc2013-evolution-3c91dbbe168f23d161fd2c078c4b29f5977a7f51.tar.zst gsoc2013-evolution-3c91dbbe168f23d161fd2c078c4b29f5977a7f51.zip |
Remove unused e_cert_trust_has_user().
-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, |