diff options
author | Bernd Edlinger <bernd.edlinger@hotmail.de> | 2017-07-17 11:51:19 +0200 |
---|---|---|
committer | Bernd Edlinger <bernd.edlinger@hotmail.de> | 2017-07-17 15:28:20 +0200 |
commit | daaaa3cb7e506466b38de995b3e5149f4045bdff (patch) | |
tree | 3f9ad8262ca6a1ece89c7f354a3194b0ebc793cc /apps | |
parent | c8b93876f116e761e6427594c183ee4e82c6bda5 (diff) |
Fix bogus use of BIO_sock_should_retry.
Reviewed-by: Andy Polyakov <appro@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/3948)
Diffstat (limited to 'apps')
-rw-r--r-- | apps/s_socket.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/s_socket.c b/apps/s_socket.c index b2bf244f23..804ab5b05a 100644 --- a/apps/s_socket.c +++ b/apps/s_socket.c @@ -215,7 +215,7 @@ int do_server(int *accept_sock, const char *host, const char *port, if (type == SOCK_STREAM) { do { sock = BIO_accept_ex(asock, NULL, 0); - } while (sock < 0 && BIO_sock_should_retry(ret)); + } while (sock < 0 && BIO_sock_should_retry(sock)); if (sock < 0) { ERR_print_errors(bio_err); BIO_closesocket(asock); |