re-add SNI support to guardianproject.info repo
Apparently, it uses SNI, but does not always fail without SNI support.
This commit is contained in:
parent
4aa44cb150
commit
d27210f897
@ -113,8 +113,7 @@ public class HttpDownloader extends Downloader {
|
||||
// workaround until NetCipher supports HTTPS SNI
|
||||
// https://gitlab.com/fdroid/fdroidclient/issues/431
|
||||
if (connection instanceof HttpsURLConnection
|
||||
&& !TextUtils.equals(sourceUrl.getHost(), "f-droid.org")
|
||||
&& !TextUtils.equals(sourceUrl.getHost(), "guardianproject.info")) {
|
||||
&& !TextUtils.equals(sourceUrl.getHost(), "f-droid.org")) {
|
||||
((HttpsURLConnection) connection).setSSLSocketFactory(HttpsURLConnection.getDefaultSSLSocketFactory());
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user