aboutsummaryrefslogtreecommitdiffstats
path: root/smime/lib
diff options
context:
space:
mode:
authorMilan Crha <mcrha@redhat.com>2012-11-06 23:20:46 +0800
committerMilan Crha <mcrha@redhat.com>2012-11-06 23:21:37 +0800
commit704b78d23bf8d707707411608a3453250f2637a1 (patch)
tree6bea89936534973c9b467503d198245f5035bc77 /smime/lib
parentb6fddaaa0efb8013c526f00926830b9cdcbe0d60 (diff)
downloadgsoc2013-evolution-704b78d23bf8d707707411608a3453250f2637a1.tar.gz
gsoc2013-evolution-704b78d23bf8d707707411608a3453250f2637a1.tar.zst
gsoc2013-evolution-704b78d23bf8d707707411608a3453250f2637a1.zip
Replace deprecated GLib symbols (as of GLib 2.34.x)
Diffstat (limited to 'smime/lib')
-rw-r--r--smime/lib/e-cert-trust.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/smime/lib/e-cert-trust.c b/smime/lib/e-cert-trust.c
index a23e0a7083..e99c5c4047 100644
--- a/smime/lib/e-cert-trust.c
+++ b/smime/lib/e-cert-trust.c
@@ -127,7 +127,7 @@ e_cert_trust_set_ssl_trust (CERTCertTrust *trust,
{
trust->sslFlags = 0;
if (peer || tPeer)
- e_cert_trust_add_trust (&trust->sslFlags, CERTDB_VALID_PEER);
+ e_cert_trust_add_trust (&trust->sslFlags, CERTDB_TERMINAL_RECORD);
if (tPeer)
e_cert_trust_add_trust (&trust->sslFlags, CERTDB_TRUSTED);
if (ca || tCA)
@@ -154,7 +154,7 @@ e_cert_trust_set_email_trust (CERTCertTrust *trust,
{
trust->emailFlags = 0;
if (peer || tPeer)
- e_cert_trust_add_trust (&trust->emailFlags, CERTDB_VALID_PEER);
+ e_cert_trust_add_trust (&trust->emailFlags, CERTDB_TERMINAL_RECORD);
if (tPeer)
e_cert_trust_add_trust (&trust->emailFlags, CERTDB_TRUSTED);
if (ca || tCA)
@@ -183,7 +183,7 @@ e_cert_trust_set_objsign_trust (CERTCertTrust *trust,
if (peer || tPeer)
e_cert_trust_add_trust (
&trust->objectSigningFlags,
- CERTDB_VALID_PEER);
+ CERTDB_TERMINAL_RECORD);
if (tPeer)
e_cert_trust_add_trust (
&trust->objectSigningFlags,
@@ -361,15 +361,15 @@ e_cert_trust_has_peer (CERTCertTrust *trust,
PRBool checkObjSign)
{
if (checkSSL && !e_cert_trust_has_trust (
- trust->sslFlags, CERTDB_VALID_PEER))
+ trust->sslFlags, CERTDB_TERMINAL_RECORD))
return PR_FALSE;
if (checkEmail && !e_cert_trust_has_trust (
- trust->emailFlags, CERTDB_VALID_PEER))
+ trust->emailFlags, CERTDB_TERMINAL_RECORD))
return PR_FALSE;
if (checkObjSign && !e_cert_trust_has_trust (
- trust->objectSigningFlags, CERTDB_VALID_PEER))
+ trust->objectSigningFlags, CERTDB_TERMINAL_RECORD))
return PR_FALSE;
return PR_TRUE;