diff options
author | Matt Caswell <matt@openssl.org> | 2022-11-10 16:05:16 +0000 |
---|---|---|
committer | Matt Caswell <matt@openssl.org> | 2023-01-24 17:16:29 +0000 |
commit | bea8d70498c9ad0e2cca3652c748d327be7b841e (patch) | |
tree | 95817d019a017fd36a10a9845a4c669434e7747a /ssl/ssl_local.h | |
parent | e5103dfc1200c2f4a450f8b4ff234ad84342d4b6 (diff) | |
download | openssl-bea8d70498c9ad0e2cca3652c748d327be7b841e.tar.gz |
Add support for setting a custom TLS Record Layer
This is just an internal API for now. Something like this will be made
public API at some point - but it is likely to be based on the provider
interface rather that a direct setting of a METHOD like we do for now.
Reviewed-by: Hugo Landau <hlandau@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/19748)
Diffstat (limited to 'ssl/ssl_local.h')
-rw-r--r-- | ssl/ssl_local.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/ssl/ssl_local.h b/ssl/ssl_local.h index 72aab22be8..25fa38137e 100644 --- a/ssl/ssl_local.h +++ b/ssl/ssl_local.h @@ -2984,4 +2984,8 @@ static ossl_unused ossl_inline void ssl_tsan_counter(const SSL_CTX *ctx, int ossl_comp_has_alg(int a); size_t ossl_calculate_comp_expansion(int alg, size_t length); +void ossl_ssl_set_custom_record_layer(SSL_CONNECTION *s, + const OSSL_RECORD_METHOD *meth, + void *rlarg); + #endif |