Skip to content

Commit

Permalink
set MP bit 7 on option nonce-error-correctins
Browse files Browse the repository at this point in the history
  • Loading branch information
= committed Sep 5, 2024
1 parent 96f15b8 commit ac1e13a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions hcxpcapngtool.c
Original file line number Diff line number Diff line change
Expand Up @@ -2165,6 +2165,9 @@ for(zeigerhs = zeigerhsakt; zeigerhs < handshakelistptr; zeigerhs++)
zeigerhs->status |= 0x80;
// zeigerhs->status &= ~(1 << 7);
}
if((ncvalue > 0) && ((zeigerhs->status & 0x10) == 0)) zeigerhs->status |= 0x80;


wpak = (wpakey_t*)(zeigerhs->eapol +EAPAUTH_SIZE);
keyvertemp = ntohs(wpak->keyinfo) & WPA_KEY_INFO_TYPE_MASK;
memcpy(&eapoltemp, zeigerhs->eapol, zeigerhs->eapauthlen);
Expand Down

0 comments on commit ac1e13a

Please sign in to comment.