]> git.ipfire.org Git - thirdparty/openssl.git/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 <levitte@openssl.org>
Thu, 8 Dec 2016 12:37:48 +0000 (13:37 +0100)
commitc901bccec6f747467e1af31473655c8290e32309
tree2441e54c7c5fef3400f24ea7e446626f63e970b2
parent4984448648f69ed4425df68900b1fd6f17c6c271
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)
crypto/ui/ui_openssl.c