From 7a67a3ba04c21e7f5befd4bd1c7649b5373953b3 Mon Sep 17 00:00:00 2001 From: Beat Bolli Date: Wed, 18 Jan 2017 23:49:43 +0100 Subject: [PATCH] doc/man3: remove a duplicate BIO_do_accept() call The SSL server example in BIO_f_ssl.pod contains two copies of the BIO_do_accept() call. Remove the second one. Signed-off-by: Beat Bolli Reviewed-by: Rich Salz Reviewed-by: Matt Caswell (Merged from https://github.com/openssl/openssl/pull/1956) --- doc/man3/BIO_f_ssl.pod | 6 ------ 1 file changed, 6 deletions(-) diff --git a/doc/man3/BIO_f_ssl.pod b/doc/man3/BIO_f_ssl.pod index 2bc9afea6f..1da14897f0 100644 --- a/doc/man3/BIO_f_ssl.pod +++ b/doc/man3/BIO_f_ssl.pod @@ -241,12 +241,6 @@ a client and also echoes the request to standard output. exit(1); } - if (BIO_do_accept(acpt) <= 0) { - fprintf(stderr, "Error in connection\n"); - ERR_print_errors_fp(stderr); - exit(1); - } - /* We only want one connection so remove and free accept BIO */ sbio = BIO_pop(acpt); BIO_free_all(acpt); -- 2.34.1