Remove extra bang
authorRichard Levitte <levitte@openssl.org>
Thu, 8 Dec 2016 19:51:21 +0000 (20:51 +0100)
committerRichard Levitte <richard@levitte.org>
Thu, 8 Dec 2016 20:41:11 +0000 (21:41 +0100)
A bang (!) slipped through in the recent UI cleanup

Reviewed-by: Rich Salz <rsalz@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/2051)
(cherry picked from commit 949320c567811e714216ea987fe24eea1b56da5e)

crypto/ui/ui_lib.c

index 7022a383ce5cb23165b8a17c88f175fa7aea7d6a..12d62d86d344ad79582b5292fecb7d663ee1a3fd 100644 (file)
@@ -483,7 +483,7 @@ int UI_process(UI *ui)
     }
  err:
     if (ui->meth->ui_close_session != NULL
-        && !ui->meth->ui_close_session(ui) <= 0) {
+        && ui->meth->ui_close_session(ui) <= 0) {
         if (state == NULL)
             state = "closing session";
         ok = -1;