Skip to content

Commit

Permalink
Pixewps 1.1 enforces mutual exclusivity with -r and -S options.
Browse files Browse the repository at this point in the history
  • Loading branch information
ldm314 committed May 30, 2015
1 parent 368ccc6 commit 6b2a649
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions src/wps/wps_registrar.c
Original file line number Diff line number Diff line change
Expand Up @@ -1838,8 +1838,12 @@ static int wps_process_e_hash2(struct wps_data *wps, const u8 *e_hash2)

strcat(cmd_pixie,"pixiewps -e ");
strcat(cmd_pixie,pixie_pke);
strcat(cmd_pixie," -r ");
strcat(cmd_pixie,pixie_pkr);

if(globule->dh_small != 1){
strcat(cmd_pixie," -r ");
strcat(cmd_pixie,pixie_pkr);
}

strcat(cmd_pixie," -s ");
strcat(cmd_pixie,pixie_ehash1);
strcat(cmd_pixie," -z ");
Expand Down

0 comments on commit 6b2a649

Please sign in to comment.