Removed unnecessary check for Enrollee nonce

This commit is contained in:
wiire-a 2017-12-19 19:38:49 +01:00
parent fb139003e9
commit 86292d5f89

View File

@ -1340,7 +1340,6 @@ usage_err:
if (wps->verbosity > 1) {
printf("\n [?] Mode: %u (%s)", found_p_mode, p_mode_name[found_p_mode]);
}
if (wps->e_nonce) {
if (wps->verbosity > 2) {
if (found_p_mode != NONE) {
if (found_p_mode == RTL819x) {
@ -1380,9 +1379,6 @@ usage_err:
printf("\n [*] Seed ES2: 0x%08x", wps->s2_seed);
}
}
}
}
if (wps->verbosity > 2) {
if (wps->dhkey) { /* To see if AuthKey was supplied or not */
printf("\n [*] DHKey: "); byte_array_print(wps->dhkey, WPS_HASH_LEN);
printf("\n [*] KDK: "); byte_array_print(wps->kdk, WPS_HASH_LEN);