Closes #33
This commit is contained in:
parent
913a2d2271
commit
44bf23dbad
@ -73,11 +73,10 @@ int main(void){
|
|||||||
|
|
||||||
strcpy(pw[j], password[j]);
|
strcpy(pw[j], password[j]);
|
||||||
|
|
||||||
int ok;
|
|
||||||
for(int k=0; k<3; k++){
|
for(int k=0; k<3; k++){
|
||||||
pwvrf[j] = crypt(getpass(prompt[j+2]), pw[j]);
|
pwvrf[j] = crypt(getpass(prompt[j+2]), pw[j]);
|
||||||
strcpy(pwv[j], pwvrf[j]);
|
strcpy(pwv[j], pwvrf[j]);
|
||||||
ok = strcmp(pw[j], pwv[j]) == 0;
|
int ok = strcmp(pw[j], pwv[j]) == 0;
|
||||||
if(!ok){
|
if(!ok){
|
||||||
if(k==2){
|
if(k==2){
|
||||||
printf("Didn't work. Bye.\n");
|
printf("Didn't work. Bye.\n");
|
||||||
|
Loading…
Reference in New Issue
Block a user