8129560: TestKeyPairGenerator.java fails on Solaris because private exponent needs to comply with FIPS 186-4
Reviewed-by: mullan
This commit is contained in:
parent
9b77da0f46
commit
7123bf01ab
@ -107,7 +107,7 @@ public class TestKeyPairGenerator extends PKCS11Test {
|
||||
data = new byte[2048];
|
||||
// keypair generation is very slow, test only a few short keys
|
||||
int[] keyLengths = {512, 512, 1024};
|
||||
BigInteger[] pubExps = {null, BigInteger.valueOf(3), null};
|
||||
BigInteger[] pubExps = {null, RSAKeyGenParameterSpec.F4, null};
|
||||
KeyPair[] keyPairs = new KeyPair[3];
|
||||
RandomFactory.getRandom().nextBytes(data);
|
||||
KeyPairGenerator kpg = KeyPairGenerator.getInstance("RSA", provider);
|
||||
|
Loading…
x
Reference in New Issue
Block a user