Skip to content

Commit 38f26c0

Browse files
committed
note on no longer needed provider registration hack
1 parent 6230c59 commit 38f26c0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/org/jruby/ext/openssl/SecurityHelper.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -202,7 +202,7 @@ static CertificateFactory getCertificateFactory(final String type, final Provide
202202
final CertificateFactorySpi spi;
203203
boolean addedBC = false;
204204
synchronized(SecurityHelper.class) {
205-
try {
205+
try { // TODO fixed since BC 1.55 (only needed on 1.54) and should be removed eventually ...
206206
if (provider.getName().equals(BC_PROVIDER_NAME) && Security.getProvider(BC_PROVIDER_NAME) == null) {
207207
Security.addProvider(provider);
208208
addedBC = true;

0 commit comments

Comments
 (0)