1
0
mirror of https://github.com/apache/httpd.git synced 2025-08-08 15:02:10 +03:00

Fix #cpp bug in prior commit, follow up to r1783317.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1783318 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
William A. Rowe Jr
2017-02-16 22:30:50 +00:00
parent 915c1b7087
commit 5004e381b2

View File

@@ -1326,7 +1326,7 @@ static apr_status_t ssl_init_server_certs(server_rec *s,
*/
#if (OPENSSL_VERSION_NUMBER < 0x10100000L)
else {
#elif defined(SSL_CTX_set_ecdh_auto)
#if defined(SSL_CTX_set_ecdh_auto)
SSL_CTX_set_ecdh_auto(mctx->ssl_ctx, 1);
#else
eckey = EC_KEY_new_by_curve_name(NID_X9_62_prime256v1);