Skip to content

Commit

Permalink
removing ignore logic from ConnectionIT
Browse files Browse the repository at this point in the history
  • Loading branch information
sfc-gh-mknister committed Apr 19, 2022
1 parent 262486c commit e4e2718
Showing 1 changed file with 2 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@

@Category(TestCategoryFips.class)
public class ConnectionFipsIT extends AbstractDriverIT {
/*
private static final String JCE_PROVIDER_BOUNCY_CASTLE_FIPS = "BCFIPS";
private static final String JCE_PROVIDER_SUN_JCE = "SunJCE";
private static final String JCE_PROVIDER_SUN_RSA_SIGN = "SunRsaSign";
Expand Down Expand Up @@ -138,7 +137,7 @@ public static void setup() throws Exception {
System.setProperty(JAVA_SYSTEM_PROPERTY_SSL_CIPHERSUITES, SSL_ENABLED_CIPHERSUITES);
/*
* Insert BouncyCastle's FIPS-compliant encryption and SSL providers.
*
*/
BouncyCastleFipsProvider bcFipsProvider =
new BouncyCastleFipsProvider(BOUNCY_CASTLE_RNG_HYBRID_MODE);

Expand All @@ -149,7 +148,7 @@ public static void setup() throws Exception {
*
* JavaDoc for insertProviderAt states:
* "A provider cannot be added if it is already installed."
*
*/
Security.removeProvider(JCE_PROVIDER_BOUNCY_CASTLE_FIPS);
Security.insertProviderAt(bcFipsProvider, 1);
if (!CryptoServicesRegistrar.isInApprovedOnlyMode()) {
Expand Down Expand Up @@ -330,6 +329,4 @@ private static void connectToGoogle() throws Exception {

System.out.println("Connected to Google successfully");
}
*/
}

0 comments on commit e4e2718

Please sign in to comment.