mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 23:34:52 +02:00
8042904: apple.security.KeychainStore.getSalt() calling generateSeed()
Reviewed-by: jnimeh
This commit is contained in:
parent
f5f5767eae
commit
61c0225c71
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue