summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Elkins <me@sigpipe.org>2010-08-06 10:05:43 -0700
committerMichael Elkins <me@sigpipe.org>2010-08-06 10:05:43 -0700
commit299de0b3590c0a3bfecec9338bfb02e3117304fd (patch)
treebd9d70f6e514a344d11876afee3dfdd5d95a046f
parentd9f784c11e9c7666275e874050fc74a5dfb15a11 (diff)
fix compiler warning about wrong type for SslSessionCerts
-rw-r--r--mutt_ssl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mutt_ssl.c b/mutt_ssl.c
index 92442267..0fea843d 100644
--- a/mutt_ssl.c
+++ b/mutt_ssl.c
@@ -817,7 +817,7 @@ static int ssl_cache_trusted_cert (X509 *c)
{
dprint (1, (debugfile, "trusted: %s\n", c->name));
if (!SslSessionCerts)
- SslSessionCerts = sk_new_null();
+ SslSessionCerts = sk_X509_new_null();
return (sk_X509_push (SslSessionCerts, X509_dup(c)));
}