mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2025-07-31 19:24:42 +02:00
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:
@@ -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;
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user