This commit is contained in:
Bandie 2018-04-02 01:20:51 +02:00
parent 913a2d2271
commit 44bf23dbad
Signed by: Bandie
GPG Key ID: C1E133BC65A822DD

View File

@ -73,11 +73,10 @@ int main(void){
strcpy(pw[j], password[j]);
int ok;
for(int k=0; k<3; k++){
pwvrf[j] = crypt(getpass(prompt[j+2]), pw[j]);
strcpy(pwv[j], pwvrf[j]);
ok = strcmp(pw[j], pwv[j]) == 0;
int ok = strcmp(pw[j], pwv[j]) == 0;
if(!ok){
if(k==2){
printf("Didn't work. Bye.\n");