From 5fce4192dc17095149c9bcb2bc7d874c0409d9fd Mon Sep 17 00:00:00 2001 From: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com> Date: Fri, 14 Feb 2025 18:13:42 +0000 Subject: [PATCH] Fix shadowed idx variable in PemToDer Co-Authored-By: lealem@wolfssl.com --- wolfcrypt/src/asn.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wolfcrypt/src/asn.c b/wolfcrypt/src/asn.c index 0be4c2069..21405c2a4 100644 --- a/wolfcrypt/src/asn.c +++ b/wolfcrypt/src/asn.c @@ -25786,7 +25786,7 @@ int PemToDer(const unsigned char* buff, long longSz, int type, #endif /* Extract hash type from PBES2 parameters */ - word32 idx = 0; + idx = 0; int hashType; DECL_ASNGETDATA(dataASN, pbes2ParamsASN_Length); CALLOC_ASNGETDATA(dataASN, pbes2ParamsASN_Length, ret, NULL);