diff options
author | Sean Leonard <meanderingcode@aetherislands.net> | 2013-08-01 15:19:22 -0600 |
---|---|---|
committer | Sean Leonard <meanderingcode@aetherislands.net> | 2013-08-01 15:19:22 -0600 |
commit | 4ee80745c72a56c5b3f407efa3e9ac88c7c3154e (patch) | |
tree | 33f0d83c1e104f2b0c6bc915e57208314d5f8cb8 | |
parent | a1a03615cb9c4f978142b234f028e718eb91a103 (diff) | |
parent | 381956b28a5b015767b884cff099e0956ef38d96 (diff) |
Merge branch 'hotfix/disabled-hostname-verifier' into develop
-rw-r--r-- | src/se/leap/leapclient/LeapHttpClient.java | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/se/leap/leapclient/LeapHttpClient.java b/src/se/leap/leapclient/LeapHttpClient.java index 686d3cc0..d28476c3 100644 --- a/src/se/leap/leapclient/LeapHttpClient.java +++ b/src/se/leap/leapclient/LeapHttpClient.java @@ -65,15 +65,12 @@ public class LeapHttpClient extends DefaultHttpClient { /** * Uses keystore from ConfigHelper for the SSLSocketFactory. - * - * Sets hostname verifier to allow all hostname verifier. * @return */ private SSLSocketFactory newSslSocketFactory() { try { KeyStore trusted = ConfigHelper.getKeystore(); SSLSocketFactory sf = new SSLSocketFactory(trusted); - sf.setHostnameVerifier(SSLSocketFactory.ALLOW_ALL_HOSTNAME_VERIFIER); return sf; } catch (Exception e) { |