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 <richard@levitte.org>
Thu, 20 Sep 2018 04:40:52 +0000 (06:40 +0200)
commit226e6a2cf2797aed7ed59eeb05858b5a7491a0ad
treec57f4189fe7a940dd429dce70ad2157372f4c42f
parent1766493bbd92cfcee6fca068ffe972092d43892c
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