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 /tools | |
parent | f639972a2bc2e78eec1bb1b6f6630c0e70c7c19f (diff) | |
download | gsoc2013-evolution-1421494ea6e96090d26597703022254ebead1ec8.tar gsoc2013-evolution-1421494ea6e96090d26597703022254ebead1ec8.tar.gz gsoc2013-evolution-1421494ea6e96090d26597703022254ebead1ec8.tar.bz2 gsoc2013-evolution-1421494ea6e96090d26597703022254ebead1ec8.tar.lz gsoc2013-evolution-1421494ea6e96090d26597703022254ebead1ec8.tar.xz 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 'tools')
0 files changed, 0 insertions, 0 deletions