Merge pull request #2685 from open-keychain/fix_changing_admin_key__issue_2684
Don't explicitly clear PIN when verifying admin PIN
This commit is contained in:
commit
df2356995c
|
@ -414,7 +414,6 @@ public class SecurityTokenConnection {
|
|||
// delete secrets from memory
|
||||
Arrays.fill(pin, (byte) 0);
|
||||
Arrays.fill(transformedPin, (byte) 0);
|
||||
adminPin.removeFromMemory();
|
||||
|
||||
ResponseApdu response = communicate(verifyPw3Command);
|
||||
if (!response.isSuccess()) {
|
||||
|
|
Loading…
Reference in New Issue