Moving macType below hash in WOLFSSL_EVP_MD_CTX (instead of ALIGN16) to resolve 16-bit alignment crash I was seeing on CentOS due to size change of “WOLFSSL_Hasher”.

This commit is contained in:
David Garske 2016-12-28 16:31:41 -08:00
parent c4af58b973
commit e75fddd49e

View File

@ -101,8 +101,8 @@ typedef union {
typedef struct WOLFSSL_EVP_MD_CTX {
WOLFSSL_Hasher hash;
unsigned char macType;
ALIGN16 WOLFSSL_Hasher hash;
} WOLFSSL_EVP_MD_CTX;