diff --git a/wolfssl/wolfcrypt/pwdbased.h b/wolfssl/wolfcrypt/pwdbased.h index f8dd4e9c0..0e644dda2 100644 --- a/wolfssl/wolfcrypt/pwdbased.h +++ b/wolfssl/wolfcrypt/pwdbased.h @@ -33,16 +33,19 @@ extern "C" { #endif - +/* + * hashType renamed to typeH to avoid shadowing global declation here: + * wolfssl/wolfcrypt/asn.h line 173 in enum Oid_Types + */ WOLFSSL_API int wc_PBKDF1(byte* output, const byte* passwd, int pLen, const byte* salt, int sLen, int iterations, int kLen, - int hashType); + int typeH); WOLFSSL_API int wc_PBKDF2(byte* output, const byte* passwd, int pLen, const byte* salt, int sLen, int iterations, int kLen, - int hashType); + int typeH); WOLFSSL_API int wc_PKCS12_PBKDF(byte* output, const byte* passwd, int pLen, const byte* salt, int sLen, int iterations, - int kLen, int hashType, int purpose); + int kLen, int typeH, int purpose); #ifdef __cplusplus