diff options
author | Joel Sing <jsing@cvs.openbsd.org> | 2015-02-11 06:46:34 +0000 |
---|---|---|
committer | Joel Sing <jsing@cvs.openbsd.org> | 2015-02-11 06:46:34 +0000 |
commit | eaff2c189f29079871e2d19a876f5058cca68064 (patch) | |
tree | c15f2a366d97686d433d5a2b04281430e3f714a5 /lib/libtls/tls_init.3 | |
parent | b6ab6a8777ef3af3750bc9a314acf6e1b35ca145 (diff) |
Be consistent with naming - only use "host" and "hostname" when referring
to an actual host and use "servername" when referring to the name of the
TLS server that we expect to be indentified in the server certificate.
Likewise, rename verify_host to verify_name and use the term "name"
throughout the verification code (rather than host or hostname).
Requested by and ok tedu@
Diffstat (limited to 'lib/libtls/tls_init.3')
-rw-r--r-- | lib/libtls/tls_init.3 | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/libtls/tls_init.3 b/lib/libtls/tls_init.3 index 73234a427d5..034c1253476 100644 --- a/lib/libtls/tls_init.3 +++ b/lib/libtls/tls_init.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: tls_init.3,v 1.10 2015/02/07 23:45:06 reyk Exp $ +.\" $OpenBSD: tls_init.3,v 1.11 2015/02/11 06:46:33 jsing Exp $ .\" .\" Copyright (c) 2014 Ted Unangst <tedu@openbsd.org> .\" @@ -14,7 +14,7 @@ .\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF .\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. .\" -.Dd $Mdocdate: February 7 2015 $ +.Dd $Mdocdate: February 11 2015 $ .Dt TLS 3 .Os .Sh NAME @@ -111,9 +111,9 @@ .Ft "int" .Fn tls_connect "struct tls *ctx" "const char *host" "const char *port" .Ft "int" -.Fn tls_connect_fds "struct tls *ctx" "int fd_read" "int fd_write" "const char *hostname" +.Fn tls_connect_fds "struct tls *ctx" "int fd_read" "int fd_write" "const char *servername" .Ft "int" -.Fn tls_connect_socket "struct tls *ctx" "int s" "const char *hostname" +.Fn tls_connect_socket "struct tls *ctx" "int s" "const char *servername" .Ft "int" .Fn tls_accept_socket "struct tls *tls" "struct tls **cctx" "int socket" .Ft "int" |