[evolution] Remove unused e_cert_trust_set_trusted_ca().



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

    Remove unused e_cert_trust_set_trusted_ca().

 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 4018c91..1e5b8c8 100644
--- a/smime/lib/e-cert-trust.c
+++ b/smime/lib/e-cert-trust.c
@@ -217,22 +217,6 @@ e_cert_trust_set_valid_ca (CERTCertTrust *trust)
 }
 
 void
-e_cert_trust_set_trusted_ca (CERTCertTrust *trust)
-{
-       e_cert_trust_set_ssl_trust (
-               trust, PR_FALSE, PR_FALSE, PR_TRUE,
-               PR_TRUE, PR_TRUE, PR_FALSE, PR_FALSE);
-
-       e_cert_trust_set_email_trust (
-               trust, PR_FALSE, PR_FALSE, PR_TRUE,
-               PR_TRUE, PR_TRUE, PR_FALSE, PR_FALSE);
-
-       e_cert_trust_set_objsign_trust (
-               trust, PR_FALSE, PR_FALSE, PR_TRUE,
-               PR_TRUE, PR_TRUE, PR_FALSE, PR_FALSE);
-}
-
-void
 e_cert_trust_set_valid_peer (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 b07e587..f2ef2b1 100644
--- a/smime/lib/e-cert-trust.h
+++ b/smime/lib/e-cert-trust.h
@@ -50,7 +50,6 @@ void e_cert_trust_set_objsign_trust (CERTCertTrust *trust,
                                     PRBool ca,   PRBool tCA, PRBool tClientCA,
                                     PRBool user, PRBool warn);
 void e_cert_trust_set_valid_ca (CERTCertTrust *trust);
-void e_cert_trust_set_trusted_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);


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