diff options
author | Todd Short <tshort@akamai.com> | 2022-11-03 13:20:07 -0400 |
---|---|---|
committer | Tomas Mraz <tomas@openssl.org> | 2022-11-07 11:23:13 +0100 |
commit | 3840271e984010132380892817c1e1173f4a1576 (patch) | |
tree | 1d3f57460988443aa851730d67d91220a5003a3d /ssl/statem | |
parent | f5a10d5cc19215ab22be55b4a2ee1e41bd38fb14 (diff) |
Add zlib oneshot compression
Fixes #19520
Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/19603)
Diffstat (limited to 'ssl/statem')
-rw-r--r-- | ssl/statem/statem_clnt.c | 2 | ||||
-rw-r--r-- | ssl/statem/statem_lib.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/ssl/statem/statem_clnt.c b/ssl/statem/statem_clnt.c index 3021bc1952..402654b7a4 100644 --- a/ssl/statem/statem_clnt.c +++ b/ssl/statem/statem_clnt.c @@ -3689,7 +3689,7 @@ CON_FUNC_RETURN tls_construct_client_compressed_certificate(SSL_CONNECTION *sc, switch (alg) { case TLSEXT_comp_cert_zlib: - method = COMP_zlib(); + method = COMP_zlib_oneshot(); break; case TLSEXT_comp_cert_brotli: method = COMP_brotli_oneshot(); diff --git a/ssl/statem/statem_lib.c b/ssl/statem/statem_lib.c index 1634dd8594..155afd5d91 100644 --- a/ssl/statem/statem_lib.c +++ b/ssl/statem/statem_lib.c @@ -2520,7 +2520,7 @@ MSG_PROCESS_RETURN tls13_process_compressed_certificate(SSL_CONNECTION *sc, } switch (comp_alg) { case TLSEXT_comp_cert_zlib: - method = COMP_zlib(); + method = COMP_zlib_oneshot(); break; case TLSEXT_comp_cert_brotli: method = COMP_brotli_oneshot(); |