diff options
author | Eugene Tarassov | 2018-08-22 19:24:58 +0000 |
---|---|---|
committer | Eugene Tarassov | 2018-08-22 19:51:11 +0000 |
commit | 3ed69ee3c25ba7b0fcdd6331916f620d3cc7df29 (patch) | |
tree | 3f69e5e3c5e81c21b717797aab1a769d51a78bce /plugins/org.eclipse.tcf/src | |
parent | 618694e83ee107c878b5a244b2c6225dcf563860 (diff) | |
download | org.eclipse.tcf-3ed69ee3c25ba7b0fcdd6331916f620d3cc7df29.tar.gz org.eclipse.tcf-3ed69ee3c25ba7b0fcdd6331916f620d3cc7df29.tar.xz org.eclipse.tcf-3ed69ee3c25ba7b0fcdd6331916f620d3cc7df29.zip |
TCF Core: added support for TCF over HTTP
Diffstat (limited to 'plugins/org.eclipse.tcf/src')
-rw-r--r-- | plugins/org.eclipse.tcf/src/org/eclipse/tcf/ssl/TCFSecurityManager.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/org.eclipse.tcf/src/org/eclipse/tcf/ssl/TCFSecurityManager.java b/plugins/org.eclipse.tcf/src/org/eclipse/tcf/ssl/TCFSecurityManager.java index c18bc4178..d98201c9a 100644 --- a/plugins/org.eclipse.tcf/src/org/eclipse/tcf/ssl/TCFSecurityManager.java +++ b/plugins/org.eclipse.tcf/src/org/eclipse/tcf/ssl/TCFSecurityManager.java @@ -1,5 +1,5 @@ /******************************************************************************* - * Copyright (c) 2009, 2012 Wind River Systems, Inc. and others. + * Copyright (c) 2009-2018 Wind River Systems, Inc. and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at @@ -205,7 +205,7 @@ public class TCFSecurityManager { } public void checkServerTrusted(X509Certificate[] chain, String auth_type) throws CertificateException { - if ("RSA".equals(auth_type) && chain != null && chain.length == 1) { //$NON-NLS-1$ + if (chain != null && chain.length == 1) { //$NON-NLS-1$ for (X509Certificate cert : getAcceptedIssuers()) { if (cert.equals(chain[0])) return; } |