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 b09d525..e7c8953 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