Noticed that that patch might break some compilers (like MSVCC6), here
is a better patch. Sorry for this!
/HH
Index: ne_openssl.c
===================================================================
--- ne_openssl.c (revision 1222)
+++ ne_openssl.c (working copy)
@@ -715,7 +715,12 @@
void ne_ssl_context_trustcert(ne_ssl_context *ctx, const
ne_ssl_certificate *cert)
{
- X509_STORE *store = SSL_CTX_get_cert_store(ctx->ctx);
+ X509_STORE *store;
+
+ if (ctx == NULL)
+ return;
+
+ store = SSL_CTX_get_cert_store(ctx->ctx);
X509_STORE_add_cert(store, cert->subject);
}
_______________________________________________
neon mailing list
[email protected]
http://mailman.webdav.org/mailman/listinfo/neon