PR: 940
authorDr. Stephen Henson <steve@openssl.org>
Sun, 14 Nov 2004 15:40:00 +0000 (15:40 +0000)
committerDr. Stephen Henson <steve@openssl.org>
Sun, 14 Nov 2004 15:40:00 +0000 (15:40 +0000)
Typo: use prompt_info, not cb_data->prompt_info.

apps/apps.c

index 4121e47..38ad3b0 100644 (file)
@@ -539,7 +539,7 @@ int password_callback(char *buf, int bufsiz, int verify,
                char *prompt = NULL;
 
                prompt = UI_construct_prompt(ui, "pass phrase",
-                       cb_data->prompt_info);
+                       prompt_info);
 
                ui_flags |= UI_INPUT_FLAG_DEFAULT_PWD;
                UI_ctrl(ui, UI_CTRL_PRINT_ERRORS, 1, 0, 0);