From: Richard Levitte Date: Wed, 5 Jul 2017 12:55:51 +0000 (+0200) Subject: Undo one UI fix X-Git-Tag: OpenSSL_1_0_2m~63 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=787ce7eea82539531fe4d0f98da6bb3e93b1b832;p=oweals%2Fopenssl.git Undo one UI fix Undoing: > - in UI_process(), |state| was never made NULL, which means an error > when closing the session wouldn't be accurately reported. This was a faulty cherry-pick from master Reviewed-by: Tim Hudson (Merged from https://github.com/openssl/openssl/pull/3853) --- diff --git a/crypto/ui/ui_lib.c b/crypto/ui/ui_lib.c index d06089b5c5..03ef981cf9 100644 --- a/crypto/ui/ui_lib.c +++ b/crypto/ui/ui_lib.c @@ -521,7 +521,6 @@ int UI_process(UI *ui) } } - state = NULL; err: if (ui->meth->ui_close_session != NULL && ui->meth->ui_close_session(ui) <= 0)