From 416d8fa6cd84e6b25886c1c2fcbf2b0dbce58b7f Mon Sep 17 00:00:00 2001 From: Jeffrey Stedfast Date: Mon, 7 May 2001 20:33:25 +0000 Subject: Add support for using OpenSSL. 2001-05-04 Jeffrey Stedfast * providers/smtp/camel-smtp-transport.c (connect_to_server): Add support for using OpenSSL. * camel-remote-store.c (remote_connect): Add support for using the OpenSSL implementation. * camel-tcp-stream-ssl.c (ssl_bad_cert): Hmmmm, don't pass in a NULL as the last argument to alert_user - prototype doesn't take that argument anymore? * camel-tcp-stream-openssl.c (camel_tcp_stream_openssl_finalize): (ssl_verify): Use a global hash table to try and lookup the CamelTcpStreamOpenSSL object given the ssl context since OpenSSL doesn't think one needs to pass data around, we should all be living in a world of global variables, duh! svn path=/trunk/; revision=9697 --- camel/camel-tcp-stream-openssl.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'camel/camel-tcp-stream-openssl.h') diff --git a/camel/camel-tcp-stream-openssl.h b/camel/camel-tcp-stream-openssl.h index 0103332c3f..6eab9465a4 100644 --- a/camel/camel-tcp-stream-openssl.h +++ b/camel/camel-tcp-stream-openssl.h @@ -55,7 +55,7 @@ typedef struct { CamelType camel_tcp_stream_openssl_get_type (void); /* public methods */ -CamelStream *camel_tcp_stream_openssl_new (void); +CamelStream *camel_tcp_stream_openssl_new (CamelService *service, const char *expected_host); #ifdef __cplusplus } -- cgit v1.2.3