Undo one UI fix
authorRichard Levitte <levitte@openssl.org>
Wed, 5 Jul 2017 12:55:51 +0000 (14:55 +0200)
committerRichard Levitte <levitte@openssl.org>
Wed, 5 Jul 2017 12:55:51 +0000 (14:55 +0200)
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)

crypto/ui/ui_lib.c

index d06089b5c577a73f28abc6353089aa0826a32fcf..03ef981cf912248cd8a800d2809091b9ee9749d7 100644 (file)
@@ -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)