From 45983c3b3223fd82209020376095c043d3648491 Mon Sep 17 00:00:00 2001 From: Sean Parkinson Date: Fri, 11 Nov 2016 12:17:32 +1000 Subject: [PATCH] Fix SHA224 enum in HMAC code --- wolfssl/wolfcrypt/hmac.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/wolfssl/wolfcrypt/hmac.h b/wolfssl/wolfcrypt/hmac.h index 2a71d2689..1d4930664 100644 --- a/wolfssl/wolfcrypt/hmac.h +++ b/wolfssl/wolfcrypt/hmac.h @@ -88,8 +88,8 @@ enum { #ifndef HAVE_BLAKE2 BLAKE2B_ID = 7, #endif -#ifndef WOLFSSL_SHA384 - SHA256 = 8, +#ifndef WOLFSSL_SHA224 + SHA224 = 8, #endif /* Select the largest available hash for the buffer size. */