[evolution] Remove unused e_cert_trust_set_trusted_peer().



commit cb3ea3a2c324c64b4d161a207a33a4ef397494ab
Author: Matthew Barnes <mbarnes redhat com>
Date:   Tue Sep 24 21:26:54 2013 -0400

    Remove unused e_cert_trust_set_trusted_peer().

 smime/lib/e-cert-trust.c |   16 ----------------
 smime/lib/e-cert-trust.h |    1 -
 2 files changed, 0 insertions(+), 17 deletions(-)
---
diff --git a/smime/lib/e-cert-trust.c b/smime/lib/e-cert-trust.c
index 1e5b8c8..9ef7052 100644
--- a/smime/lib/e-cert-trust.c
+++ b/smime/lib/e-cert-trust.c
@@ -249,22 +249,6 @@ e_cert_trust_set_valid_server_peer (CERTCertTrust *trust)
 }
 
 void
-e_cert_trust_set_trusted_peer (CERTCertTrust *trust)
-{
-       e_cert_trust_set_ssl_trust (
-               trust, PR_TRUE, PR_TRUE, PR_FALSE,
-               PR_FALSE, PR_FALSE, PR_FALSE, PR_FALSE);
-
-       e_cert_trust_set_email_trust (
-               trust, PR_TRUE, PR_TRUE, PR_FALSE,
-               PR_FALSE, PR_FALSE, PR_FALSE, PR_FALSE);
-
-       e_cert_trust_set_objsign_trust (
-               trust, PR_TRUE, PR_TRUE, PR_FALSE,
-               PR_FALSE, PR_FALSE, PR_FALSE, PR_FALSE);
-}
-
-void
 e_cert_trust_set_user (CERTCertTrust *trust)
 {
        e_cert_trust_set_ssl_trust (
diff --git a/smime/lib/e-cert-trust.h b/smime/lib/e-cert-trust.h
index f2ef2b1..a148d27 100644
--- a/smime/lib/e-cert-trust.h
+++ b/smime/lib/e-cert-trust.h
@@ -52,7 +52,6 @@ void e_cert_trust_set_objsign_trust (CERTCertTrust *trust,
 void e_cert_trust_set_valid_ca (CERTCertTrust *trust);
 void e_cert_trust_set_valid_peer (CERTCertTrust *trust);
 void e_cert_trust_set_valid_server_peer (CERTCertTrust *trust);
-void e_cert_trust_set_trusted_peer (CERTCertTrust *trust);
 void e_cert_trust_set_user (CERTCertTrust *trust);
 PRBool e_cert_trust_has_any_ca (CERTCertTrust *trust);
 PRBool e_cert_trust_has_ca (CERTCertTrust *trust,


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]