From 7edad05212e8d3f5def44cbc6dee533778fd58d6 Mon Sep 17 00:00:00 2001 From: Jeffrey Stedfast Date: Thu, 26 Apr 2001 20:09:28 +0000 Subject: #include "nss.h" rather than due to the non-mozilla nss.h file living in /usr/include svn path=/trunk/; revision=9592 --- camel/camel-smime-context.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/camel/camel-smime-context.c b/camel/camel-smime-context.c index 703a29b81c..1f0f81e86c 100644 --- a/camel/camel-smime-context.c +++ b/camel/camel-smime-context.c @@ -29,7 +29,7 @@ #include "camel-stream-fs.h" #include "camel-stream-mem.h" -#include +#include "nss.h" #include #include #include @@ -114,7 +114,7 @@ camel_smime_context_get_type (void) /** * camel_smime_context_new: * @session: CamelSession - * @certdb: certificate db + * @certdb: certificate db path or NULL to create a volatile temp db * * This creates a new CamelSMimeContext object which is used to sign, * verify, encrypt and decrypt streams. @@ -128,6 +128,7 @@ camel_smime_context_new (CamelSession *session, const char *certdb) CERTCertDBHandle *handle; g_return_val_if_fail (session != NULL, NULL); + g_return_val_if_fail (CAMEL_IS_SESSION (session), NULL); context = CAMEL_SMIME_CONTEXT (camel_object_new (CAMEL_SMIME_CONTEXT_TYPE)); -- cgit v1.2.3