UI_process() didn't generate errors
authorRichard Levitte <levitte@openssl.org>
Wed, 7 Dec 2016 15:36:44 +0000 (16:36 +0100)
committerRichard Levitte <levitte@openssl.org>
Wed, 7 Dec 2016 23:06:43 +0000 (00:06 +0100)
commit0a687ab0a92d2d68289364a6e232028c229f44bb
tree840d4e1949a942b758fc9fd69ad7fef146ff0fb0
parent7cb58c0ffa7203e8ad4d39c912a1ab5e21a12b85
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)
crypto/ui/ui_err.c
crypto/ui/ui_lib.c
include/openssl/ui.h