Typo: use prompt_info, not cb_data->prompt_info.
This commit is contained in:
Dr. Stephen Henson 2004-11-14 15:40:00 +00:00
parent 4451c2558e
commit 151368ccba

View File

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