Skip to content

Commit

Permalink
Removed print of N1 if not found
Browse files Browse the repository at this point in the history
  • Loading branch information
wiire-a committed Nov 25, 2017
1 parent c7a237e commit d290994
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/pixiewps.c
Expand Up @@ -1367,7 +1367,10 @@ int main(int argc, char **argv)
printf(" (%s UTC)", buffer);
}
else {
printf("\n [*] Seed N1: 0x%08x", nonce_seed);
if (found_p_mode = RT && nonce_seed == 0)
printf("\n [*] Seed N1: -");
else
printf("\n [*] Seed N1: 0x%08x", nonce_seed);
printf("\n [*] Seed ES1: 0x%08x", s1_seed);
printf("\n [*] Seed ES2: 0x%08x", s2_seed);
}
Expand Down

0 comments on commit d290994

Please sign in to comment.