summaryrefslogtreecommitdiff
path: root/src/se/leap/leapclient
diff options
context:
space:
mode:
authorSean Leonard <meanderingcode@aetherislands.net>2013-08-01 15:19:22 -0600
committerSean Leonard <meanderingcode@aetherislands.net>2013-08-01 15:19:22 -0600
commit4ee80745c72a56c5b3f407efa3e9ac88c7c3154e (patch)
tree33f0d83c1e104f2b0c6bc915e57208314d5f8cb8 /src/se/leap/leapclient
parenta1a03615cb9c4f978142b234f028e718eb91a103 (diff)
parent381956b28a5b015767b884cff099e0956ef38d96 (diff)
Merge branch 'hotfix/disabled-hostname-verifier' into develop
Diffstat (limited to 'src/se/leap/leapclient')
-rw-r--r--src/se/leap/leapclient/LeapHttpClient.java3
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) {