Revert 1746645, was sitting in the wrong tree, mea culpa...

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1746646 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
William A. Rowe Jr
2016-06-02 22:30:56 +00:00
parent b47e50890b
commit 84fba19d80
2 changed files with 19 additions and 45 deletions

View File

@ -1189,8 +1189,6 @@ static apr_status_t ssl_io_filter_handshake(ssl_filter_ctx_t *filter_ctx)
}
}
if ((sc->proxy_ssl_check_peer_name != SSL_ENABLED_FALSE) &&
((sc->proxy_ssl_check_peer_cn != SSL_ENABLED_FALSE) ||
(sc->proxy_ssl_check_peer_name == SSL_ENABLED_TRUE)) &&
hostname_note) {
apr_table_unset(c->notes, "proxy-request-hostname");
if (!cert
@ -1202,7 +1200,7 @@ static apr_status_t ssl_io_filter_handshake(ssl_filter_ctx_t *filter_ctx)
"for hostname %s", hostname_note);
}
}
else if ((sc->proxy_ssl_check_peer_cn == SSL_ENABLED_TRUE) &&
else if ((sc->proxy_ssl_check_peer_cn != SSL_ENABLED_FALSE) &&
hostname_note) {
const char *hostname;
int match = 0;