author | coffeys |
Tue, 28 May 2019 19:19:58 +0100 | |
changeset 55063 | 51c699875f7c |
parent 55062 | 45128070fd15 |
child 55065 | 103f9068c39f |
src/java.base/macosx/classes/apple/security/KeychainStore.java | file | annotate | diff | comparison | revisions |
--- a/src/java.base/macosx/classes/apple/security/KeychainStore.java Tue May 28 10:54:59 2019 -0700 +++ b/src/java.base/macosx/classes/apple/security/KeychainStore.java Tue May 28 19:19:58 2019 +0100 @@ -1050,7 +1050,7 @@ if (random == null) { random = new SecureRandom(); } - salt = random.generateSeed(SALT_LEN); + random.nextBytes(salt); return salt; }