Delta Chat Core C Interface
Macros
DC_CERTCK

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

Macros

#define DC_CERTCK_ACCEPT_INVALID_CERTIFICATES   3
 Accept invalid certificates, including self-signed ones or having incorrect hostname.
 
#define DC_CERTCK_ACCEPT_INVALID_HOSTNAMES   2
 Accept invalid hostnames, but not invalid certificates.
 
#define DC_CERTCK_AUTO   0
 Configure certificate checks automatically.
 
#define DC_CERTCK_STRICT   1
 Strictly check TLS certificates; require that both the certificate and 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".