8042904: apple.security.KeychainStore.getSalt() calling generateSeed()
Reviewed-by: jnimeh
This commit is contained in:
parent
f5f5767eae
commit
61c0225c71
@ -1050,7 +1050,7 @@ public final class KeychainStore extends KeyStoreSpi {
|
||||
if (random == null) {
|
||||
random = new SecureRandom();
|
||||
}
|
||||
salt = random.generateSeed(SALT_LEN);
|
||||
random.nextBytes(salt);
|
||||
return salt;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user