diff options
author | Paul J. Reder <rederpj@apache.org> | 2002-05-01 21:28:52 +0200 |
---|---|---|
committer | Paul J. Reder <rederpj@apache.org> | 2002-05-01 21:28:52 +0200 |
commit | 4a243a466e804b178c4abf7d12c5e81efd21d39a (patch) | |
tree | 6de6d46c6dfd5fd446a7722d988b15cdc2e11fe2 /modules/ssl | |
parent | wait for worker threads to exit even in graceless termination (diff) | |
download | apache2-4a243a466e804b178c4abf7d12c5e81efd21d39a.tar.xz apache2-4a243a466e804b178c4abf7d12c5e81efd21d39a.zip |
Fix a case where an invalid pass phrase is entered and an
error message is given, but the prompt is not shown again.
This left the user in an ambiguous state.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94896 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'modules/ssl')
-rw-r--r-- | modules/ssl/ssl_engine_pphrase.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/ssl/ssl_engine_pphrase.c b/modules/ssl/ssl_engine_pphrase.c index e74f8e4d47..6103d4db39 100644 --- a/modules/ssl/ssl_engine_pphrase.c +++ b/modules/ssl/ssl_engine_pphrase.c @@ -732,9 +732,9 @@ int ssl_pphrase_Handle_CB(char *buf, int bufsize, int verify, void *srv) * (see crypto/pem/pem_lib.c:def_callback() for details) */ prompt = "Enter pass phrase:"; - apr_file_puts(prompt, writetty); for (;;) { + apr_file_puts(prompt, writetty); if (sc->server->pphrase_dialog_type == SSL_PPTYPE_PIPE) { i = pipe_get_passwd_cb(buf, bufsize, "", FALSE); } |