mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2025-08-01 03:34:39 +02:00
hmac warning changes, submitted by Kevin Baca
This commit is contained in:
@@ -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;
|
||||
|
Reference in New Issue
Block a user