From: Stefan Fritsch Date: Sun, 10 Apr 2016 20:26:12 +0000 (+0000) Subject: fix compiler warning about missing prototype X-Git-Tag: 2.5.0-alpha~1765 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=57230dc7f010cbab87b8945d3a9b3d2eb5ebbc89;p=apache fix compiler warning about missing prototype git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1738461 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/modules/ssl/ssl_engine_init.c b/modules/ssl/ssl_engine_init.c index 446d271426..5d0a835ac9 100644 --- a/modules/ssl/ssl_engine_init.c +++ b/modules/ssl/ssl_engine_init.c @@ -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)