File tree Expand file tree Collapse file tree 3 files changed +10
-4
lines changed
src/com/koushikdutta/async Expand file tree Collapse file tree 3 files changed +10
-4
lines changed Original file line number Diff line number Diff line change @@ -22,12 +22,12 @@ android {
2222 }
2323
2424 defaultConfig {
25- targetSdkVersion 24
25+ targetSdkVersion 25
2626 minSdkVersion 9
2727 }
2828
29- compileSdkVersion 24
30- buildToolsVersion ' 24.0.2 '
29+ compileSdkVersion 25
30+ buildToolsVersion ' 24.0.3 '
3131}
3232
3333// upload to maven task
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