]> Pileus Git - ~andy/fetchmail/commit
Make SSL_verify callback data local.
authorMatthias Andree <matthias.andree@gmx.de>
Thu, 25 Apr 2013 19:29:46 +0000 (21:29 +0200)
committerMatthias Andree <matthias.andree@gmx.de>
Thu, 25 Apr 2013 19:30:09 +0000 (21:30 +0200)
commit9f99b463d27294281c778c9be890499ee1d84799
tree83553adeb4e71acc6cf3ba1aa6775664fa010165
parent83b7ec7fc36f87a2a55bfb973f5ee967b77d8e90
Make SSL_verify callback data local.

Use SSL_set_ex_data() to store a pointer to a local SSL verify state and
config, to avoid global variables.

Call SSL initialization only on first use of SSLOpen().
socket.c