aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tests/unit_tests/openvpn/test_ssl.c4
1 files changed, 2 insertions, 2 deletions
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 @@ main(void)
};
#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;