File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
library/src/main/java/com/loopj/android/http Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -60,9 +60,10 @@ public class MySSLSocketFactory extends SSLSocketFactory {
60
60
61
61
try {
62
62
sslContext = SSLContext .getInstance ("TLSv1.2" );
63
+ Log .w ("SSLSocketFactory" , "TLSv1.2 is supported" );
63
64
} catch (NoSuchAlgorithmException e ) {
64
65
// TODO fallback v1.1 if needed
65
- Log_OC .w (TAG , "TLSv1.2 is not supported in this device; falling through TLSv1.0" );
66
+ Log .w ("SSLSocketFactory" , "TLSv1.2 is not supported in this device; falling through TLSv1.0" );
66
67
sslContext = SSLContext .getInstance ("TLSv1" );
67
68
// should be available in any device; see reference of supported protocols in
68
69
// http://developer.android.com/reference/javax/net/ssl/SSLSocket.html
You can’t perform that action at this time.
0 commit comments