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:
7e1b748
)
Add missing BIO_flush() calls
author
Rich Salz
<rsalz@openssl.org>
Sat, 25 Apr 2015 13:26:48 +0000
(09:26 -0400)
committer
Rich Salz
<rsalz@openssl.org>
Sat, 25 Apr 2015 13:26:48 +0000
(09:26 -0400)
Reviewed-by: Richard Levitte <levitte@openssl.org>
apps/s_server.c
patch
|
blob
|
history
diff --git
a/apps/s_server.c
b/apps/s_server.c
index 2aaa2cb7da0aa84f7805b6d289ea9a08943f84e0..8199b888f89485591dc71402318da197082ee24c 100644
(file)
--- a/
apps/s_server.c
+++ b/
apps/s_server.c
@@
-338,6
+338,8
@@
static unsigned int psk_server_cb(SSL *ssl, const char *identity,
out_err:
if (s_debug)
BIO_printf(bio_err, "Error in PSK server callback\n");
+ (void)BIO_flush(bio_err);
+ (void)BIO_flush(bio_s_out);
return 0;
}
#endif
@@
-2404,6
+2406,7
@@
static int sv_body(char *hostname, int s, int stype, unsigned char *context)
}
if (ret >= 0)
BIO_printf(bio_s_out, "ACCEPT\n");
+ (void)BIO_flush(bio_s_out);
return (ret);
}