Enable the ability to query the COMP_METHOD being used in the record layer
authorMatt Caswell <matt@openssl.org>
Thu, 15 Sep 2022 15:03:02 +0000 (16:03 +0100)
committerMatt Caswell <matt@openssl.org>
Wed, 5 Oct 2022 14:21:37 +0000 (15:21 +0100)
commit1e76110b7214a4fb39dc1397cbc4771538d06f39
tree527d121cb5878f5b8892ae5036c22f985b54ae17
parent9251c3c4c7695b6268fcd122e18643d61f02b5dd
Enable the ability to query the COMP_METHOD being used in the record layer

We also convert to passing COMP_METHOD rather than SSL_COMP to the record
layer. The former is a public type while the latter is internal only - and
the only thing we need from SSL_COMP is the method.

Reviewed-by: Tomas Mraz <tomas@openssl.org>
Reviewed-by: Hugo Landau <hlandau@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/19217)
12 files changed:
ssl/record/methods/dtls_meth.c
ssl/record/methods/ktls_meth.c
ssl/record/methods/recmethod_local.h
ssl/record/methods/ssl3_meth.c
ssl/record/methods/tls13_meth.c
ssl/record/methods/tls1_meth.c
ssl/record/methods/tls_common.c
ssl/record/methods/tlsany_meth.c
ssl/record/rec_layer_s3.c
ssl/record/recordmethod.h
ssl/ssl_lib.c
test/sslapitest.c