Add zlib oneshot compression
[openssl.git] / ssl / statem / statem_lib.c
index 1634dd85943d23848a8f2e3abb01a2d54e66a809..155afd5d91c702bdb3faedde8fd83885022514b4 100644 (file)
@@ -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();