From 1f4ea552cdfefbb731b8b9848a77445b11abfdd9 Mon Sep 17 00:00:00 2001 From: iNPUTmice Date: Tue, 22 Jul 2014 18:58:20 +0200 Subject: [PATCH] some cleanup --- res/layout/cert_warning.xml | 41 ------------------- .../services/XmppConnectionService.java | 2 - 2 files changed, 43 deletions(-) delete mode 100644 res/layout/cert_warning.xml diff --git a/res/layout/cert_warning.xml b/res/layout/cert_warning.xml deleted file mode 100644 index fffe3266..00000000 --- a/res/layout/cert_warning.xml +++ /dev/null @@ -1,41 +0,0 @@ - - - - - - - - - - - - diff --git a/src/eu/siacs/conversations/services/XmppConnectionService.java b/src/eu/siacs/conversations/services/XmppConnectionService.java index 03d1a48d..a12fb954 100644 --- a/src/eu/siacs/conversations/services/XmppConnectionService.java +++ b/src/eu/siacs/conversations/services/XmppConnectionService.java @@ -367,8 +367,6 @@ public class XmppConnectionService extends Service { PRNGFixes.apply(); this.mRandom = new SecureRandom(); this.mMemorizingTrustManager = new MemorizingTrustManager(getApplicationContext()); - this.mMemorizingTrustManager.wrapHostnameVerifier( - new org.apache.http.conn.ssl.StrictHostnameVerifier()); this.databaseBackend = DatabaseBackend .getInstance(getApplicationContext()); this.fileBackend = new FileBackend(getApplicationContext());