diff options
author | John Baldwin <jhb@FreeBSD.org> | 2020-07-24 13:47:35 -0700 |
---|---|---|
committer | Matt Caswell <matt@openssl.org> | 2020-08-31 09:34:19 +0100 |
commit | c34ca13a60f2acb4509be0aec9f506853ffbd1ea (patch) | |
tree | 123b7cd5ebd0450349953cb68699c837f87063ed /include | |
parent | 23e77b0ba328afe3492d990cd24f7b8896b4246f (diff) |
Add a ktls_crypto_info_t typedef.
This type is defined to hold the OS-specific structure passed to
BIO_set_ktls.
Reviewed-by: Tomas Mraz <tmraz@fedoraproject.org>
Reviewed-by: Matt Caswell <matt@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/12111)
Diffstat (limited to 'include')
-rw-r--r-- | include/internal/ktls.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/internal/ktls.h b/include/internal/ktls.h index 535e563479..a9b1c74190 100644 --- a/include/internal/ktls.h +++ b/include/internal/ktls.h @@ -37,6 +37,8 @@ */ # define TLS_CIPHER_AES_GCM_128_REC_SEQ_SIZE 8 +typedef struct tls_enable ktls_crypto_info_t; + /* * FreeBSD does not require any additional steps to enable KTLS before * setting keys. @@ -173,6 +175,9 @@ struct tls_crypto_info_all { }; size_t tls_crypto_info_len; }; + +typedef struct tls_crypto_info_all ktls_crypto_info_t; + /* * When successful, this socket option doesn't change the behaviour of the * TCP socket, except changing the TCP setsockopt handler to enable the |