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/baae5142ca77
branches:  trunk
changeset: 970395:baae5142ca77
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 3a9869ef6c83 -r baae5142ca77 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 3a9869ef6c83 -r baae5142ca77 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