UI_process() didn't generate errors
authorRichard Levitte <levitte@openssl.org>
Wed, 7 Dec 2016 15:36:44 +0000 (16:36 +0100)
committerRichard Levitte <richard@levitte.org>
Wed, 7 Dec 2016 23:09:04 +0000 (00:09 +0100)
commitaff927e84c3bce5b7ebc2cc72f99a571ea89c2b1
tree894edf30bf7eb7e9f6822257308d1bbdb2fd50dc
parent72ea4b8de29bd29dcc44b3d3a73660fe4d1bba40
UI_process() didn't generate errors

Since there are many parts of UI_process() that can go wrong, it isn't
very helpful to only return -1 with no further explanation.  With this
change, the error message will at least show which part went wrong.

Reviewed-by: Rich Salz <rsalz@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/2037)
(cherry picked from commit 0a687ab0a92d2d68289364a6e232028c229f44bb)
crypto/ui/ui_err.c
crypto/ui/ui_lib.c
include/openssl/ui.h