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-Tag: 2.0.25~110 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=eec989f888f8d0fd4d1b8f567f747be247f847c9;p=apache 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@90595 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/modules/ssl/ssl_engine_pphrase.c b/modules/ssl/ssl_engine_pphrase.c index 76249a4b03..650edc2f88 100644 --- a/modules/ssl/ssl_engine_pphrase.c +++ b/modules/ssl/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);