initialise buf if wrong_info not used
This commit is contained in:
parent
ee91323f52
commit
5d013b6b32
1 changed files with 2 additions and 0 deletions
|
@ -1316,6 +1316,8 @@ static int hwcrhk_insert_card(const char *prompt_info,
|
|||
if (wrong_info && *wrong_info)
|
||||
BIO_snprintf(buf, sizeof(buf)-1,
|
||||
"Current card: \"%s\"\n", wrong_info);
|
||||
else
|
||||
buf[0] = 0;
|
||||
ok = UI_dup_info_string(ui, buf);
|
||||
if (ok >= 0 && prompt_info)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue