always use fdin
This commit is contained in:
parent
0f132f479d
commit
314235bf3d
|
@ -2804,7 +2804,7 @@ int s_client_main(int argc, char **argv)
|
|||
* set the flag so we exit.
|
||||
*/
|
||||
if (read_tty && !at_eof)
|
||||
openssl_fdset(fileno_stdin(), &readfds);
|
||||
openssl_fdset(fdin, &readfds);
|
||||
#if !defined(OPENSSL_SYS_VMS)
|
||||
if (write_tty)
|
||||
openssl_fdset(fdout, &writefds);
|
||||
|
|
|
@ -2423,7 +2423,7 @@ static int sv_body(int s, int stype, int prot, unsigned char *context)
|
|||
}
|
||||
FD_ZERO(&readfds);
|
||||
#if !defined(OPENSSL_SYS_WINDOWS) && !defined(OPENSSL_SYS_MSDOS)
|
||||
openssl_fdset(fileno_stdin(), &readfds);
|
||||
openssl_fdset(fdin, &readfds);
|
||||
#endif
|
||||
openssl_fdset(s, &readfds);
|
||||
/*
|
||||
|
|
Loading…
Reference in New Issue