Add support for setting a custom TLS Record Layer
authorMatt Caswell <matt@openssl.org>
Thu, 10 Nov 2022 16:05:16 +0000 (16:05 +0000)
committerMatt Caswell <matt@openssl.org>
Tue, 24 Jan 2023 17:16:29 +0000 (17:16 +0000)
commitbea8d70498c9ad0e2cca3652c748d327be7b841e
tree95817d019a017fd36a10a9845a4c669434e7747a
parente5103dfc1200c2f4a450f8b4ff234ad84342d4b6
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)
include/internal/recordmethod.h
ssl/record/methods/dtls_meth.c
ssl/record/methods/ktls_meth.c
ssl/record/methods/tls_common.c
ssl/record/rec_layer_s3.c
ssl/record/record.h
ssl/ssl_local.h
test/tls13encryptiontest.c