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.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/camel/camel-smime-context.c b/camel/camel-smime-context.c
index a11d933b9c..7115c13ad1 100644
--- a/camel/camel-smime-context.c
+++ b/camel/camel-smime-context.c
@@ -34,6 +34,7 @@
#include <cert.h>
#include <certt.h>
#include <certdb.h>
+#include <hasht.h>
#include <keylow.h>
#include <secpkcs7.h>
#include <secmime.h>
@@ -136,7 +137,7 @@ camel_smime_context_new (CamelSession *session)
camel_cipher_context_construct (CAMEL_CIPHER_CONTEXT (context), session);
- handle = CERT_CertGetDefaultCertDBHandle ();
+ handle = CERT_GetDefaultCertDB ();
if (!handle) {
camel_object_unref (CAMEL_OBJECT (context));
return NULL;