diff options
-rw-r--r-- | camel/ChangeLog | 4 | ||||
-rw-r--r-- | camel/camel-smime-context.c | 2 |
2 files changed, 2 insertions, 4 deletions
diff --git a/camel/ChangeLog b/camel/ChangeLog index c75824811d..2a87f14288 100644 --- a/camel/ChangeLog +++ b/camel/ChangeLog @@ -1,8 +1,6 @@ 2001-05-14 Jeffrey Stedfast <fejj@ximian.com> - * camel-smime-context.c: Lots of fixes to get this to almost - compile. Still struggling with the fact that CERTCertDBHandle is - an "incomplete type". *sigh*. + * camel-smime-context.c: Lots of fixes to get this to compile. * camel-smime.c (camel_smime_part_verify): Updated to pass in a hash argument to camel_smime_verify(). 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); |