From 72460149dbb6c13b073c2ac8b70df816ef362679 Mon Sep 17 00:00:00 2001 From: Richard Levitte Date: Sat, 19 Aug 2017 18:45:43 +0200 Subject: [PATCH] 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) --- apps/apps.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.25.1