summaryrefslogtreecommitdiffstats
path: root/crypto/ui
diff options
context:
space:
mode:
authorRichard Levitte <levitte@openssl.org>2017-07-05 14:55:51 +0200
committerRichard Levitte <levitte@openssl.org>2017-07-05 14:55:51 +0200
commit787ce7eea82539531fe4d0f98da6bb3e93b1b832 (patch)
tree5c6bd4983e5a5a0696911399d3ce29939d20f167 /crypto/ui
parentf22a0783075002f4b7802f54b3903ff733410110 (diff)
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 <tjh@openssl.org> (Merged from https://github.com/openssl/openssl/pull/3853)
Diffstat (limited to 'crypto/ui')
-rw-r--r--crypto/ui/ui_lib.c1
1 files changed, 0 insertions, 1 deletions
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)