Skip to content

Commit 0bb2120

Browse files
committed
Merge branch 'stable-3.5'
* stable-3.5: Prepare 3.5.3-SNAPSHOT builds JGit v3.5.2.201411120430-r Don't use SSL anymore to avoid POODLE attack Change-Id: Icc8404a94512aae36da83baafb8b10422b7bbf7b Signed-off-by: Matthias Sohn <[email protected]>
2 parents 0fc8b05 + 3521712 commit 0bb2120

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

org.eclipse.jgit/src/org/eclipse/jgit/transport/http/JDKHttpConnection.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,7 @@ public void setHostnameVerifier(HostnameVerifier hostnameverifier) {
186186
public void configure(KeyManager[] km, TrustManager[] tm,
187187
SecureRandom random) throws NoSuchAlgorithmException,
188188
KeyManagementException {
189-
SSLContext ctx = SSLContext.getInstance("SSL"); //$NON-NLS-1$
189+
SSLContext ctx = SSLContext.getInstance("TLS"); //$NON-NLS-1$
190190
ctx.init(km, tm, random);
191191
((HttpsURLConnection) wrappedUrlConnection).setSSLSocketFactory(ctx
192192
.getSocketFactory());

0 commit comments

Comments
 (0)