Message ID | 20240122130909.10706-1-gert@greenie.muc.de |
---|---|
State | Accepted |
Headers | show |
Series | [Openvpn-devel,v1] Fix ssl unit tests on OpenSSL 1.0.2 | expand |
Good catch, "obviously correct" :-) Your patch has been applied to the master branch. Not applied to 2.6 since these new tests are not in release/2.6 - so, but not present. commit dc4fde8052639ffbc29ccc87130a0ce25f6dcd6c Author: Arne Schwabe Date: Mon Jan 22 14:09:09 2024 +0100 Fix ssl unit tests on OpenSSL 1.0.2 Acked-by: Frank Lichtenheld <frank@lichtenheld.com> Message-Id: <20240122130909.10706-1-gert@greenie.muc.de> URL: https://www.mail-archive.com/openvpn-devel@lists.sourceforge.net/msg28112.html Signed-off-by: Gert Doering <gert@greenie.muc.de> -- kind regards, Gert Doering
diff --git a/tests/unit_tests/openvpn/test_ssl.c b/tests/unit_tests/openvpn/test_ssl.c index fd2049f..d0c3df7 100644 --- a/tests/unit_tests/openvpn/test_ssl.c +++ b/tests/unit_tests/openvpn/test_ssl.c @@ -127,13 +127,13 @@ }; #if defined(ENABLE_CRYPTO_OPENSSL) - OpenSSL_add_all_algorithms(); + tls_init_lib(); #endif int ret = cmocka_run_group_tests_name("crypto tests", tests, NULL, NULL); #if defined(ENABLE_CRYPTO_OPENSSL) - EVP_cleanup(); + tls_free_lib(); #endif return ret;