forked from wolfSSL/wolfssl
Fix shadowed idx variable in PemToDer
Co-Authored-By: lealem@wolfssl.com <lealem@wolfssl.com>
This commit is contained in:
@@ -25786,7 +25786,7 @@ int PemToDer(const unsigned char* buff, long longSz, int type,
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* Extract hash type from PBES2 parameters */
|
/* Extract hash type from PBES2 parameters */
|
||||||
word32 idx = 0;
|
idx = 0;
|
||||||
int hashType;
|
int hashType;
|
||||||
DECL_ASNGETDATA(dataASN, pbes2ParamsASN_Length);
|
DECL_ASNGETDATA(dataASN, pbes2ParamsASN_Length);
|
||||||
CALLOC_ASNGETDATA(dataASN, pbes2ParamsASN_Length, ret, NULL);
|
CALLOC_ASNGETDATA(dataASN, pbes2ParamsASN_Length, ret, NULL);
|
||||||
|
Reference in New Issue
Block a user