src/java.base/share/classes/sun/security/rsa/RSAKeyPairGenerator.java
changeset 52430 4ee78b5583f9
parent 50204 3195a713e24d
--- a/src/java.base/share/classes/sun/security/rsa/RSAKeyPairGenerator.java	Tue Nov 06 23:03:05 2018 +0100
+++ b/src/java.base/share/classes/sun/security/rsa/RSAKeyPairGenerator.java	Wed Nov 07 01:04:26 2018 +0000
@@ -70,7 +70,7 @@
     public void initialize(int keySize, SecureRandom random) {
         try {
             initialize(new RSAKeyGenParameterSpec(keySize,
-                    RSAKeyGenParameterSpec.F4), null);
+                    RSAKeyGenParameterSpec.F4), random);
         } catch (InvalidAlgorithmParameterException iape) {
             throw new InvalidParameterException(iape.getMessage());
         }