Skip to content

Commit

Permalink
no ssl level calls
Browse files Browse the repository at this point in the history
  • Loading branch information
anhu committed Nov 12, 2024
1 parent 10b651f commit 9d69ee4
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions src/internal.c
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,6 @@
#include <wolfssl/wolfcrypt/rsa.h>
#include <wolfssl/wolfcrypt/asn_public.h>
#include <wolfssl/wolfcrypt/aes.h>
#include <wolfssl/ssl.h>

#include <wolfpkcs11/internal.h>
#include <wolfpkcs11/store.h>
Expand Down Expand Up @@ -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;
Expand Down Expand Up @@ -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);
}
Expand Down

0 comments on commit 9d69ee4

Please sign in to comment.