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

Reviewed-by: Tim Hudson <tjh@openssl.org>
engines/e_chil.c

index b09d5259a951c7f85ac48551c2ef355ec8c57385..e7c89538a5afd08a7dde6c19a93079adbb839446 100644 (file)
@@ -1262,7 +1262,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