From b9e1e876a4e6a18825a0086e611d4d78605dfbc7 Mon Sep 17 00:00:00 2001 From: Todd A Ouska Date: Tue, 12 Jul 2011 13:29:43 -0700 Subject: [PATCH] hmac warning changes, submitted by Kevin Baca --- ctaocrypt/src/hmac.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ctaocrypt/src/hmac.c b/ctaocrypt/src/hmac.c index 80867eb65..6c1a2d052 100644 --- a/ctaocrypt/src/hmac.c +++ b/ctaocrypt/src/hmac.c @@ -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;