summaryrefslogtreecommitdiffstats
path: root/apps/s_server.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/s_server.c')
-rw-r--r--apps/s_server.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/s_server.c b/apps/s_server.c
index 14dd8a69db..8645c6c203 100644
--- a/apps/s_server.c
+++ b/apps/s_server.c
@@ -2014,7 +2014,7 @@ static void wait_for_async(SSL *s)
fd_set asyncfds;
fd = SSL_get_async_wait_fd(s);
- if (!fd)
+ if (fd < 0)
return;
width = fd + 1;