mirror of https://github.com/M66B/FairEmail.git
Unacceptable
This commit is contained in:
parent
7f57fbf421
commit
bb4e6056ca
|
@ -501,7 +501,8 @@ public class ContactInfo {
|
||||||
"Connection closed by peer".equals(ex.getMessage())) ||
|
"Connection closed by peer".equals(ex.getMessage())) ||
|
||||||
(ex instanceof SSLHandshakeException &&
|
(ex instanceof SSLHandshakeException &&
|
||||||
ex.getMessage() != null &&
|
ex.getMessage() != null &&
|
||||||
ex.getMessage().contains("usually a protocol error")) ||
|
(ex.getMessage().contains("usually a protocol error") ||
|
||||||
|
ex.getMessage().contains("Unacceptable certificate"))) ||
|
||||||
(ex instanceof SSLHandshakeException &&
|
(ex instanceof SSLHandshakeException &&
|
||||||
(ex.getCause() instanceof SSLProtocolException ||
|
(ex.getCause() instanceof SSLProtocolException ||
|
||||||
ex.getCause() instanceof CertificateException ||
|
ex.getCause() instanceof CertificateException ||
|
||||||
|
|
Loading…
Reference in New Issue