mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-12 21:05:36 +00:00
Fix the secure random provider for the DSAME folks
This commit is contained in:
parent
fcc917f873
commit
efed69eb89
@ -38,8 +38,9 @@ public class PKCS11SecureRandom extends java.security.SecureRandomSpi {
|
||||
|
||||
JSSSecureRandom engine;
|
||||
|
||||
PKCS11SecureRandom() {
|
||||
public PKCS11SecureRandom() {
|
||||
super();
|
||||
System.out.println("In PKCS11SecureRandom constructor");
|
||||
engine = TokenSupplierManager.getTokenSupplier().getSecureRNG();
|
||||
}
|
||||
|
||||
|
@ -76,7 +76,7 @@ public class Provider extends java.security.Provider {
|
||||
/////////////////////////////////////////////////////////////
|
||||
// SecureRandom
|
||||
/////////////////////////////////////////////////////////////
|
||||
put("mozilla.pkcs11.prng",
|
||||
put("SecureRandom.pkcs11prng",
|
||||
"org.mozilla.jss.provider.PKCS11SecureRandom");
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user