[evolution] Remove unused e_cert_trust_set_valid_server_peer().



commit 0975251096761e5beedcb1b7c3f23e0633d1937e
Author: Matthew Barnes <mbarnes redhat com>
Date:   Tue Sep 24 21:30:48 2013 -0400

    Remove unused e_cert_trust_set_valid_server_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 390c606..54f092d 100644
--- a/smime/lib/e-cert-trust.c
+++ b/smime/lib/e-cert-trust.c
@@ -232,22 +232,6 @@ e_cert_trust_set_valid_peer (CERTCertTrust *trust)
                PR_FALSE, PR_FALSE, PR_FALSE, PR_FALSE);
 }
 
-void
-e_cert_trust_set_valid_server_peer (CERTCertTrust *trust)
-{
-       e_cert_trust_set_ssl_trust (
-               trust, PR_TRUE, PR_FALSE, PR_FALSE,
-               PR_FALSE, PR_FALSE, PR_FALSE, PR_FALSE);
-
-       e_cert_trust_set_email_trust (
-               trust, PR_FALSE, PR_FALSE, PR_FALSE,
-               PR_FALSE, PR_FALSE, PR_FALSE, PR_FALSE);
-
-       e_cert_trust_set_objsign_trust (
-               trust, PR_FALSE, PR_FALSE, PR_FALSE,
-               PR_FALSE, PR_FALSE, PR_FALSE, PR_FALSE);
-}
-
 PRBool
 e_cert_trust_has_any_ca (CERTCertTrust *trust)
 {
diff --git a/smime/lib/e-cert-trust.h b/smime/lib/e-cert-trust.h
index c74c2bf..90bdeff 100644
--- a/smime/lib/e-cert-trust.h
+++ b/smime/lib/e-cert-trust.h
@@ -51,7 +51,6 @@ void e_cert_trust_set_objsign_trust (CERTCertTrust *trust,
                                     PRBool user, PRBool warn);
 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);
 PRBool e_cert_trust_has_any_ca (CERTCertTrust *trust);
 PRBool e_cert_trust_has_peer (CERTCertTrust *trust,
                                PRBool checkSSL,


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