The branch master has been updated
       via  72460149dbb6c13b073c2ac8b70df816ef362679 (commit)
      from  b842fcbb37cf3cded72dd7706abd8d54a10cd508 (commit)


- Log -----------------------------------------------------------------
commit 72460149dbb6c13b073c2ac8b70df816ef362679
Author: Richard Levitte <levi...@openssl.org>
Date:   Sat Aug 19 18:45:43 2017 +0200

    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 <k...@roeckx.be>
    (Merged from https://github.com/openssl/openssl/pull/4198)

-----------------------------------------------------------------------

Summary of changes:
 apps/apps.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/apps/apps.c b/apps/apps.c
index e1228b3..6ff4197 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;
_____
openssl-commits mailing list
To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-commits

Reply via email to