k-9/src/com/fsck/k9
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
..
activity Remove gallery bug work-around 2014-09-07 23:35:18 +02:00
cache Avoid CursorIndexOutOfBoundsException when deleting a message 2013-08-23 04:16:00 +02:00
controller Merge pull request #485 from haselwarter 2014-09-04 23:55:30 +02:00
crypto Remove ActionBarSherlock 2014-06-21 17:09:45 +02:00
fragment Merge pull request #474 from k9mail/tls-client-cert-auth 2014-08-30 01:06:28 +02:00
helper Eliminate DomainNameChecker 2014-09-06 19:32:03 -04:00
mail Don't throw CertificateValidationException for all SSLExceptions. 2014-12-17 19:28:37 +01:00
net/ssl Revert "Implement SSL file-based session caching" 2014-10-10 14:39:35 -04:00
preferences Remove gallery bug work-around 2014-09-07 23:35:18 +02:00
provider Remove code for unsupported API levels 2014-08-19 17:17:55 -04:00
remotecontrol Eliminate obsolete background data sync option 2014-08-19 17:14:44 -04:00
search use Set instead of implementation type 2014-02-15 23:59:24 +01:00
security Move KeyChainKeyManager 2014-08-11 11:08:24 -04:00
service Eliminate obsolete background data sync option 2014-08-19 17:14:44 -04:00
view Merge pull request #474 from k9mail/tls-client-cert-auth 2014-08-30 01:06:28 +02:00
Account.java Merge pull request #485 from haselwarter 2014-09-04 23:55:30 +02:00
AccountStats.java Grey out unavailable accounts. 2011-03-19 12:36:58 -05:00
BaseAccount.java astyle-d 2011-02-26 18:39:06 -06:00
Clock.java Move AOSP files. 2013-11-05 16:26:27 -05:00
EmailAddressAdapter.java Don't use EmailAddressAdapter as singleton 2012-04-11 03:26:45 +02:00
EmailAddressValidator.java astyle-d 2011-02-26 18:39:06 -06:00
FontSizes.java Remove old setting for message content font size 2014-02-13 04:22:45 +01:00
Identity.java astyle-d 2011-02-26 18:39:06 -06:00
K9.java Remove unused imports 2014-09-09 18:56:36 -04:00
NotificationSetting.java astyle-d 2011-02-26 18:39:06 -06:00
PRNGFixes.java Some assorted warning fixes. 2013-09-25 15:20:43 +02:00
Preferences.java Eliminate the need to pass a context to LocalKeyStore.getInstance 2013-12-03 19:24:37 -05:00
Throttle.java Move AOSP files. 2013-11-05 16:26:27 -05:00