aboutsummaryrefslogtreecommitdiffstats
path: root/camel/camel-smime-context.c
diff options
context:
space:
mode:
Diffstat (limited to 'camel/camel-smime-context.c')
-rw-r--r--camel/camel-smime-context.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/camel/camel-smime-context.c b/camel/camel-smime-context.c
index 9033e459dc..4b290ee139 100644
--- a/camel/camel-smime-context.c
+++ b/camel/camel-smime-context.c
@@ -140,7 +140,7 @@ camel_smime_context_new (CamelSession *session, const char *certdb)
camel_cipher_context_construct (CAMEL_CIPHER_CONTEXT (context), session);
- handle = g_new0 (CERTCertDBHandle, 1);
+ handle = CERT_CertGetDefaultCertDBHandle ();
if (certdb) {
if (!CERT_OpenCertDBFilename (handle, (char *) certdb, FALSE)) {
g_free (handle);