Delta Chat Core C Interface
Loading...
Searching...
No Matches
Macros
DC_CERTCK

Macros

#define DC_CERTCK_ACCEPT_INVALID_CERTIFICATES   3
 Accept invalid certificates, including self-signed ones or having incorrect hostname.
 
#define DC_CERTCK_AUTO   0
 Configure certificate checks automatically.
 
#define DC_CERTCK_STRICT   1
 Strictly check TLS certificates; requires that both the certificate and the hostname are valid.
 

Detailed Description

These constants configure TLS certificate checks for IMAP and SMTP connections.

These constants are set via dc_set_config() using keys "imap_certificate_checks" and "smtp_certificate_checks".