summaryrefslogtreecommitdiff
path: root/lib/libtls
diff options
context:
space:
mode:
authorJoel Sing <jsing@cvs.openbsd.org>2019-11-02 13:43:15 +0000
committerJoel Sing <jsing@cvs.openbsd.org>2019-11-02 13:43:15 +0000
commit0860121f7bd48158d62b0abaae2a582e794350cd (patch)
tree6be934670635d9d7b6bb483473e2887a61381613 /lib/libtls
parent8f93975f87a06e4a06bf05fa454bb6c50081a5d1 (diff)
Document tls_conn_cipher_strength().
ok schwarze@
Diffstat (limited to 'lib/libtls')
-rw-r--r--lib/libtls/man/tls_conn_version.316
1 files changed, 14 insertions, 2 deletions
diff --git a/lib/libtls/man/tls_conn_version.3 b/lib/libtls/man/tls_conn_version.3
index b93f1c34ab4..9ab6932f54f 100644
--- a/lib/libtls/man/tls_conn_version.3
+++ b/lib/libtls/man/tls_conn_version.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: tls_conn_version.3,v 1.9 2018/12/14 20:18:27 schwarze Exp $
+.\" $OpenBSD: tls_conn_version.3,v 1.10 2019/11/02 13:43:14 jsing Exp $
.\"
.\" Copyright (c) 2015 Bob Beck <beck@openbsd.org>
.\" Copyright (c) 2016, 2018 Joel Sing <jsing@openbsd.org>
@@ -15,12 +15,13 @@
.\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
.\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
.\"
-.Dd $Mdocdate: December 14 2018 $
+.Dd $Mdocdate: November 2 2019 $
.Dt TLS_CONN_VERSION 3
.Os
.Sh NAME
.Nm tls_conn_version ,
.Nm tls_conn_cipher ,
+.Nm tls_conn_cipher_strength ,
.Nm tls_conn_alpn_selected ,
.Nm tls_conn_servername ,
.Nm tls_conn_session_resumed ,
@@ -39,6 +40,8 @@
.Fn tls_conn_version "struct tls *ctx"
.Ft const char *
.Fn tls_conn_cipher "struct tls *ctx"
+.Ft int
+.Fn tls_conn_cipher_strength "struct tls *ctx"
.Ft const char *
.Fn tls_conn_alpn_selected "struct tls *ctx"
.Ft const char *
@@ -82,6 +85,11 @@ returns a string corresponding to the cipher suite negotiated with the peer
connected to
.Ar ctx .
.Pp
+.Fn tls_conn_cipher_strength
+returns the strength in bits for the symmetric cipher that is being
+used with the peer connected to
+.Ar ctx .
+.Pp
.Fn tls_conn_alpn_selected
returns a string that specifies the ALPN protocol selected for use with the peer
connected to
@@ -197,6 +205,10 @@ appeared in
.Fn tls_conn_session_resumed
appeared in
.Ox 6.3 .
+.Pp
+.Fn tls_conn_cipher_strength
+appeared in
+.Ox 6.7 .
.Sh AUTHORS
.An Bob Beck Aq Mt beck@openbsd.org
.An Joel Sing Aq Mt jsing@openbsd.org