diff options
author | Richard Levitte <levitte@openssl.org> | 2017-08-19 18:45:43 +0200 |
---|---|---|
committer | Richard Levitte <levitte@openssl.org> | 2017-08-19 21:56:43 +0200 |
commit | 72460149dbb6c13b073c2ac8b70df816ef362679 (patch) | |
tree | e6d960528cb31b831f224ebbe9d475ace6c910f9 /apps | |
parent | b842fcbb37cf3cded72dd7706abd8d54a10cd508 (diff) |
Fix ui_write in apps/apps.c
It used the default UI reader as fallback instead of the UI writer.
Fixes #4147
Fixes #4195
Reviewed-by: Kurt Roeckx <kurt@roeckx.be>
(Merged from https://github.com/openssl/openssl/pull/4198)
Diffstat (limited to 'apps')
-rw-r--r-- | apps/apps.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/apps.c b/apps/apps.c index e1228b3792..6ff41972e3 100644 --- a/apps/apps.c +++ b/apps/apps.c @@ -240,7 +240,7 @@ static int ui_write(UI *ui, UI_STRING *uis) } } - writer = UI_method_get_reader(ui_fallback_method); + writer = UI_method_get_writer(ui_fallback_method); if (writer) return writer(ui, uis); return 1; |