diff options
author | sashan <anedvedicky@gmail.com> | 2024-05-16 06:33:55 +0200 |
---|---|---|
committer | Tomas Mraz <tomas@openssl.org> | 2024-05-28 08:56:13 +0200 |
commit | da9342ed5edabfbbd658e35f6bad1831682cc7e7 (patch) | |
tree | 00cf057471eefa0ba61357afc1206e3d19e36ec6 /test | |
parent | 184d29dbabbb6c7a5cc829d3ac4b966f781d2b2e (diff) | |
download | openssl-da9342ed5edabfbbd658e35f6bad1831682cc7e7.zip openssl-da9342ed5edabfbbd658e35f6bad1831682cc7e7.tar.gz openssl-da9342ed5edabfbbd658e35f6bad1831682cc7e7.tar.bz2 |
Move stack of compression methods from libssl to OSSL_LIB_CTX
The compression methods are now a global variable in libssl.
This change moves it into OSSL library context.
It is necessary to eliminate atexit call from libssl.
Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/24414)
Diffstat (limited to 'test')
-rw-r--r-- | test/ssl_old_test.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/ssl_old_test.c b/test/ssl_old_test.c index 3e668e1..18677af 100644 --- a/test/ssl_old_test.c +++ b/test/ssl_old_test.c @@ -1346,7 +1346,7 @@ int main(int argc, char *argv[]) int j; printf("Available compression methods:"); for (j = 0; j < n; j++) { - SSL_COMP *c = sk_SSL_COMP_value(ssl_comp_methods, j); + const SSL_COMP *c = sk_SSL_COMP_value(ssl_comp_methods, j); printf(" %s:%d", SSL_COMP_get0_name(c), SSL_COMP_get_id(c)); } printf("\n"); |