mirror of
https://github.com/moparisthebest/davmail
synced 2024-12-13 11:12:22 -05:00
Fix TrustManager log message
git-svn-id: http://svn.code.sf.net/p/davmail/code/trunk@336 3d1905a2-6b24-0410-a738-b14d5a86fcbd
This commit is contained in:
parent
0d46a57842
commit
609b092435
@ -62,7 +62,7 @@ public class DavGatewayX509TrustManager implements X509TrustManager {
|
|||||||
// if user already accepted a certificate,
|
// if user already accepted a certificate,
|
||||||
if (acceptedCertificateHash != null && acceptedCertificateHash.length() > 0
|
if (acceptedCertificateHash != null && acceptedCertificateHash.length() > 0
|
||||||
&& acceptedCertificateHash.equals(certificateHash)) {
|
&& acceptedCertificateHash.equals(certificateHash)) {
|
||||||
DavGatewayTray.debug("Found permanently accepted cerfificate, hash " + acceptedCertificateHash);
|
DavGatewayTray.debug("Found permanently accepted certificate, hash " + acceptedCertificateHash);
|
||||||
} else {
|
} else {
|
||||||
|
|
||||||
if (!AcceptCertificateDialog.isCertificateTrusted(x509Certificates[0])) {
|
if (!AcceptCertificateDialog.isCertificateTrusted(x509Certificates[0])) {
|
||||||
|
Loading…
Reference in New Issue
Block a user