From: Richard Levitte Date: Sat, 19 Aug 2017 16:45:43 +0000 (+0200) Subject: Fix ui_write in apps/apps.c X-Git-Tag: OpenSSL_1_1_1-pre1~816 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=72460149dbb6c13b073c2ac8b70df816ef362679;p=oweals%2Fopenssl.git 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 (Merged from https://github.com/openssl/openssl/pull/4198) --- 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;