summaryrefslogtreecommitdiff
path: root/src/lib/libtls/tls_init.3
diff options
context:
space:
mode:
authorjsing <>2015-02-11 06:46:33 +0000
committerjsing <>2015-02-11 06:46:33 +0000
commitc6f3fe1fbc8da2fa6de30b10f1f219ab1f809438 (patch)
tree6438c97ac6c93d27e53440f04e1fb34004f999b8 /src/lib/libtls/tls_init.3
parent01fabf00f34c0ca7466352b13f7071a4170301fc (diff)
downloadopenbsd-c6f3fe1fbc8da2fa6de30b10f1f219ab1f809438.tar.gz
openbsd-c6f3fe1fbc8da2fa6de30b10f1f219ab1f809438.tar.bz2
openbsd-c6f3fe1fbc8da2fa6de30b10f1f219ab1f809438.zip
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 'src/lib/libtls/tls_init.3')
-rw-r--r--src/lib/libtls/tls_init.38
1 files changed, 4 insertions, 4 deletions
diff --git a/src/lib/libtls/tls_init.3 b/src/lib/libtls/tls_init.3
index 73234a427d..034c125347 100644
--- a/src/lib/libtls/tls_init.3
+++ b/src/lib/libtls/tls_init.3
@@ -1,4 +1,4 @@
1.\" $OpenBSD: tls_init.3,v 1.10 2015/02/07 23:45:06 reyk Exp $ 1.\" $OpenBSD: tls_init.3,v 1.11 2015/02/11 06:46:33 jsing Exp $
2.\" 2.\"
3.\" Copyright (c) 2014 Ted Unangst <tedu@openbsd.org> 3.\" Copyright (c) 2014 Ted Unangst <tedu@openbsd.org>
4.\" 4.\"
@@ -14,7 +14,7 @@
14.\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF 14.\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
15.\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. 15.\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
16.\" 16.\"
17.Dd $Mdocdate: February 7 2015 $ 17.Dd $Mdocdate: February 11 2015 $
18.Dt TLS 3 18.Dt TLS 3
19.Os 19.Os
20.Sh NAME 20.Sh NAME
@@ -111,9 +111,9 @@
111.Ft "int" 111.Ft "int"
112.Fn tls_connect "struct tls *ctx" "const char *host" "const char *port" 112.Fn tls_connect "struct tls *ctx" "const char *host" "const char *port"
113.Ft "int" 113.Ft "int"
114.Fn tls_connect_fds "struct tls *ctx" "int fd_read" "int fd_write" "const char *hostname" 114.Fn tls_connect_fds "struct tls *ctx" "int fd_read" "int fd_write" "const char *servername"
115.Ft "int" 115.Ft "int"
116.Fn tls_connect_socket "struct tls *ctx" "int s" "const char *hostname" 116.Fn tls_connect_socket "struct tls *ctx" "int s" "const char *servername"
117.Ft "int" 117.Ft "int"
118.Fn tls_accept_socket "struct tls *tls" "struct tls **cctx" "int socket" 118.Fn tls_accept_socket "struct tls *tls" "struct tls **cctx" "int socket"
119.Ft "int" 119.Ft "int"