projects
/
oweals
/
openssl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ee91323
)
initialise buf if wrong_info not used
author
Dr. Stephen Henson
<steve@openssl.org>
Wed, 24 Mar 2010 23:42:30 +0000
(23:42 +0000)
committer
Dr. Stephen Henson
<steve@openssl.org>
Wed, 24 Mar 2010 23:42:30 +0000
(23:42 +0000)
engines/e_chil.c
patch
|
blob
|
history
diff --git
a/engines/e_chil.c
b/engines/e_chil.c
index 3a07076b4fef97a851a601f07d19a678309f86c4..68405b394b7e0cc65c8dc9dc5706b1baad137ba8 100644
(file)
--- a/
engines/e_chil.c
+++ b/
engines/e_chil.c
@@
-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)
{