[openssl-commits] [openssl] master update

Rich Salz rsalz at openssl.org
Sat Apr 25 13:27:15 UTC 2015


The branch master has been updated
       via  c54cc2b15d96944fcf13ccd24baca79f9593cbf0 (commit)
      from  7e1b7485706c2b11091b5fa897fe496a2faa56cc (commit)


- Log -----------------------------------------------------------------
commit c54cc2b15d96944fcf13ccd24baca79f9593cbf0
Author: Rich Salz <rsalz at openssl.org>
Date:   Sat Apr 25 09:26:48 2015 -0400

    Add missing BIO_flush() calls
    
    Reviewed-by: Richard Levitte <levitte at openssl.org>

-----------------------------------------------------------------------

Summary of changes:
 apps/s_server.c | 3 +++
 1 file changed, 3 insertions(+)

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 @@ 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);
 }
 


More information about the openssl-commits mailing list