OpenSSL without support for SSLv2.
PR 55194.
Followup to r1497466. Does not apply to trunk or 2.4.x.
Proposed by: rjung
Reviewed by: covener, trawick
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.2.x@
1500108 13f79535-47bb-0310-9956-
ffa450edef68
-*- coding: utf-8 -*-
Changes with Apache 2.2.26
-
+ *) mod_ssl: Fix compilation error when OpenSSL does not contain
+ support for SSLv2. Problem was introduced in 2.2.25. PR 55194.
+ [Rainer Jung]
Changes with Apache 2.2.25
RELEASE SHOWSTOPPERS:
- * mod_ssl: Fix "SNI for backend" when compiled against OpenSSL without
- support for SSLv2. Followup to r1497466. PR 55194.
- trunk patch: Does not apply to trunk
- 2.4.x patch: Does not apply to 2.4
- 2.2.x patch: http://people.apache.org/~rjung/patches/sni-backend-fix-r1497466-2_2.patch
- +1: rjung, covener, trawick
PATCHES ACCEPTED TO BACKPORT FROM TRUNK:
[ start all new proposals below, under PATCHES PROPOSED. ]
* IPv4 and IPv6 addresses are not permitted".)
*/
if (hostname_note &&
+#ifndef OPENSSL_NO_SSL2
sc->proxy->protocol != SSL_PROTOCOL_SSLV2 &&
+#endif
sc->proxy->protocol != SSL_PROTOCOL_SSLV3 &&
apr_ipsubnet_create(&ip, hostname_note, NULL,
c->pool) != APR_SUCCESS) {