From 87d2a0473da21b1c16baba2680237eb23d56c179 Mon Sep 17 00:00:00 2001 From: Jeffrey Stedfast Date: Mon, 14 May 2001 22:38:28 +0000 Subject: [PATCH] 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. --- camel/ChangeLog | 4 +--- camel/camel-smime-context.c | 2 +- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/camel/ChangeLog b/camel/ChangeLog index c758248..2a87f14 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 9033e45..4b290ee 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); -- 2.7.4