Fixup READLINE case
[openssl.git] / apps / openssl.c
index 978790e04b8da95027cdf01a1d355fb0be041ab3..e55401036ca04fbc49d9a7482788f288c45b57a6 100644 (file)
@@ -204,7 +204,7 @@ int main(int argc, char *argv[])
                 extern void add_history(const char *cp);
                 char *text;
 
                 extern void add_history(const char *cp);
                 char *text;
 
-                char *text = readline(prompt);
+                text = readline(prompt);
                 if (text == NULL)
                     goto end;
                 i = strlen(text);
                 if (text == NULL)
                     goto end;
                 i = strlen(text);