]> granicus.if.org Git - openssl/commit
UI_OpenSSL()'s session opener fails on MacOS X
authorRichard Levitte <levitte@openssl.org>
Wed, 7 Dec 2016 19:28:43 +0000 (20:28 +0100)
committerRichard Levitte <richard@levitte.org>
Thu, 8 Dec 2016 13:10:19 +0000 (14:10 +0100)
commit58f5f4157bc3533ed7cace90e4e9a89e19497cba
tree2566d600e6b5e90c5fff30d172dcaa7b65225aa8
parentdc76164c7693f57a6ded33a1344f2e8c1d6a0ee6
UI_OpenSSL()'s session opener fails on MacOS X

If on a non-tty stdin, TTY_get() will fail with errno == ENODEV.
We didn't catch that.

Reviewed-by: Rich Salz <rsalz@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/2039)
(cherry picked from commit c901bccec6f747467e1af31473655c8290e32309)
crypto/ui/ui_openssl.c