From 9d69ee490bbf42b11964999b615f94611975aad8 Mon Sep 17 00:00:00 2001 From: Anthony Hu Date: Tue, 12 Nov 2024 15:03:45 -0500 Subject: [PATCH] no ssl level calls --- src/internal.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/src/internal.c b/src/internal.c index 185106f..6be6632 100644 --- a/src/internal.c +++ b/src/internal.c @@ -39,7 +39,6 @@ #include #include #include -#include #include #include @@ -3376,9 +3375,9 @@ static void wp11_Slot_Final(WP11_Slot* slot) static int wp11_Slot_Init(WP11_Slot* slot, int id) { int ret = 0; - char label[LABEL_SZ] = { 0, }; int i; WP11_Session* curr; + char label[LABEL_SZ] = { 0, }; XMEMSET(slot, 0, sizeof(*slot)); slot->id = id; @@ -3457,9 +3456,6 @@ int WP11_Library_Init(void) if (ret == 0) { #ifdef WOLFSSL_MAXQ10XX_CRYPTO ret = wolfCrypt_Init(); - wolfSSL_Init(); - wolfSSL_Debugging_ON(); - wolfSSL_CTX_new(wolfTLSv1_2_client_method()); if (ret == 0) { ret = wc_InitRng_ex(&globalRandom, NULL, MAXQ_DEVICE_ID); }