aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard Levitte <levitte@openssl.org>2017-08-19 18:45:43 +0200
committerRichard Levitte <levitte@openssl.org>2017-08-19 21:56:43 +0200
commit72460149dbb6c13b073c2ac8b70df816ef362679 (patch)
treee6d960528cb31b831f224ebbe9d475ace6c910f9
parentb842fcbb37cf3cded72dd7706abd8d54a10cd508 (diff)
downloadopenssl-72460149dbb6c13b073c2ac8b70df816ef362679.tar.gz
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)
-rw-r--r--apps/apps.c2
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;