File tree Expand file tree Collapse file tree 2 files changed +7
-1
lines changed
src/com/koushikdutta/async Expand file tree Collapse file tree 2 files changed +7
-1
lines changed Original file line number Diff line number Diff line change 11<?xml version =" 1.0" encoding =" UTF-8" ?>
22<lint >
3- </lint >
3+ <!-- Adding assertions into the codebase is intentional, so we can
4+ ignore this error -->
5+ <issue id =" Assert" severity =" ignore" />
6+ </lint >
Original file line number Diff line number Diff line change 11package com .koushikdutta .async ;
22
3+ import android .annotation .SuppressLint ;
34import android .os .Build ;
45
56import com .koushikdutta .async .callback .CompletedCallback ;
@@ -70,6 +71,8 @@ public java.security.cert.X509Certificate[] getAcceptedIssuers() {
7071 return new X509Certificate [0 ];
7172 }
7273
74+ // this TrustManager only applies a fix, the actual certificate chaine verification is done elsewhere
75+ @ SuppressLint ("TrustAllX509TrustManager" )
7376 public void checkClientTrusted (java .security .cert .X509Certificate [] certs , String authType ) {
7477 }
7578
You can’t perform that action at this time.
0 commit comments