crypto/ui/ui_openssl.c: make sure to recognise ENXIO and EIO too
authorRichard Levitte <levitte@openssl.org>
Wed, 19 Sep 2018 19:33:45 +0000 (21:33 +0200)
committerRichard Levitte <levitte@openssl.org>
Thu, 20 Sep 2018 04:43:02 +0000 (06:43 +0200)
commitad1730359220cef5903d16c7f58b602fc3713414
treef58fce2c90fedd83253298b78e0c913aca9dfe55
parentae59efc2f60bd839fe80ef50d889c74c4afbb703
crypto/ui/ui_openssl.c: make sure to recognise ENXIO and EIO too

These both indicate that the file descriptor we're trying to use as a
terminal isn't, in fact, a terminal.

Fixes #7271

Reviewed-by: Matthias St. Pierre <Matthias.St.Pierre@ncp-e.com>
(Merged from https://github.com/openssl/openssl/pull/7272)

(cherry picked from commit 276bf8620ce35a613c856f2b70348f65ffe94067)
crypto/ui/ui_openssl.c