if using SHA-512 but not SHA-384, fix so that HMAC still works

This commit is contained in:
John Safranek 2013-04-03 16:41:44 -07:00
parent 786e4d9462
commit bf69de7054

View File

@ -58,6 +58,9 @@ enum {
MD5 = 0,
#endif
#if defined(CYASSL_SHA512)
#ifndef CYASSL_SHA384
SHA384 = 5,
#endif
INNER_HASH_SIZE = SHA512_DIGEST_SIZE,
HMAC_BLOCK_SIZE = SHA512_BLOCK_SIZE
#elif defined(CYASSL_SHA384)