From 6d7e50d2ae4cfe529e74ef3f17c21642e6c66643 Mon Sep 17 00:00:00 2001 From: Eric Blankenhorn Date: Wed, 24 Nov 2021 09:22:14 -0600 Subject: [PATCH] Initialize global in TSIP port --- wolfcrypt/src/port/Renesas/renesas_tsip_util.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wolfcrypt/src/port/Renesas/renesas_tsip_util.c b/wolfcrypt/src/port/Renesas/renesas_tsip_util.c index 4ba869452..dbb50e8ba 100644 --- a/wolfcrypt/src/port/Renesas/renesas_tsip_util.c +++ b/wolfcrypt/src/port/Renesas/renesas_tsip_util.c @@ -52,7 +52,7 @@ static tsip_key_data g_user_key_info; /* tsip only keep one encrypted ca public key */ #if defined(WOLFSSL_RENESAS_TSIP_TLS) static uint32_t g_encrypted_publicCA_key[R_TSIP_SINST_WORD_SIZE]; -static uint32_t g_CAscm_Idx; /* index of CM table */ +static uint32_t g_CAscm_Idx = (uint32_t)-1; /* index of CM table */ #endif