Commit b4334540 authored by Paul J. Reder's avatar Paul J. Reder
Browse files

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/modules/ssl@94896 13f79535-47bb-0310-9956-ffa450edef68
parent daf4ed35
Loading
Loading
Loading
Loading
+1 −1
Changes for ssl_engine_pphrase.c: 1 added line, 1 removed line.
Original line number Diff line number Diff line
@@ -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); 
            }