From: Rich Salz Date: Mon, 18 Aug 2014 17:00:51 +0000 (-0400) Subject: RT2379: Bug in BIO_set_accept_port.pod X-Git-Tag: OpenSSL_1_0_2-beta3~71 X-Git-Url: https://git.openssl.org/?p=openssl.git;a=commitdiff_plain;h=5decce4db0d8e8dd2a9e35106e1dedd9b51806dd RT2379: Bug in BIO_set_accept_port.pod The doc says that port can be "*" to mean any port. That's wrong. Reviewed-by: Dr. Stephen Henson (cherry picked from commit 07e3b31fae98b985d3d2aad7066144b11833f688) --- diff --git a/doc/crypto/BIO_s_accept.pod b/doc/crypto/BIO_s_accept.pod index 34af1d229a..560c1128ef 100644 --- a/doc/crypto/BIO_s_accept.pod +++ b/doc/crypto/BIO_s_accept.pod @@ -59,8 +59,8 @@ the accept socket. See L BIO_set_accept_port() uses the string B to set the accept port. The port is represented as a string of the form "host:port", where "host" is the interface to use and "port" is the port. -Either or both values can be "*" which is interpreted as meaning -any interface or port respectively. "port" has the same syntax +The host can be can be "*" which is interpreted as meaning +any interface; "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.