Skip to content

Conversation

Fmstrat
Copy link

@Fmstrat Fmstrat commented Apr 25, 2015

To heighten SSL security and fix the issue reported here: #97

@@ -287,7 +287,7 @@ public void checkServerTrusted(X509Certificate[] chain, String authType) {
try {
SSLContext context = SSLContext.getInstance("TLS");
context.init(null, trustAllCerts, new SecureRandom());
TRUSTED_FACTORY = context.getSocketFactory();
TRUSTED_FACTORY = new TLSSocketFactory(context);`
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This code does not compile because of the trailing `

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah, crud. Will need to rebuild. My compiler didn't pick this up because I was making the edits in the cached file.

@Fmstrat
Copy link
Author

Fmstrat commented Aug 7, 2015

Updated to fix the compiler error. Should be good now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants