Skip to content

Commit

Permalink
Set 0x80 to hccapx.message_pair in case TEST_REPLAYCOUNT is set to 1 …
Browse files Browse the repository at this point in the history
…in cap2hccapx.c
  • Loading branch information
jsteube committed Apr 22, 2017
1 parent 0e599a6 commit c07d319
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGES
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
- Check for zero timestamp and abort if detected in cap2hccapx.c
- Decrease EAPOL timeout from 2 to 1 in cap2hccapx.c
- Disable check for matching replay count in cap2hccap.c (can be reenabled by setting TEST_REPLAYCOUNT to 1)
- Set 0x80 to hccapx.message_pair in case TEST_REPLAYCOUNT is set to 1 in cap2hccapx.c

* v1.6 -> v1.7

Expand Down
4 changes: 4 additions & 0 deletions src/cap2hccapx.c
Original file line number Diff line number Diff line change
Expand Up @@ -1087,6 +1087,10 @@ int main (int argc, char *argv[])

hccapx.message_pair = message_pair;

#if TEST_REPLAYCOUNT == 1
hccapx.message_pair |= 0x80;
#endif

hccapx.essid_len = essid->essid_len;
memcpy (&hccapx.essid, essid->essid, 32);

Expand Down

0 comments on commit c07d319

Please sign in to comment.