Skip to content

Commit

Permalink
Merge pull request #13 from Raizlabs/update-tls-version
Browse files Browse the repository at this point in the history
update tls version
  • Loading branch information
Drufyre authored May 31, 2018
2 parents 3990a10 + 4d2585d commit efe6bf2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
public class SimpleSSLSocketFactory implements SocketFactory, LayeredSocketFactory {
private static SSLContext createSSLContext(TrustManager trustManager) {
try {
SSLContext context = SSLContext.getInstance("TLS");
SSLContext context = SSLContext.getInstance("TLSv1.2");
context.init(null, new TrustManager[] { trustManager }, new SecureRandom());
return context;
} catch (NoSuchAlgorithmException e) {
Expand Down
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
VERSION_NAME=1.0.1
VERSION_NAME=1.0.2
ARTIFACT_NAME = WebServiceManager
GROUP_NAME = com.raizlabs
GIT_URL = https://github.com/Raizlabs/AndroidWebServiceManager.git
Expand Down

0 comments on commit efe6bf2

Please sign in to comment.