1
0
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:
Matias Fontanini
2015-04-02 21:58:52 -07:00
parent 021f596cf0
commit 5edd5932ba
2 changed files with 9 additions and 5 deletions

View File

@@ -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)