Fix for new include to pull in the AES GCM IV sizes in FIPS mode.

pull/3660/head
David Garske 2021-01-18 13:44:16 -08:00
parent 8d1d616b39
commit 59305e9346
1 changed files with 1 additions and 0 deletions

View File

@ -3935,6 +3935,7 @@ static WC_INLINE const char* mymktemp(char *tempfn, int len, int num)
#define WOLFSSL_TICKET_KEY_SZ CHACHA20_POLY1305_AEAD_KEYSIZE
#elif defined(HAVE_AESGCM)
#include <wolfssl/wolfcrypt/aes.h>
#include <wolfssl/wolfcrypt/wc_encrypt.h> /* AES IV sizes in FIPS mode */
#define WOLFSSL_TICKET_KEY_SZ AES_256_KEY_SIZE
#endif