From: Ryan Bloom Date: Tue, 7 Aug 2001 16:19:03 +0000 (+0000) Subject: Remove all warnings from the input filtering stack. X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ce327dda3b8526ad16577f1848ef035eefd4d31e;p=thirdparty%2Fapache%2Fhttpd.git Remove all warnings from the input filtering stack. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk/modules/ssl@89987 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/ssl_engine_config.c b/ssl_engine_config.c index e479561962e..60ec0dcb643 100644 --- a/ssl_engine_config.c +++ b/ssl_engine_config.c @@ -664,7 +664,7 @@ const char *ssl_cmd_SSLSessionCache( return "SSLSessionCache: shared memory cache not useable on this platform"; #endif mc->nSessionCacheMode = SSL_SCMODE_SHMHT; - cp = strchr(arg, ':'); + cp = ap_strchr_c(arg, ':'); mc->szSessionCacheDataFile = (char *)apr_pstrdup(mc->pPool, ap_server_root_relative(cmd->pool, cp+1)); mc->tSessionCacheDataTable = NULL; diff --git a/ssl_engine_dh.c b/ssl_engine_dh.c index 35689dd6e0a..5e8e09d1c68 100644 --- a/ssl_engine_dh.c +++ b/ssl_engine_dh.c @@ -101,7 +101,7 @@ static unsigned char dh512_g[] = 0x02, }; -static DH *get_dh512() +static DH *get_dh512(void) { DH *dh; @@ -132,7 +132,7 @@ static unsigned char dh1024_g[] = 0x02, }; -static DH *get_dh1024() +static DH *get_dh1024(void) { DH *dh;