summaryrefslogtreecommitdiffstats
path: root/doc/man3/BIO_f_ssl.pod
diff options
context:
space:
mode:
authorBeat Bolli <dev@drbeat.li>2017-01-18 23:49:43 +0100
committerMatt Caswell <matt@openssl.org>2017-06-08 11:54:16 +0100
commit7a67a3ba04c21e7f5befd4bd1c7649b5373953b3 (patch)
tree830f3900ced4d7f123a099e21e0d1b8b62a2e3db /doc/man3/BIO_f_ssl.pod
parent2947af32a0ec6666efd5b287ac4609ba3a984f0d (diff)
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 <dev@drbeat.li> Reviewed-by: Rich Salz <rsalz@openssl.org> Reviewed-by: Matt Caswell <matt@openssl.org> (Merged from https://github.com/openssl/openssl/pull/1956)
Diffstat (limited to 'doc/man3/BIO_f_ssl.pod')
-rw-r--r--doc/man3/BIO_f_ssl.pod6
1 files changed, 0 insertions, 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);