Sniffer and Encrypt-Then-Mac

The sniffer doesn't know how to deal with ETM. If the sniffer is enabled, disble ETM.
pull/2489/head
John Safranek 2019-10-01 13:00:55 -07:00
parent ea68e146c7
commit 7261ed8b6f
1 changed files with 2 additions and 0 deletions

View File

@ -3420,6 +3420,8 @@ then
ENABLED_ENCRYPT_THEN_MAC=yes
fi
AS_IF([test "x$ENABLED_SNIFFER" == "xyes"],[ENABLED_ENCRYPT_THEN_MAC="no"])
if test "x$ENABLED_ENCRYPT_THEN_MAC" = "xyes"
then
AM_CFLAGS="$AM_CFLAGS -DHAVE_ENCRYPT_THEN_MAC"