build fix for aesccm + devcrypto=cbc + wpas and afalg

This commit is contained in:
Jacob Barthelmeh
2019-08-30 16:15:48 -06:00
parent ef20276ab5
commit 9fd38dc340
2 changed files with 9 additions and 13 deletions

View File

@@ -1045,6 +1045,10 @@ AC_ARG_ENABLE([afalg],
if test "$ENABLED_AFALG" = "yes"
then
if test "$ENABLED_AESCCM" = "yes"
then
AM_CFLAGS="$AM_CFLAGS -DWOLFSSL_AES_DIRECT"
fi
AM_CFLAGS="$AM_CFLAGS -DWOLFSSL_AFALG"
AM_CFLAGS="$AM_CFLAGS -DWOLFSSL_AFALG_HASH"
fi