aboutsummaryrefslogtreecommitdiffstats
path: root/smime/gui/certificate-manager.c
diff options
context:
space:
mode:
Diffstat (limited to 'smime/gui/certificate-manager.c')
-rw-r--r--smime/gui/certificate-manager.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/smime/gui/certificate-manager.c b/smime/gui/certificate-manager.c
index 97d0a1d919..7e4e1b1e1d 100644
--- a/smime/gui/certificate-manager.c
+++ b/smime/gui/certificate-manager.c
@@ -318,13 +318,15 @@ populate_ui (CertificateManagerData *cfm)
EvolutionConfigControl*
certificate_manager_config_control_new (void)
{
- CertificateManagerData *cfm_data = g_new0 (CertificateManagerData, 1);
+ CertificateManagerData *cfm_data;
GtkWidget *control_widget;
/* XXX this should happen someplace else, and shouldn't
reference my default mozilla profile :) */
- NSS_InitReadWrite ("/home/toshok/.mozilla/default/xuvq7jx3.slt");
+ if (SECSuccess != NSS_InitReadWrite ("/home/toshok/.mozilla/default/xuvq7jx3.slt"))
+ return NULL;
+ cfm_data = g_new0 (CertificateManagerData, 1);
cfm_data->gui = glade_xml_new (EVOLUTION_GLADEDIR "/" GLADE_FILE_NAME, NULL, NULL);
cfm_data->yourcerts_treeview = glade_xml_get_widget (cfm_data->gui, "yourcerts-treeview");