]> granicus.if.org Git - apache/commitdiff
sc->szPassPhraseDialogPath is now constified, so we have to use
authorCliff Woolley <jwoolley@apache.org>
Thu, 23 Aug 2001 22:37:00 +0000 (22:37 +0000)
committerCliff Woolley <jwoolley@apache.org>
Thu, 23 Aug 2001 22:37:00 +0000 (22:37 +0000)
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

modules/ssl/ssl_engine_pphrase.c

index 76249a4b038df49d90b40445972da589d59cd81f..650edc2f88e3958def6c6ef3674a2439103bc846 100644 (file)
@@ -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);