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:16:41 +0000 (10:16 +0100)
commit18edbe6519bd5b738bf410b23f437df3005526e3
tree997983d45776d082788bb179882a066088f3e4a9
parent2d7bbd6c9fb6865e0df480602c3612652189e182
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)
crypto/ui/ui_openssl.c