Fix bogus use of BIO_sock_should_retry.
Reviewed-by: Andy Polyakov <appro@openssl.org> (Merged from https://github.com/openssl/openssl/pull/3948)
This commit is contained in:
parent
c8b93876f1
commit
daaaa3cb7e
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue