From ae9d99bda30e7a5fd2347fe00daf0f85e8c408e3 Mon Sep 17 00:00:00 2001 From: Jeffrey Stedfast Date: Wed, 16 May 2001 21:23:20 +0000 Subject: We don't need to be passed the certdb path anymore. 2001-05-16 Jeffrey Stedfast * camel-smime-context.c (camel_smime_context_new): We don't need to be passed the certdb path anymore. svn path=/trunk/; revision=9855 --- camel/camel-smime-context.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'camel/camel-smime-context.c') diff --git a/camel/camel-smime-context.c b/camel/camel-smime-context.c index 8fa1a6cec3..a11d933b9c 100644 --- a/camel/camel-smime-context.c +++ b/camel/camel-smime-context.c @@ -117,7 +117,6 @@ camel_smime_context_get_type (void) /** * camel_smime_context_new: * @session: CamelSession - * @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. @@ -125,7 +124,7 @@ camel_smime_context_get_type (void) * Return value: the new CamelSMimeContext **/ CamelSMimeContext * -camel_smime_context_new (CamelSession *session, const char *certdb) +camel_smime_context_new (CamelSession *session) { CamelSMimeContext *context; CERTCertDBHandle *handle; @@ -138,7 +137,7 @@ camel_smime_context_new (CamelSession *session, const char *certdb) camel_cipher_context_construct (CAMEL_CIPHER_CONTEXT (context), session); handle = CERT_CertGetDefaultCertDBHandle (); - if (!certdb) { + if (!handle) { camel_object_unref (CAMEL_OBJECT (context)); return NULL; } -- cgit