Skip to content

Commit

Permalink
Add R-Nonce and Model Name output
Browse files Browse the repository at this point in the history
  • Loading branch information
t6x committed Apr 28, 2015
1 parent 485a6b8 commit 61a96dc
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions src/wps/wps_registrar.c
Original file line number Diff line number Diff line change
Expand Up @@ -1394,6 +1394,20 @@ static struct wpabuf * wps_build_m2(struct wps_data *wps)
wpa_hexdump(MSG_DEBUG, "WPS: Registrar Nonce",
wps->nonce_r, WPS_NONCE_LEN);
wpa_hexdump(MSG_DEBUG, "WPS: UUID-R", wps->uuid_r, WPS_UUID_LEN);


printf("[P] R-Nonce: ");
int pixiecnt = 0;
for (; pixiecnt < WPS_NONCE_LEN; pixiecnt++)
{
printf("%02x", wps->nonce_r[pixiecnt]);
if (pixiecnt != WPS_NONCE_LEN - 1) {
printf(":");
}
}
printf("\n");
/******/


wpa_printf(MSG_DEBUG, "WPS: Building Message M2");
msg = wpabuf_alloc(1000);
Expand Down

0 comments on commit 61a96dc

Please sign in to comment.