Skip to content

Commit

Permalink
Merge pull request #16 from ldm314/pixiewps_1_1
Browse files Browse the repository at this point in the history
Pixiewps 1.1 enforces mutual exclusivity with -r and -S options.
  • Loading branch information
t6x committed May 31, 2015
2 parents 368ccc6 + 6b2a649 commit a41ae4f
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions src/wps/wps_registrar.c
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 a41ae4f

Please sign in to comment.