summaryrefslogtreecommitdiffstats
path: root/apps/s_time.c
diff options
context:
space:
mode:
authorDr. Stephen Henson <steve@openssl.org>2006-04-17 12:22:13 +0000
committerDr. Stephen Henson <steve@openssl.org>2006-04-17 12:22:13 +0000
commit7bf7333d688264f6d389c1c3c87c127f484b2efa (patch)
treed777c6c566351367c8e0996fc7e162e18541f67a /apps/s_time.c
parentc20276e4aef1e716980589c43cf9276abc7ff2b7 (diff)
If we include winsock2.h then FD_SET wants an unsigned type for an fd.
Diffstat (limited to 'apps/s_time.c')
-rw-r--r--apps/s_time.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/s_time.c b/apps/s_time.c
index 33e312bab4..b823c33c58 100644
--- a/apps/s_time.c
+++ b/apps/s_time.c
@@ -601,7 +601,7 @@ static SSL *doConnection(SSL *scon)
i=SSL_get_fd(serverCon);
width=i+1;
FD_ZERO(&readfds);
- FD_SET(i,&readfds);
+ openssl_fdset(i,&readfds);
/* Note: under VMS with SOCKETSHR the 2nd parameter
* is currently of type (int *) whereas under other
* systems it is (void *) if you don't have a cast it