1
0
mirror of https://github.com/moparisthebest/k-9 synced 2024-11-27 03:32:16 -05:00
Go to file
Danny Baumann 4b76027d5d Don't throw CertificateValidationException for all SSLExceptions.
An interrupted connection attempt to the server yields an SSLException
as well, like this:

E/k9      ( 6937): Caused by: javax.net.ssl.SSLHandshakeException: Connection closed by peer
E/k9      ( 6937):      at com.android.org.conscrypt.NativeCrypto.SSL_do_handshake(Native Method)
E/k9      ( 6937):      at com.android.org.conscrypt.OpenSSLSocketImpl.startHandshake(OpenSSLSocketImpl.java:302)
E/k9      ( 6937):      at com.android.org.conscrypt.OpenSSLSocketImpl.waitForHandshake(OpenSSLSocketImpl.java:598)
E/k9      ( 6937):      at com.android.org.conscrypt.OpenSSLSocketImpl.getInputStream(OpenSSLSocketImpl.java:560)
E/k9      ( 6937):      at com.fsck.k9.mail.store.ImapStore$ImapConnection.open(ImapStore.java:2459)

We don't want the user to notify of 'certificate problems' in that case.
Fix it by checking whether the SSLException was actually triggered by a
CertificateException.
2014-12-17 19:28:37 +01:00
.tx Add Transifex config 2014-01-04 01:52:09 +01:00
assets Recreate app icon from SVG file 2013-11-11 01:09:09 +01:00
compile-only-libs upgrade our android-support library in the hopes that the newer version 2013-07-17 18:36:31 -04:00
docs Added diagram that visualizes activity interactions 2011-10-27 19:13:13 +02:00
gradle/wrapper Use latest Gradle Android plugin and build tools 2014-06-14 03:29:44 +02:00
images Change appearance of unread widget 2013-03-16 01:57:21 +01:00
libs upgraded Mime4J 0.7-SNAPSHOT -> 0.7.2 (fixes MimeMultipart parser bug) 2012-08-15 01:47:57 +02:00
plugins Use latest Gradle Android plugin and build tools 2014-07-26 18:06:20 +02:00
res Update changelog for 5.001 2014-10-10 14:45:14 -04:00
src/com/fsck/k9 Don't throw CertificateValidationException for all SSLExceptions. 2014-12-17 19:28:37 +01:00
tests Fixes needed after merging in master 2014-07-04 19:23:43 -04:00
tests-on-jvm Fix 'testsOnJVM' Gradle task 2014-06-21 15:33:45 +02:00
tools Add script to fix up the files we pull from Transifex 2014-04-08 18:05:04 +02:00
.gitignore Remove old IntelliJ project files 2014-03-01 05:02:17 +01:00
.gitmodules Kill our use of submodules dead. They're too painful for new contributors 2012-11-24 17:15:01 -05:00
.project Remove ActionBarSherlock 2014-06-21 17:09:45 +02:00
Android.mk Remove ActionBarSherlock 2014-06-21 17:09:45 +02:00
AndroidManifest.xml Bumped manifest to 5.001 2014-10-10 14:48:18 -04:00
build_common.xml fixed location of ant-contrib.jar in build_common.xml when running ant from tests/. 2012-06-07 22:57:41 -05:00
build.gradle Use latest Gradle Android plugin and build tools 2014-07-26 18:06:20 +02:00
build.xml Remove ActionBarSherlock 2014-06-21 17:09:45 +02:00
gradlew Add Gradle wrapper 2013-11-07 06:48:10 +01:00
gradlew.bat Add Gradle wrapper 2013-11-07 06:48:10 +01:00
HTMLCLEANER_LICENSE Merge ashleywillis' changes in https://github.com/k9mail/k-9/pull/97. 2011-11-14 14:00:15 -08:00
lint.xml Ignore UnusedQuantity and MissingQuantity lint warnings for all translations 2014-09-09 00:10:14 +02:00
MODULE_LICENSE_APACHE2 Initial commit - This source code should be EXACTLY what the current version of the 'Email' application in the android repo looks like as of this date. 2008-10-28 01:04:44 +00:00
NOTICE Initial commit - This source code should be EXACTLY what the current version of the 'Email' application in the android repo looks like as of this date. 2008-10-28 01:04:44 +00:00
proguard.cfg Remove ActionBarSherlock 2014-06-21 17:09:45 +02:00
project.properties Remove ActionBarSherlock 2014-06-21 17:09:45 +02:00
settings.gradle Remove ActionBarSherlock 2014-06-21 17:09:45 +02:00