diff options
author | Sean Leonard <meanderingcode@aetherislands.net> | 2013-02-05 17:26:59 -0700 |
---|---|---|
committer | Sean Leonard <meanderingcode@aetherislands.net> | 2013-02-05 17:26:59 -0700 |
commit | f7704e52429ebc32b62be4b3443a224c74b2c0b8 (patch) | |
tree | 560accf480a6b5c3ecb6e82cc9968c5edcb93eb4 /src/se/leap/leapclient/LeapHttpClient.java | |
parent | 2045c946b0f67c0415909bb1e459ac00af1359b9 (diff) | |
parent | 1d5f1c320ee67cfadd62aeef056a043bee75096d (diff) |
Merge branch 'wizard' of ssh://leap.se/leap_android into wizard
Conflicts:
src/se/leap/leapclient/Dashboard.java
Diffstat (limited to 'src/se/leap/leapclient/LeapHttpClient.java')
-rw-r--r-- | src/se/leap/leapclient/LeapHttpClient.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/se/leap/leapclient/LeapHttpClient.java b/src/se/leap/leapclient/LeapHttpClient.java index 41cb7879..9e1a541b 100644 --- a/src/se/leap/leapclient/LeapHttpClient.java +++ b/src/se/leap/leapclient/LeapHttpClient.java @@ -49,7 +49,7 @@ public class LeapHttpClient extends DefaultHttpClient { SSLSocketFactory sf = new SSLSocketFactory(trusted); // Hostname verification from certificate // http://hc.apache.org/httpcomponents-client-ga/tutorial/html/connmgmt.html#d4e506 - sf.setHostnameVerifier(SSLSocketFactory.STRICT_HOSTNAME_VERIFIER); + sf.setHostnameVerifier(SSLSocketFactory.ALLOW_ALL_HOSTNAME_VERIFIER); return sf; } catch (Exception e) { throw new AssertionError(e); |