]> Pileus Git - ~andy/fetchmail/commit
Clear SSL_OP_DONT_INSERT_EMPTY_FRAGMENTS without SSL_CTX_clear_options()
authorEarl Chew <earl_chew@yahoo.com>
Mon, 3 Sep 2012 21:04:08 +0000 (23:04 +0200)
committerMatthias Andree <matthias.andree@gmx.de>
Mon, 3 Sep 2012 21:04:08 +0000 (23:04 +0200)
commita2f52629d0dce57bf1a0c290b33cff9706087918
treeba22b304efb096e12fc3aa462eec37b5b637ff03
parent43515cd32a275ed67e5b85fdf42429deda4bd5be
Clear SSL_OP_DONT_INSERT_EMPTY_FRAGMENTS without SSL_CTX_clear_options()

A patch to clear SSL_OP_DONT_INSERT_EMPTY_FRAGMENTS was added recently:

  http://gitorious.org/fetchmail/fetchmail/commit/48809c5b9f6c9081f4031fa938dd63b060c18a4b?format=patch

Older implementations of OpenSSL do not support SSL_CTX_clear_options().

This patch reworks the previous change to avoid the use of
SL_CTX_clear_options() and instead clears the corresponding bit in
SSL_OP_ALL before calling SSL_CTX_set_options().
socket.c