don't print password

instead remind the user the password might be wrong.
This commit is contained in:
Klas Lindfors
2014-02-06 08:01:37 +01:00
parent f3f89d8f48
commit d0f7a291b2
+1 -1
View File
@@ -521,7 +521,7 @@ static bool import_key(SCARDHANDLE *card, enum enum_key_format key_format,
goto import_out;
}
if(PKCS12_parse(p12, password, &private_key, &cert, NULL) == 0) {
fprintf(stderr, "Failed to parse PKCS12 structure. (password: %s)\n", password);
fprintf(stderr, "Failed to parse PKCS12 structure. (wrong password?)\n");
ret = false;
goto import_out;
}