Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/crypto/external/bsd/openssl/dist/apps always use fdin
details: https://anonhg.NetBSD.org/src/rev/179d10e06314
branches: trunk
changeset: 1008430:179d10e06314
user: christos <christos%NetBSD.org@localhost>
date: Sun Mar 22 19:56:07 2020 +0000
description:
always use fdin
diffstat:
crypto/external/bsd/openssl/dist/apps/s_client.c | 2 +-
crypto/external/bsd/openssl/dist/apps/s_server.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diffs (24 lines):
diff -r d37cb824ecb2 -r 179d10e06314 crypto/external/bsd/openssl/dist/apps/s_client.c
--- a/crypto/external/bsd/openssl/dist/apps/s_client.c Sun Mar 22 18:59:55 2020 +0000
+++ b/crypto/external/bsd/openssl/dist/apps/s_client.c Sun Mar 22 19:56:07 2020 +0000
@@ -2804,7 +2804,7 @@
* 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);
diff -r d37cb824ecb2 -r 179d10e06314 crypto/external/bsd/openssl/dist/apps/s_server.c
--- a/crypto/external/bsd/openssl/dist/apps/s_server.c Sun Mar 22 18:59:55 2020 +0000
+++ b/crypto/external/bsd/openssl/dist/apps/s_server.c Sun Mar 22 19:56:07 2020 +0000
@@ -2423,7 +2423,7 @@
}
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);
/*
Home |
Main Index |
Thread Index |
Old Index