]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
Support for OpenSSL 1.1.0:
authorRainer Jung <rjung@apache.org>
Wed, 10 Aug 2016 20:12:49 +0000 (20:12 +0000)
committerRainer Jung <rjung@apache.org>
Wed, 10 Aug 2016 20:12:49 +0000 (20:12 +0000)
- Fix typo in loop end condition

This code will be removed next. Thex fix is
for the case we want to roll teh code back
to this state.

Backport of r1730314 from trunk.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x-openssl-1.1.0-compat@1755837 13f79535-47bb-0310-9956-ffa450edef68

modules/ssl/ssl_engine_kernel.c

index a0c735f52863ed4fac48d80f44c864bbb97cba11..e58f79829a68216ee093b63d0020ed8ff0110894 100644 (file)
@@ -1043,7 +1043,7 @@ int ssl_hook_Access(request_rec *r)
                 has_buffered_data(r);
                 if (sslconn->ssl == NULL ||
                     sslconn->reneg_state == RENEG_DONE ||
-                    sslconn->reneg_state == RENEG_ALLOW) {
+                    sslconn->reneg_state == RENEG_ALERT) {
                     break;
                 }
                 apr_sleep(SSL_HANDSHAKE_POLL_MS);