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:56 +0000 (06:43 +0200)
commit79951b1d4e219f60e474a589f21fc3b38023e8a8
treeafeaf4634a186d1629feba11a569e684c65ad2be
parent5a6fbf616e1da3ac8c8bc6a30dbcd9844f6726c7
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)
(cherry picked from commit ad1730359220cef5903d16c7f58b602fc3713414)
crypto/ui/ui_openssl.c