mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2025-08-02 12:14:38 +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)
|
static int InitHmac(Hmac* hmac, int type)
|
||||||
{
|
{
|
||||||
hmac->innerHashKeyed = 0;
|
hmac->innerHashKeyed = 0;
|
||||||
hmac->macType = type;
|
hmac->macType = (byte)type;
|
||||||
|
|
||||||
if (!(type == MD5 || type == SHA || type == SHA256))
|
if (!(type == MD5 || type == SHA || type == SHA256))
|
||||||
return BAD_FUNC_ARG;
|
return BAD_FUNC_ARG;
|
||||||
|
Reference in New Issue
Block a user