mirror of
https://github.com/mfontanini/libtins
synced 2026-01-28 20:44:26 +01:00
Code cleanup and use same syntax on the entire project
Initial code cleanup More code cleanup Cleanup more code Cleanup Dot11 code Fix OSX build issue Cleanup examples Fix ref and pointer declaration syntax Fix braces
This commit is contained in:
@@ -17,7 +17,7 @@ public:
|
||||
static const uint8_t eapol_over_snap[];
|
||||
static const uint8_t broken_eapol[];
|
||||
|
||||
void test_equals(const RSNEAPOL &eapol1, const RSNEAPOL &eapol2);
|
||||
void test_equals(const RSNEAPOL& eapol1, const RSNEAPOL& eapol2);
|
||||
};
|
||||
|
||||
uint8_t empty_iv[RSNEAPOL::key_iv_size] = { 0 };
|
||||
@@ -79,7 +79,7 @@ const uint8_t RSNEAPOLTest::broken_eapol[] = {
|
||||
179, 86
|
||||
};
|
||||
|
||||
void RSNEAPOLTest::test_equals(const RSNEAPOL &eapol1, const RSNEAPOL &eapol2) {
|
||||
void RSNEAPOLTest::test_equals(const RSNEAPOL& eapol1, const RSNEAPOL& eapol2) {
|
||||
EXPECT_EQ(eapol1.version(), eapol2.version());
|
||||
EXPECT_EQ(eapol1.packet_type(), eapol2.packet_type());
|
||||
EXPECT_EQ(eapol1.type(), eapol2.type());
|
||||
|
||||
Reference in New Issue
Block a user