forgot to commit a file
This commit is contained in:
@@ -17,7 +17,7 @@
|
|||||||
|
|
||||||
package org.sufficientlysecure.keychain.network;
|
package org.sufficientlysecure.keychain.network;
|
||||||
|
|
||||||
import java.io.IOException;
|
|
||||||
import java.net.Proxy;
|
import java.net.Proxy;
|
||||||
import java.net.URL;
|
import java.net.URL;
|
||||||
import java.util.concurrent.TimeUnit;
|
import java.util.concurrent.TimeUnit;
|
||||||
@@ -46,8 +46,7 @@ public class OkHttpClientFactory {
|
|||||||
.build();
|
.build();
|
||||||
}
|
}
|
||||||
|
|
||||||
public static OkHttpClient getClientPinnedIfAvailable(URL url, Proxy proxy)
|
public static OkHttpClient getClientPinnedIfAvailable(URL url, Proxy proxy) {
|
||||||
throws IOException, TlsCertificatePinning.TlsCertificatePinningException {
|
|
||||||
OkHttpClient.Builder builder = new OkHttpClient.Builder();
|
OkHttpClient.Builder builder = new OkHttpClient.Builder();
|
||||||
|
|
||||||
// don't follow any redirects for keyservers, as discussed in the security audit
|
// don't follow any redirects for keyservers, as discussed in the security audit
|
||||||
|
|||||||
Reference in New Issue
Block a user