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:32:09 +0000 (23:32 +0100)
committerRichard Levitte <levitte@openssl.org>
Sat, 10 Dec 2016 09:17:25 +0000 (10:17 +0100)
commitfeb879b098f90745a0394005f38b481c68b74ad4
treebb9ffb7e87c4287c92fa807aa0390a14f49f8d7e
parentf096bbd71984fa8311939ff7422975e1c88d8362
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/2063)
(cherry picked from commit 18edbe6519bd5b738bf410b23f437df3005526e3)
crypto/ui/ui_openssl.c