From: Cliff Woolley Date: Thu, 23 Aug 2001 22:37:00 +0000 (+0000) Subject: sc->szPassPhraseDialogPath is now constified, so we have to use X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1e77b358504dea81f17d19c6deb29774a5125dac;p=thirdparty%2Fapache%2Fhttpd.git sc->szPassPhraseDialogPath is now constified, so we have to use ap_strchr_c instead of strchr (which == ap_strchr on my system). Submitted by: Ryan Bloom git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk/modules/ssl@90595 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/ssl_engine_pphrase.c b/ssl_engine_pphrase.c index 76249a4b038..650edc2f88e 100644 --- a/ssl_engine_pphrase.c +++ b/ssl_engine_pphrase.c @@ -532,7 +532,7 @@ int ssl_pphrase_Handle_CB(char *buf, int bufsize, int verify, void *srv) "Init: Requesting pass phrase from dialog filter program (%s)", sc->szPassPhraseDialogPath); - if (strchr(sc->szPassPhraseDialogPath, ' ') != NULL) + if (ap_strchr_c(sc->szPassPhraseDialogPath, ' ') != NULL) cmd = apr_psprintf(p, "\"%s\" %s %s", sc->szPassPhraseDialogPath, cpVHostID, cpAlgoType); else cmd = apr_psprintf(p, "%s %s %s", sc->szPassPhraseDialogPath, cpVHostID, cpAlgoType);