aboutsummaryrefslogtreecommitdiffstats
path: root/smime/gui/cert-trust-dialog.c
diff options
context:
space:
mode:
authorDavid Woodhouse <David.Woodhouse@intel.com>2010-09-14 03:58:33 +0800
committerDavid Woodhouse <David.Woodhouse@intel.com>2010-09-14 04:02:57 +0800
commit75d1c75617ccd515ca1ebee44dd47204e76f36e1 (patch)
treeefec1ee2fbf37a403975d9fce838a9141313f4db /smime/gui/cert-trust-dialog.c
parent515ad2e6901a913a500ef77a2f4a0cd70135dff0 (diff)
downloadgsoc2013-evolution-75d1c75617ccd515ca1ebee44dd47204e76f36e1.tar
gsoc2013-evolution-75d1c75617ccd515ca1ebee44dd47204e76f36e1.tar.gz
gsoc2013-evolution-75d1c75617ccd515ca1ebee44dd47204e76f36e1.tar.bz2
gsoc2013-evolution-75d1c75617ccd515ca1ebee44dd47204e76f36e1.tar.lz
gsoc2013-evolution-75d1c75617ccd515ca1ebee44dd47204e76f36e1.tar.xz
gsoc2013-evolution-75d1c75617ccd515ca1ebee44dd47204e76f36e1.tar.zst
gsoc2013-evolution-75d1c75617ccd515ca1ebee44dd47204e76f36e1.zip
Bug 626066 - log in to NSS database on demand for changing trust
Diffstat (limited to 'smime/gui/cert-trust-dialog.c')
-rw-r--r--smime/gui/cert-trust-dialog.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/smime/gui/cert-trust-dialog.c b/smime/gui/cert-trust-dialog.c
index cfd8ce464f..4f13ff2b74 100644
--- a/smime/gui/cert-trust-dialog.c
+++ b/smime/gui/cert-trust-dialog.c
@@ -73,7 +73,7 @@ ctd_response (GtkWidget *w, guint id, CertTrustDialogData *data)
e_cert_trust_add_peer_trust (&trust, FALSE,
gtk_toggle_button_get_active (GTK_TOGGLE_BUTTON (data->trust_button)),
FALSE);
- CERT_ChangeCertTrust (CERT_GetDefaultCertDB (), icert, &trust);
+ e_cert_db_change_cert_trust (icert, &trust);
break;
case GTK_RESPONSE_ACCEPT: {
/* just *what on earth* was chris thinking here!?!?! copied from certificate-manager.c */
@@ -101,7 +101,7 @@ ctd_response (GtkWidget *w, guint id, CertTrustDialogData *data)
trust_email,
trust_objsign);
- CERT_ChangeCertTrust (CERT_GetDefaultCertDB (), icert, &trust);
+ e_cert_db_change_cert_trust (icert, &trust);
}
gtk_widget_destroy (dialog);