]> git.ipfire.org Git - thirdparty/squid.git/commit
Fixed build and Ssl::BIO_new_SBuf() broken/added by 5107d2c (#53)
authorAlex Rousskov <rousskov@measurement-factory.com>
Tue, 29 Aug 2017 17:35:44 +0000 (11:35 -0600)
committerGitHub <noreply@github.com>
Tue, 29 Aug 2017 17:35:44 +0000 (11:35 -0600)
commit64e6422528551228d71b4088e2f24caf343060ce
tree5d45a8fc5a97ed447f45cf8f6d7705a15cf065e0
parenta96ea176a6f1f7908622eacded50163108c3355b
Fixed build and Ssl::BIO_new_SBuf() broken/added by 5107d2c (#53)

Fixed BIO_new_SBuf() compilation with OpenSSL v1.1 (and others that
HAVE_LIBCRYPTO_BIO_METH_NEW).

Do not leak the BIO object allocated in Ssl::InRamCertificateDbKey().

Throw instead of returning nil from Ssl::BIO_new_SBuf().

Polished BIO_new_SBuf() description to better reflect reality.
src/ssl/support.cc
src/ssl/support.h