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:39:07 +0000 (06:39 +0200)
commit276bf8620ce35a613c856f2b70348f65ffe94067
treea2b1e48bb91f6340582301e764eef91de0836575
parent2340ed277b7c5365e83a32eb7d5fa32c4071fb21
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)
crypto/ui/ui_openssl.c