diff options
| author | 2000-07-21 01:20:29 +0000 | |
|---|---|---|
| committer | 2000-07-21 01:20:29 +0000 | |
| commit | 62c07831819715d05ec1fac2ae9c8302c5879d61 (patch) | |
| tree | 57149588307bbacff908411df6cdf533ede58c42 /usr.sbin/httpd/src/modules/ssl/ssl_engine_pphrase.c | |
| parent | Deal with a bunch of dhcp issues, ok fries@: (diff) | |
| download | wireguard-openbsd-62c07831819715d05ec1fac2ae9c8302c5879d61.tar.xz wireguard-openbsd-62c07831819715d05ec1fac2ae9c8302c5879d61.zip | |
Mod_SSL 2.6.5 - from brad@, thanks.
Diffstat (limited to 'usr.sbin/httpd/src/modules/ssl/ssl_engine_pphrase.c')
| -rw-r--r-- | usr.sbin/httpd/src/modules/ssl/ssl_engine_pphrase.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/usr.sbin/httpd/src/modules/ssl/ssl_engine_pphrase.c b/usr.sbin/httpd/src/modules/ssl/ssl_engine_pphrase.c index dc2927e66b1..234e39bb118 100644 --- a/usr.sbin/httpd/src/modules/ssl/ssl_engine_pphrase.c +++ b/usr.sbin/httpd/src/modules/ssl/ssl_engine_pphrase.c @@ -523,7 +523,10 @@ int ssl_pphrase_Handle_CB(char *buf, int bufsize, int verify) "Init: Requesting pass phrase from dialog filter program (%s)", sc->szPassPhraseDialogPath); - cmd = ap_psprintf(p, "%s %s %s", sc->szPassPhraseDialogPath, cpVHostID, cpAlgoType); + if (strchr(sc->szPassPhraseDialogPath, ' ') != NULL) + cmd = ap_psprintf(p, "\"%s\" %s %s", sc->szPassPhraseDialogPath, cpVHostID, cpAlgoType); + else + cmd = ap_psprintf(p, "%s %s %s", sc->szPassPhraseDialogPath, cpVHostID, cpAlgoType); result = ssl_util_readfilter(s, p, cmd); ap_cpystrn(buf, result, bufsize); len = strlen(buf); |
