aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2013-09-25 09:11:37 +0800
committerMatthew Barnes <mbarnes@redhat.com>2013-09-25 10:02:32 +0800
commit90915389f4a6d804e8e0dedce9e05f42e43d8a7a (patch)
treebc53520d16df5fa7451cc7b375d607452a23ee49
parent84a51cff1c739710e55514ad52528587794466d2 (diff)
downloadgsoc2013-evolution-90915389f4a6d804e8e0dedce9e05f42e43d8a7a.tar.gz
gsoc2013-evolution-90915389f4a6d804e8e0dedce9e05f42e43d8a7a.tar.zst
gsoc2013-evolution-90915389f4a6d804e8e0dedce9e05f42e43d8a7a.zip
Remove unused e_cert_trust_copy().
-rw-r--r--smime/lib/e-cert-trust.c10
-rw-r--r--smime/lib/e-cert-trust.h1
2 files changed, 0 insertions, 11 deletions
diff --git a/smime/lib/e-cert-trust.c b/smime/lib/e-cert-trust.c
index e99c5c4047..7bc1bda6f7 100644
--- a/smime/lib/e-cert-trust.c
+++ b/smime/lib/e-cert-trust.c
@@ -64,16 +64,6 @@ e_cert_trust_init_with_values (CERTCertTrust *trust,
}
void
-e_cert_trust_copy (CERTCertTrust *trust,
- CERTCertTrust *t)
-{
- if (t)
- memcpy (trust, t, sizeof (CERTCertTrust));
- else
- memset (trust, 0, sizeof (CERTCertTrust));
-}
-
-void
e_cert_trust_add_ca_trust (CERTCertTrust *trust,
PRBool ssl,
PRBool email,
diff --git a/smime/lib/e-cert-trust.h b/smime/lib/e-cert-trust.h
index 71608f8415..8d0229064a 100644
--- a/smime/lib/e-cert-trust.h
+++ b/smime/lib/e-cert-trust.h
@@ -35,7 +35,6 @@ void e_cert_trust_init_with_values (CERTCertTrust *trust,
guint ssl,
guint email,
guint objsign);
-void e_cert_trust_copy (CERTCertTrust *dst_trust, CERTCertTrust *src_trust);
void e_cert_trust_add_ca_trust (CERTCertTrust *trust, PRBool ssl, PRBool email, PRBool objSign);
void e_cert_trust_add_peer_trust (CERTCertTrust *trust, PRBool ssl, PRBool email, PRBool objSign);
void e_cert_trust_set_ssl_trust (CERTCertTrust *trust,