]> 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:09:06 +0000 (20:09 +0000)
committerRainer Jung <rjung@apache.org>
Wed, 10 Aug 2016 20:09:06 +0000 (20:09 +0000)
- fix copy&paste typos
  (wrong version number in "#if").

Backport r1729998 from trunk.

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

modules/ssl/ssl_engine_kernel.c
modules/ssl/ssl_private.h

index 37a769eb6c37249aca415d60cb2323c7ce26f425..3bfd98224b0885e868c6ccc5b4b9aa87df7c86df 100644 (file)
@@ -2150,7 +2150,7 @@ void ssl_callback_Info(const SSL *ssl, int where, int rc)
         }
 #endif
     }
-#if OPENSSL_VERSION_NUMBER >= 0x10000000L
+#if OPENSSL_VERSION_NUMBER >= 0x10100000L
     else if ((where & SSL_CB_HANDSHAKE_START) && scr->reneg_state == RENEG_ALLOW) {
         scr->reneg_state = RENEG_STARTED;
     }
index 40dd4e84a1db4b428182e87135a6ffafa055028d..decda3784856c0474b2f0b668fe93b007c64947f 100644 (file)
@@ -460,7 +460,7 @@ typedef struct {
                          * renegotiation should be rejected */
         RENEG_ALLOW,    /* A server-initiated renegotiation is taking
                          * place (as dictated by configuration) */
-#if OPENSSL_VERSION_NUMBER >= 0x10000000L
+#if OPENSSL_VERSION_NUMBER >= 0x10100000L
         RENEG_STARTED,  /* A renegotiation has started after RENEG_ALLOW */
         RENEG_DONE,     /* A renegotiation has finished after RENEG_STARTED */
         RENEG_ALERT,    /* A renegotiation has finished with an SSL Alert */