Add missing initialiser in e_chil.c
authorRichard Levitte <levitte@openssl.org>
Mon, 16 May 2016 15:13:32 +0000 (17:13 +0200)
committerRichard Levitte <levitte@openssl.org>
Tue, 17 May 2016 15:18:25 +0000 (17:18 +0200)
RT#2616

Reviewed-by: Matt Caswell <matt@openssl.org>
engines/e_chil.c

index 5dfab5134527611490b7da3070e6309d78910d88..5e725f5fb1c8aa104287f4f01bce3f506c6a202b 100644 (file)
@@ -1272,7 +1272,7 @@ static int hwcrhk_insert_card(const char *prompt_info,
     ui = UI_new_method(ui_method);
 
     if (ui) {
-        char answer;
+        char answer = '\0';
         char buf[BUFSIZ];
         /*
          * Despite what the documentation says wrong_info can be an empty