mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2025-08-03 04:34:41 +02:00
Remove SSL_library_init() calls in unit tests to fix valgrind issues
This commit is contained in:
@@ -523,7 +523,7 @@ static void test_wolfSSL_Method_Allocators(void)
|
||||
TEST_VALID_METHOD_ALLOCATOR(wolfSSLv3_client_method);
|
||||
#endif
|
||||
#endif
|
||||
#ifdef WOLFLSL_ALLOW_TLSV10
|
||||
#ifdef WOLFSSL_ALLOW_TLSV10
|
||||
#ifndef NO_WOLFSSL_SERVER
|
||||
TEST_VALID_METHOD_ALLOCATOR(wolfTLSv1_server_method);
|
||||
#endif
|
||||
@@ -25401,8 +25401,6 @@ static void test_wolfSSL_sk_CIPHER_description(void)
|
||||
|
||||
printf(testingFmt, "wolfSSL_sk_CIPHER_description");
|
||||
|
||||
SSL_library_init();
|
||||
|
||||
AssertNotNull(method = TLSv1_client_method());
|
||||
AssertNotNull(ctx = SSL_CTX_new(method));
|
||||
|
||||
@@ -25460,8 +25458,6 @@ static void test_wolfSSL_get_ciphers_compat(void)
|
||||
|
||||
printf(testingFmt, "wolfSSL_get_ciphers_compat");
|
||||
|
||||
SSL_library_init();
|
||||
|
||||
AssertNotNull(method = TLSv1_client_method());
|
||||
AssertNotNull(ctx = SSL_CTX_new(method));
|
||||
|
||||
|
Reference in New Issue
Block a user