mirror of
https://github.com/nextcloud/talk-android.git
synced 2024-11-24 05:55:39 +03:00
Clean up
Signed-off-by: Mario Danic <mario@lovelyhq.com>
This commit is contained in:
parent
4856d06d69
commit
a0dbae9290
1 changed files with 2 additions and 2 deletions
|
@ -92,7 +92,7 @@ public class MagicTrustManager implements X509TrustManager {
|
|||
return new MagicHostnameVerifier(defaultHostNameVerifier);
|
||||
}
|
||||
|
||||
public boolean isCertInTrustStore(X509Certificate[] x509Certificates, String s) {
|
||||
private boolean isCertInTrustStore(X509Certificate[] x509Certificates, String s) {
|
||||
if (systemTrustManager != null) {
|
||||
X509Certificate x509Certificate = x509Certificates[0];
|
||||
try {
|
||||
|
@ -164,7 +164,7 @@ public class MagicTrustManager implements X509TrustManager {
|
|||
private static final String TAG = "MagicHostnameVerifier";
|
||||
private HostnameVerifier defaultHostNameVerifier;
|
||||
|
||||
public MagicHostnameVerifier(HostnameVerifier defaultHostNameVerifier) {
|
||||
private MagicHostnameVerifier(HostnameVerifier defaultHostNameVerifier) {
|
||||
this.defaultHostNameVerifier = defaultHostNameVerifier;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue