mirror of
https://codeberg.org/monocles/monocles_chat.git
synced 2025-01-28 07:54:11 +01:00
update ssl for internal updater
This commit is contained in:
parent
87926a020a
commit
2508c00e92
2 changed files with 2 additions and 2 deletions
src/main/java/eu/siacs/conversations
|
@ -57,7 +57,7 @@ public class UpdateService extends AsyncTask<String, Object, UpdateService.Wrapp
|
|||
SSLContext sslcontext = null;
|
||||
SSLSocketFactory NoSSLv3Factory = null;
|
||||
try {
|
||||
sslcontext = SSLContext.getInstance("TLSv1");
|
||||
sslcontext = SSLContext.getInstance("TLSv1.2");
|
||||
if (sslcontext != null) {
|
||||
sslcontext.init(null, null, null);
|
||||
NoSSLv3Factory = new NoSSLv3SocketFactory(sslcontext.getSocketFactory());
|
||||
|
|
|
@ -336,7 +336,7 @@ public class UpdaterActivity extends XmppActivity {
|
|||
SSLContext sslcontext = null;
|
||||
SSLSocketFactory NoSSLv3Factory = null;
|
||||
try {
|
||||
sslcontext = SSLContext.getInstance("TLSv1");
|
||||
sslcontext = SSLContext.getInstance("TLSv1.2");
|
||||
if (sslcontext != null) {
|
||||
sslcontext.init(null, null, null);
|
||||
NoSSLv3Factory = new NoSSLv3SocketFactory(sslcontext.getSocketFactory());
|
||||
|
|
Loading…
Add table
Reference in a new issue