Skip to content

Commit

Permalink
removed service priming code for DEFAULT - with latest JVMs it appear…
Browse files Browse the repository at this point in the history
…s to have the opposite to intended affect. Relates to github bcgit#1549
  • Loading branch information
dghgit committed Dec 29, 2023
1 parent 3a7aed2 commit a4e57f2
Showing 1 changed file with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -253,8 +253,6 @@ private void setup()
put("CertStore.LDAP", "org.bouncycastle.jce.provider.X509LDAPCertStoreSpi");
put("CertStore.Multi", "org.bouncycastle.jce.provider.MultiCertStoreSpi");
put("Alg.Alias.CertStore.X509LDAP", "LDAP");

getService("SecureRandom", "DEFAULT"); // prime for new SecureRandom() on 1.8 JVMs.
}

public final Service getService(final String type, final String algorithm)
Expand Down

0 comments on commit a4e57f2

Please sign in to comment.