mirror of
https://github.com/moparisthebest/k-9
synced 2024-11-23 18:02:15 -05:00
aaf3963567
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. |
||
---|---|---|
.tx | ||
assets | ||
compile-only-libs | ||
config/checkstyle | ||
docs | ||
gradle/wrapper | ||
images | ||
libs | ||
plugins | ||
res | ||
src/com/fsck/k9 | ||
tests | ||
tests-on-jvm | ||
tools | ||
.gitattributes | ||
.gitignore | ||
.gitmodules | ||
.project | ||
Android.mk | ||
AndroidManifest.xml | ||
build_common.xml | ||
build.gradle | ||
build.xml | ||
gradlew | ||
gradlew.bat | ||
HTMLCLEANER_LICENSE | ||
lint.xml | ||
MODULE_LICENSE_APACHE2 | ||
NOTICE | ||
proguard.cfg | ||
project.properties | ||
settings.gradle |