Skip to content

Commit 2405dae

Browse files
committed
Fixing warning in cookbook reported by Snyk
Mostly just testing to ensure that the warning goes away in Snyk.
1 parent 5441932 commit 2405dae

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/src/main/java/com/marklogic/client/example/cookbook/KerberosSSLClientCreator.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ public X509Certificate[] getAcceptedIssuers() {
6161
};
6262

6363
// create an SSL context
64-
SSLContext sslContext = SSLContext.getInstance("SSLv3");
64+
SSLContext sslContext = SSLContext.getInstance("TLSv1.2");
6565
sslContext.init(null, new TrustManager[] { naiveTrustMgr }, null);
6666

6767
// create the client

0 commit comments

Comments
 (0)