hmac warning changes, submitted by Kevin Baca

This commit is contained in:
Todd A Ouska
2011-07-12 13:29:43 -07:00
parent 73fa2104e5
commit b9e1e876a4

View File

@@ -30,7 +30,7 @@
static int InitHmac(Hmac* hmac, int type)
{
hmac->innerHashKeyed = 0;
hmac->macType = type;
hmac->macType = (byte)type;
if (!(type == MD5 || type == SHA || type == SHA256))
return BAD_FUNC_ARG;