diff options
author | Chris Toshok <toshok@ximian.com> | 2001-07-06 03:11:50 +0800 |
---|---|---|
committer | Chris Toshok <toshok@src.gnome.org> | 2001-07-06 03:11:50 +0800 |
commit | 1421494ea6e96090d26597703022254ebead1ec8 (patch) | |
tree | 7b4855bbc46dd24e010a1c4eb2b5f25f52f64c1b /camel/ChangeLog | |
parent | f639972a2bc2e78eec1bb1b6f6630c0e70c7c19f (diff) | |
download | gsoc2013-evolution-1421494ea6e96090d26597703022254ebead1ec8.tar.gz gsoc2013-evolution-1421494ea6e96090d26597703022254ebead1ec8.tar.zst gsoc2013-evolution-1421494ea6e96090d26597703022254ebead1ec8.zip |
use X509_STORE_CTX_get_ex_data to get at the SSL* - don't use the
2001-07-05 Chris Toshok <toshok@ximian.com>
* camel-tcp-stream-openssl.c (ssl_verify): use
X509_STORE_CTX_get_ex_data to get at the SSL* - don't use the
X509_STORE_CTX to look up our stream, since it's not what we used
to insert our stream into the hashtable.
(open_ssl_connection): insert the stream into the hashtable before
calling SSL_connect, as this can cause ssl_verify to be called,
and we need to look up the stream there. remove the stream from
the hashtable if there's an error connecting.
(stream_connect): pass the CamelTcpStreamOpenSSL* to
open_ssl_connection since it handles the hashtable stuff. remove
hashtable stuff from here.
svn path=/trunk/; revision=10819
Diffstat (limited to 'camel/ChangeLog')
-rw-r--r-- | camel/ChangeLog | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/camel/ChangeLog b/camel/ChangeLog index a55a98b336..7481dcaa39 100644 --- a/camel/ChangeLog +++ b/camel/ChangeLog @@ -1,3 +1,17 @@ +2001-07-05 Chris Toshok <toshok@ximian.com> + + * camel-tcp-stream-openssl.c (ssl_verify): use + X509_STORE_CTX_get_ex_data to get at the SSL* - don't use the + X509_STORE_CTX to look up our stream, since it's not what we used + to insert our stream into the hashtable. + (open_ssl_connection): insert the stream into the hashtable before + calling SSL_connect, as this can cause ssl_verify to be called, + and we need to look up the stream there. remove the stream from + the hashtable if there's an error connecting. + (stream_connect): pass the CamelTcpStreamOpenSSL* to + open_ssl_connection since it handles the hashtable stuff. remove + hashtable stuff from here. + 2001-07-05 Jeffrey Stedfast <fejj@ximian.com> * camel-folder.c (camel_folder_copy_messages_to): if source == |