mirror of
https://github.com/mfontanini/libtins
synced 2026-01-28 12:44:25 +01:00
Don't compile WPA2 test if LIBTINS_ENABLE_WPA2=0.
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
#include "config.h"
|
||||
|
||||
#ifdef HAVE_DOT11
|
||||
#if defined(HAVE_DOT11) && defined(HAVE_WPA2_DECRYPTION)
|
||||
|
||||
#include <gtest/gtest.h>
|
||||
#include <cstring>
|
||||
@@ -221,4 +221,4 @@ TEST_F(WPA2DecryptTest, DecryptCCMPAndTKIPWithoutUsingBeacon) {
|
||||
}
|
||||
}
|
||||
|
||||
#endif // HAVE_DOT11
|
||||
#endif // defined(HAVE_DOT11) && defined(HAVE_WPA2_DECRYPTION)
|
||||
|
||||
Reference in New Issue
Block a user