Earlier OpenSSL versions printed prompts to stderr.
authorBodo Möller <bodo@openssl.org>
Mon, 11 Jun 2001 09:54:28 +0000 (09:54 +0000)
committerBodo Möller <bodo@openssl.org>
Mon, 11 Jun 2001 09:54:28 +0000 (09:54 +0000)
commit200bc9e3e8a82fcae405465b8502f76e1099cc76
tree8e8558fc0d945f491519b975e69225032d30680a
parent7dd0ee049599c689b755d81a17882b98fdc9a4a0
Earlier OpenSSL versions printed prompts to stderr.
In the new crypto/ui/, this was changed into tty (which is usually
/dev/tty), i.e. the FILE * used for reading passwords from the user.
However stdio buffering for read/write streams is not without pitfalls
(passwords would be echoed on some systems).
To avoid problems, split tty into tty_in and tty_out (which are
opened separately).
crypto/ui/ui_openssl.c