From: Dr. David von Oheimb Date: Wed, 19 May 2021 15:20:53 +0000 (+0200) Subject: BIO_s_accept.pod: Document port auto-selection feature of BIO_set_accept_port() X-Git-Tag: openssl-3.0.0-beta1~449 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=8a196fe228dbe5c38bbb39a9d42845257cab605c;p=thirdparty%2Fopenssl.git BIO_s_accept.pod: Document port auto-selection feature of BIO_set_accept_port() Reviewed-by: Tomas Mraz Reviewed-by: Paul Dale (Merged from https://github.com/openssl/openssl/pull/15354) --- diff --git a/doc/man3/BIO_s_accept.pod b/doc/man3/BIO_s_accept.pod index 02c6006453e..f49eb532fcd 100644 --- a/doc/man3/BIO_s_accept.pod +++ b/doc/man3/BIO_s_accept.pod @@ -77,6 +77,8 @@ port. "port" has the same syntax as the port specified in BIO_set_conn_port() for connect BIOs, that is it can be a numerical port string or a string to lookup using getservbyname() and a string table. +If the given port is C<0> then a random available port is chosen. +It may be queried using BIO_sock_info() and L. BIO_new_accept() combines BIO_new() and BIO_set_accept_name() into a single call: that is it creates a new accept BIO with port