Skip to content

Commit fb766a0

Browse files
authored
Merge pull request #599 from RUB-NDS/providerCheckerFix
Fixed comparing of two classes.
2 parents b4642c8 + 8185f13 commit fb766a0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

TLS-Core/src/main/java/de/rub/nds/tlsattacker/core/workflow/BouncyCastleProviderChecker.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ public class BouncyCastleProviderChecker {
1616

1717
static boolean isLoaded() {
1818
for (Provider p : Security.getProviders()) {
19-
if (p.getClass().equals(BouncyCastleProvider.class)) {
19+
if (p.getClass().getName().equals(BouncyCastleProvider.class.getName())) {
2020
return true;
2121
}
2222
}

0 commit comments

Comments
 (0)