Skip to content

Commit

Permalink
Check if PKI has been installed and configured
Browse files Browse the repository at this point in the history
  • Loading branch information
JavaJoeS committed May 2, 2024
1 parent 2ba449b commit 27dbca0
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ public IStatus download(URI toDownload, OutputStream target, IProgressMonitor mo
boolean useJREHttp = false;
try {
// DELMARVA - is org.eclipse.core.pki installed and configured
if (SSLContext.getDefault().getProvider().getName().contains("PKCS")) { //$NON-NLS-1$
if (SSLContext.getDefault().getProvider().getName().contains("TLS")) { //$NON-NLS-1$
useJREHttp = true;
Activator.getDefault().useJREHttpClient();
}
Expand Down

0 comments on commit 27dbca0

Please sign in to comment.