]> granicus.if.org Git - apache/commitdiff
fix compiler warning about missing prototype
authorStefan Fritsch <sf@apache.org>
Sun, 10 Apr 2016 20:26:12 +0000 (20:26 +0000)
committerStefan Fritsch <sf@apache.org>
Sun, 10 Apr 2016 20:26:12 +0000 (20:26 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1738461 13f79535-47bb-0310-9956-ffa450edef68

modules/ssl/ssl_engine_init.c

index 446d271426cc19e3e5c47715572cd46de2d14f28..5d0a835ac9d0121743e71bb5f6547203f37a9d56 100644 (file)
@@ -53,7 +53,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)