]> granicus.if.org Git - apache/commit
Merge r1576741 from trunk:
authorJim Jagielski <jim@apache.org>
Thu, 13 Mar 2014 12:39:33 +0000 (12:39 +0000)
committerJim Jagielski <jim@apache.org>
Thu, 13 Mar 2014 12:39:33 +0000 (12:39 +0000)
commit5f15191cfa048af5b2fd486a4198ecef4423f84c
tree44a18ac8ea44c9b8684ec9f1b857528be4be6858
parent7f8e501aa9423aed81fe8b54df86eec09097ff51
Merge r1576741 from trunk:

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.

Submitted by: drh
Reviewed/backported by: jim

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