Skip to content

Commit

Permalink
OkHttp 3.1
Browse files Browse the repository at this point in the history
  • Loading branch information
JakeWharton committed Feb 7, 2016
1 parent 1f23c5b commit f2ceca5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -149,8 +149,8 @@ dependencies {
compile 'com.squareup.dagger:dagger:1.2.2'
apt 'com.squareup.dagger:dagger-compiler:1.2.2'

compile 'com.squareup.okhttp3:okhttp:3.0.1'
compile 'com.squareup.okhttp3:logging-interceptor:3.0.1'
compile 'com.squareup.okhttp3:okhttp:3.1.0'
compile 'com.squareup.okhttp3:logging-interceptor:3.1.0'
compile 'com.squareup.picasso:picasso:2.5.2'
compile 'com.jakewharton.picasso:picasso2-okhttp3-downloader:1.0.1'
compile 'com.squareup.retrofit2:retrofit:2.0.0-beta4'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ private static SSLSocketFactory createBadSslSocketFactory() {
}

@Override public X509Certificate[] getAcceptedIssuers() {
return null;
return new X509Certificate[0];
}
};
context.init(null, new TrustManager[] { permissive }, null);
Expand Down

0 comments on commit f2ceca5

Please sign in to comment.