projects
/
oweals
/
openssl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c8b9387
)
Fix bogus use of BIO_sock_should_retry.
author
Bernd Edlinger
<bernd.edlinger@hotmail.de>
Mon, 17 Jul 2017 09:51:19 +0000
(11:51 +0200)
committer
Bernd Edlinger
<bernd.edlinger@hotmail.de>
Mon, 17 Jul 2017 13:28:20 +0000
(15:28 +0200)
Reviewed-by: Andy Polyakov <appro@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/3948)
apps/s_socket.c
patch
|
blob
|
history
diff --git
a/apps/s_socket.c
b/apps/s_socket.c
index b2bf244f23e38d7af59bc7a06697b43f34adbbb7..804ab5b05a3cc62f4d65b90f8dccf185e73b9cb1 100644
(file)
--- 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);