summaryrefslogtreecommitdiffstats
path: root/apps/openssl.c
diff options
context:
space:
mode:
authorRichard Levitte <levitte@openssl.org>2016-05-20 10:13:14 +0200
committerRichard Levitte <levitte@openssl.org>2016-05-20 14:22:49 +0200
commit72106aaab439eddc69df29aa328fb5eeb2086f84 (patch)
tree63625cd465359670f9872b5e1069b30c3e49f26a /apps/openssl.c
parentFix nits in pod files. (diff)
downloadopenssl-72106aaab439eddc69df29aa328fb5eeb2086f84.tar.xz
openssl-72106aaab439eddc69df29aa328fb5eeb2086f84.zip
Fixup READLINE case
RT#4543 Reviewed-by: Rich Salz <rsalz@openssl.org> Reviewed-by: Andy Polyakov <appro@openssl.org>
Diffstat (limited to 'apps/openssl.c')
-rw-r--r--apps/openssl.c2
1 files changed, 1 insertions, 1 deletions
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);