fix hashType warning on Linux

This commit is contained in:
Chris Conlon
2014-11-07 17:19:11 -07:00
parent 138ce50bae
commit 4d819dea87
2 changed files with 3 additions and 3 deletions

View File

@@ -2894,9 +2894,9 @@ word32 EncodeSignature(byte* out, const byte* digest, word32 digSz, int hashOID)
}
int GetCTC_HashOID(int hashType)
int GetCTC_HashOID(int type)
{
switch (hashType) {
switch (type) {
#ifdef CYASSL_MD2
case MD2:
return MD2h;

View File

@@ -184,7 +184,7 @@ CYASSL_API int SetDatesBuffer(Cert*, const byte*, int);
/* DER encode signature */
CYASSL_API word32 EncodeSignature(byte* out, const byte* digest, word32 digSz,
int hashOID);
CYASSL_API int GetCTC_HashOID(int hashType);
CYASSL_API int GetCTC_HashOID(int type);
#ifdef __cplusplus
} /* extern "C" */