summaryrefslogtreecommitdiff
path: root/lib/libtls/tls_init.3
diff options
context:
space:
mode:
authorJason McIntyre <jmc@cvs.openbsd.org>2015-09-14 14:29:31 +0000
committerJason McIntyre <jmc@cvs.openbsd.org>2015-09-14 14:29:31 +0000
commitc594d9acff5e439f9879264dd5ce881ad410d31f (patch)
treeba2b643c32eb889f781554ce7e864659fb10704f /lib/libtls/tls_init.3
parentf509151e8096df8a9bd4f976da955b82960bd2ca (diff)
some conn_version and conn_cipher bits;
Diffstat (limited to 'lib/libtls/tls_init.3')
-rw-r--r--lib/libtls/tls_init.315
1 files changed, 7 insertions, 8 deletions
diff --git a/lib/libtls/tls_init.3 b/lib/libtls/tls_init.3
index 81ab97b0c43..fbd6cb5e127 100644
--- a/lib/libtls/tls_init.3
+++ b/lib/libtls/tls_init.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: tls_init.3,v 1.45 2015/09/14 12:05:33 schwarze Exp $
+.\" $OpenBSD: tls_init.3,v 1.46 2015/09/14 14:29:30 jmc Exp $
.\"
.\" Copyright (c) 2014 Ted Unangst <tedu@openbsd.org>
.\"
@@ -48,6 +48,8 @@
.Nm tls_peer_cert_issuer ,
.Nm tls_peer_cert_subject ,
.Nm tls_peer_cert_hash ,
+.Nm tls_conn_version ,
+.Nm tls_conn_cipher ,
.Nm tls_load_file ,
.Nm tls_client ,
.Nm tls_server ,
@@ -420,23 +422,20 @@ can be generated using the commands:
h=$(openssl x509 -outform der -in mycert.crt | sha256)
printf "SHA256:${h}\\n"
.Ed
-.Pp
.It
.Fn tls_conn_version
returns a string
corresponding to a TLS version negotiated with the peer
-connected to
-.Ar ctx
-.It
+connected to
+.Ar ctx .
.Fn tls_conn_version
will only succeed after the handshake is complete.
.It
.Fn tls_conn_cipher
returns a string
corresponding to a the cipher suite negotated with the peer
-connected to
-.Ar ctx
-.It
+connected to
+.Ar ctx .
.Fn tls_conn_cipher
will only succeed after the handshake is complete.
.Em (Server and client)