diff options
-rw-r--r-- | camel/ChangeLog | 6 | ||||
-rw-r--r-- | camel/camel-tcp-stream-openssl.c | 1 |
2 files changed, 7 insertions, 0 deletions
diff --git a/camel/ChangeLog b/camel/ChangeLog index af7997221c..79ac49748d 100644 --- a/camel/ChangeLog +++ b/camel/ChangeLog @@ -1,3 +1,9 @@ +2004-08-23 Jeffrey Stedfast <fejj@novell.com> + + * camel-tcp-stream-openssl.c (open_ssl_connection): Call + SSL_CTX_set_default_verify_paths() to initialise the certificate + database paths. Thanks to Anton Altaparmakov for this fix. + 2004-08-21 Sivaiah Nallagatla <snallagatla@novell.com> * providers/groupwise/camel-gw-listener.c (account_changed) : diff --git a/camel/camel-tcp-stream-openssl.c b/camel/camel-tcp-stream-openssl.c index c7250a84d1..11ad1e7356 100644 --- a/camel/camel-tcp-stream-openssl.c +++ b/camel/camel-tcp-stream-openssl.c @@ -732,6 +732,7 @@ open_ssl_connection (CamelService *service, int sockfd, CamelTcpStreamSSL *opens ssl_ctx = SSL_CTX_new (SSLv23_client_method ()); g_return_val_if_fail (ssl_ctx != NULL, NULL); + SSL_CTX_set_default_verify_paths (ssl_ctx); SSL_CTX_set_verify (ssl_ctx, SSL_VERIFY_PEER, &ssl_verify); ssl = SSL_new (ssl_ctx); SSL_set_fd (ssl, sockfd); |