Fix shadowed idx variable in PemToDer

Co-Authored-By: lealem@wolfssl.com <lealem@wolfssl.com>
devin/1739556249-pem-hash-algorithm-fix
Devin AI 2025-02-14 18:13:42 +00:00
parent 20643226b6
commit 5fce4192dc
1 changed files with 1 additions and 1 deletions

View File

@ -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);