]> granicus.if.org Git - apache/commitdiff
Thanks to RĂ¼diger, Yann and Jacob for catches and verification
authorWilliam A. Rowe Jr <wrowe@apache.org>
Fri, 17 Feb 2017 17:39:59 +0000 (17:39 +0000)
committerWilliam A. Rowe Jr <wrowe@apache.org>
Fri, 17 Feb 2017 17:39:59 +0000 (17:39 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1783438 13f79535-47bb-0310-9956-ffa450edef68

modules/ssl/ssl_engine_init.c

index d6248c5b06018103c7c77bdbd5f9e7b76c5b8e3a..1cdc8981b18d6671f7dc1e612f7d5fc5c0070037 100644 (file)
@@ -1322,7 +1322,7 @@ static apr_status_t ssl_init_server_certs(server_rec *s,
     /*
      * ...otherwise, enable auto curve selection (OpenSSL 1.0.2)
      * or configure NIST P-256 (required to enable ECDHE for earlier versions)
-     * ECDH is always enabled in 1.0.2 unless excluded from SSLCipherList
+     * ECDH is always enabled in 1.1.0 unless excluded from SSLCipherList
      */
 #if (OPENSSL_VERSION_NUMBER < 0x10100000L)
     else {
@@ -1334,6 +1334,7 @@ static apr_status_t ssl_init_server_certs(server_rec *s,
 #endif
     }
 #endif
+    /* OpenSSL assures us that _free() is NULL-safe */
     EC_KEY_free(eckey);
     EC_GROUP_free(ecparams);
 #endif