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 <matthias.sohn@sap.com>
This commit is contained in:
commit
0bb212019a
|
@ -186,7 +186,7 @@ public void setHostnameVerifier(HostnameVerifier hostnameverifier) {
|
|||
public void configure(KeyManager[] km, TrustManager[] tm,
|
||||
SecureRandom random) throws NoSuchAlgorithmException,
|
||||
KeyManagementException {
|
||||
SSLContext ctx = SSLContext.getInstance("SSL"); //$NON-NLS-1$
|
||||
SSLContext ctx = SSLContext.getInstance("TLS"); //$NON-NLS-1$
|
||||
ctx.init(km, tm, random);
|
||||
((HttpsURLConnection) wrappedUrlConnection).setSSLSocketFactory(ctx
|
||||
.getSocketFactory());
|
||||
|
|
Loading…
Reference in New Issue