From: Richard Levitte Date: Fri, 20 May 2016 08:13:14 +0000 (+0200) Subject: Fixup READLINE case X-Git-Tag: OpenSSL_1_1_0-pre6~757 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=72106aaab439eddc69df29aa328fb5eeb2086f84;p=oweals%2Fopenssl.git Fixup READLINE case RT#4543 Reviewed-by: Rich Salz Reviewed-by: Andy Polyakov --- diff --git a/apps/openssl.c b/apps/openssl.c index 978790e04b..e55401036c 100644 --- a/apps/openssl.c +++ b/apps/openssl.c @@ -204,7 +204,7 @@ int main(int argc, char *argv[]) extern void add_history(const char *cp); char *text; - char *text = readline(prompt); + text = readline(prompt); if (text == NULL) goto end; i = strlen(text);