Enable strict TLS certificate checks by default

This commit is contained in:
Alexander Krotov
2020-06-05 08:33:55 +03:00
committed by holger krekel
parent d97d9980dd
commit 6d9ff3d248
4 changed files with 14 additions and 22 deletions

View File

@@ -68,9 +68,8 @@ DC_LP_IMAP_SOCKET_PLAIN = 0x400
DC_LP_SMTP_SOCKET_STARTTLS = 0x10000
DC_LP_SMTP_SOCKET_SSL = 0x20000
DC_LP_SMTP_SOCKET_PLAIN = 0x40000
DC_CERTCK_AUTO = 0
DC_CERTCK_ACCEPT_INVALID_CERTIFICATES = 0
DC_CERTCK_STRICT = 1
DC_CERTCK_ACCEPT_INVALID_CERTIFICATES = 3
DC_EMPTY_MVBOX = 0x01
DC_EMPTY_INBOX = 0x02
DC_EVENT_INFO = 100