diff options
author | jsing <> | 2019-11-02 13:37:59 +0000 |
---|---|---|
committer | jsing <> | 2019-11-02 13:37:59 +0000 |
commit | 3c2988a5030b1e619c1c04fa6111186dc8223e48 (patch) | |
tree | 26dff2e2873d1fd641e2d14891cef32db1d1f78c /src/lib/libtls/tls.h | |
parent | a25bde481efe993b20eb0b871199c1fd4a3a4935 (diff) | |
download | openbsd-3c2988a5030b1e619c1c04fa6111186dc8223e48.tar.gz openbsd-3c2988a5030b1e619c1c04fa6111186dc8223e48.tar.bz2 openbsd-3c2988a5030b1e619c1c04fa6111186dc8223e48.zip |
Provide tls_conn_cipher_strength().
This returns the strength in bits of the symmetric cipher used for the
connection.
Diff from gilles@
ok tb@
Diffstat (limited to 'src/lib/libtls/tls.h')
-rw-r--r-- | src/lib/libtls/tls.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/lib/libtls/tls.h b/src/lib/libtls/tls.h index 560809ee19..fee60c7cc8 100644 --- a/src/lib/libtls/tls.h +++ b/src/lib/libtls/tls.h | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: tls.h,v 1.55 2018/11/29 14:24:23 tedu Exp $ */ | 1 | /* $OpenBSD: tls.h,v 1.56 2019/11/02 13:37:59 jsing Exp $ */ |
2 | /* | 2 | /* |
3 | * Copyright (c) 2014 Joel Sing <jsing@openbsd.org> | 3 | * Copyright (c) 2014 Joel Sing <jsing@openbsd.org> |
4 | * | 4 | * |
@@ -190,6 +190,7 @@ const uint8_t *tls_peer_cert_chain_pem(struct tls *_ctx, size_t *_len); | |||
190 | 190 | ||
191 | const char *tls_conn_alpn_selected(struct tls *_ctx); | 191 | const char *tls_conn_alpn_selected(struct tls *_ctx); |
192 | const char *tls_conn_cipher(struct tls *_ctx); | 192 | const char *tls_conn_cipher(struct tls *_ctx); |
193 | int tls_conn_cipher_strength(struct tls *_ctx); | ||
193 | const char *tls_conn_servername(struct tls *_ctx); | 194 | const char *tls_conn_servername(struct tls *_ctx); |
194 | int tls_conn_session_resumed(struct tls *_ctx); | 195 | int tls_conn_session_resumed(struct tls *_ctx); |
195 | const char *tls_conn_version(struct tls *_ctx); | 196 | const char *tls_conn_version(struct tls *_ctx); |