commit | c54cc2b15d96944fcf13ccd24baca79f9593cbf0 | [log] [tgz] |
---|---|---|
author | Rich Salz <rsalz@openssl.org> | Sat Apr 25 09:26:48 2015 -0400 |
committer | Rich Salz <rsalz@openssl.org> | Sat Apr 25 09:26:48 2015 -0400 |
tree | cf796c02b4ef3d3cb3d324b6153559676a1965ea | |
parent | 7e1b7485706c2b11091b5fa897fe496a2faa56cc [diff] [blame] |
Add missing BIO_flush() calls Reviewed-by: Richard Levitte <levitte@openssl.org>
diff --git a/apps/s_server.c b/apps/s_server.c index 2aaa2cb..8199b88 100644 --- a/apps/s_server.c +++ b/apps/s_server.c
@@ -338,6 +338,8 @@ 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 @@ } if (ret >= 0) BIO_printf(bio_s_out, "ACCEPT\n"); + (void)BIO_flush(bio_s_out); return (ret); }