diff options
author | Jeffrey Stedfast <fejj@novell.com> | 2004-08-24 04:41:35 +0800 |
---|---|---|
committer | Jeffrey Stedfast <fejj@src.gnome.org> | 2004-08-24 04:41:35 +0800 |
commit | 00114b3eb81b3c21fd35664f70a5fb961e7f5e2a (patch) | |
tree | c5c196b2a89b4c4018b6799522cc26fb77cf3fed /camel | |
parent | bd95acc7d10736bf7e5f24a7c4c5b9afce683f31 (diff) | |
download | gsoc2013-evolution-00114b3eb81b3c21fd35664f70a5fb961e7f5e2a.tar.gz gsoc2013-evolution-00114b3eb81b3c21fd35664f70a5fb961e7f5e2a.tar.zst gsoc2013-evolution-00114b3eb81b3c21fd35664f70a5fb961e7f5e2a.zip |
Call SSL_CTX_set_default_verify_paths() to initialise the certificate
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.
svn path=/trunk/; revision=27000
Diffstat (limited to 'camel')
-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); |