mirror of https://github.com/moparisthebest/k-9
4b76027d5d
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. |
||
---|---|---|
.. | ||
activity | ||
cache | ||
controller | ||
crypto | ||
fragment | ||
helper | ||
net/ssl | ||
preferences | ||
provider | ||
remotecontrol | ||
search | ||
security | ||
service | ||
view | ||
Account.java | ||
AccountStats.java | ||
BaseAccount.java | ||
Clock.java | ||
EmailAddressAdapter.java | ||
EmailAddressValidator.java | ||
FontSizes.java | ||
Identity.java | ||
K9.java | ||
NotificationSetting.java | ||
PRNGFixes.java | ||
Preferences.java | ||
Throttle.java |