VMS UI_OpenSSL: if the TT device isn't a tty, flag instead of error
authorRichard Levitte <levitte@openssl.org>
Fri, 9 Dec 2016 22:41:01 +0000 (23:41 +0100)
committerRichard Levitte <levitte@openssl.org>
Sat, 10 Dec 2016 09:19:15 +0000 (10:19 +0100)
commit78a3e80a31b9c2b66bd8e1d33903d386915aefbb
tree162d4a9f190933ef8a828df08bb85ad9146cdfe0
parentfecd4c265527459e3db5ac37bbf77ab47aa10dc7
VMS UI_OpenSSL: if the TT device isn't a tty, flag instead of error

On all platforms, if the controlling tty isn't an actual tty, this is
flagged by setting is_a_tty to zero...  except on VMS, where this was
treated as an error.  Change this to behave like the other platforms.

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