]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
fix compiler warning about missing prototype
authorRainer Jung <rjung@apache.org>
Wed, 10 Aug 2016 21:12:29 +0000 (21:12 +0000)
committerRainer Jung <rjung@apache.org>
Wed, 10 Aug 2016 21:12:29 +0000 (21:12 +0000)
Backport of r1738461 from trunk.

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

modules/ssl/ssl_engine_init.c

index 6b09f8dd1340dadaaf54b1e8fd86b3974ce62999..d624d0633fd3b284187ce7715f298212e00e11ad 100644 (file)
@@ -50,7 +50,7 @@ APR_IMPLEMENT_OPTIONAL_HOOK_RUN_ALL(ssl, SSL, int, init_server,
 #if OPENSSL_VERSION_NUMBER < 0x10100000L
 /* OpenSSL Pre-1.1.0 compatibility */
 /* Taken from OpenSSL 1.1.0 snapshot 20160410 */
-int DH_set0_pqg(DH *dh, BIGNUM *p, BIGNUM *q, BIGNUM *g)
+static int DH_set0_pqg(DH *dh, BIGNUM *p, BIGNUM *q, BIGNUM *g)
 {
     /* q is optional */
     if (p == NULL || g == NULL)