From 4f93316f79874a68e752cbe0c011e2c8d846303b Mon Sep 17 00:00:00 2001 From: Jeffrey Stedfast Date: Mon, 14 May 2001 22:38:28 +0000 Subject: Lots of fixes to get this to compile. 2001-05-14 Jeffrey Stedfast * camel-smime-context.c: Lots of fixes to get this to compile. svn path=/trunk/; revision=9806 --- camel/ChangeLog | 4 +--- camel/camel-smime-context.c | 2 +- 2 files changed, 2 insertions(+), 4 deletions(-) (limited to 'camel') 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 - * 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); -- cgit