]> granicus.if.org Git - apache/commit
A bug in some older versions of OpenSSL will cause a crash
authorStephen Henson <drh@apache.org>
Wed, 12 Mar 2014 13:52:26 +0000 (13:52 +0000)
committerStephen Henson <drh@apache.org>
Wed, 12 Mar 2014 13:52:26 +0000 (13:52 +0000)
commit72889d15f86f91948abe9081a3fc21573c451b96
treee3fd2d9033a2fc2969e237f1dcdc3afe289db1be
parentcf78476ac32b4d791400d11d7aa982fef1f2ef57
A bug in some older versions of OpenSSL will cause a crash
in SSL_get_certificate for servers where the certificate hasn't
been sent.

Workaround by setting the ssl structure to client mode which
bypasses the faulty code in OpenSSL. Normally setting a server
ssl structure to client mode would cause problems later on:
but we are freeing the structure immediately without attempting
to use it.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1576741 13f79535-47bb-0310-9956-ffa450edef68
modules/ssl/ssl_engine_init.c