diff options
author | Jeffrey Stedfast <fejj@ximian.com> | 2001-05-22 06:53:15 +0800 |
---|---|---|
committer | Jeffrey Stedfast <fejj@src.gnome.org> | 2001-05-22 06:53:15 +0800 |
commit | cb92bb76a6b0b8001393600fc4dbfe65b807e624 (patch) | |
tree | 58acdc7eb659589cbe42fc46648ef33b72405677 /camel/camel-tcp-stream-openssl.c | |
parent | ffcb9b625c4f5e4191cb465df865f841171eec12 (diff) | |
download | gsoc2013-evolution-cb92bb76a6b0b8001393600fc4dbfe65b807e624.tar.gz gsoc2013-evolution-cb92bb76a6b0b8001393600fc4dbfe65b807e624.tar.zst gsoc2013-evolution-cb92bb76a6b0b8001393600fc4dbfe65b807e624.zip |
Store the CamelFolderInfo tree that was returned from
2001-05-21 Jeffrey Stedfast <fejj@ximian.com>
* providers/imap/camel-imap-store.c (get_folder_info_online):
Store the CamelFolderInfo tree that was returned from
camel_folder_info_build() in a new variable, 'tree', rather than
'fi' since we later use 'fi' when syncing folders. Not only does
this fix a memory leak, but it also fixes the bug where the user
would only see the last folder in the folder list and/or it's
subfolders.
svn path=/trunk/; revision=9911
Diffstat (limited to 'camel/camel-tcp-stream-openssl.c')
-rw-r--r-- | camel/camel-tcp-stream-openssl.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/camel/camel-tcp-stream-openssl.c b/camel/camel-tcp-stream-openssl.c index 0312e65b44..214269a433 100644 --- a/camel/camel-tcp-stream-openssl.c +++ b/camel/camel-tcp-stream-openssl.c @@ -445,6 +445,8 @@ open_ssl_connection (CamelService *service, int sockfd) /* SSLv23_client_method will negotiate with SSL v2, v3, or TLS v1 */ ssl_ctx = SSL_CTX_new (SSLv23_client_method ()); + g_return_val_if_fail (ssl_ctx != NULL, NULL); + SSL_CTX_set_verify (ssl_ctx, SSL_VERIFY_PEER, &ssl_verify); ssl = SSL_new (ssl_ctx); SSL_set_fd (ssl, sockfd); |