mirror of
https://github.com/chatmail/core.git
synced 2026-05-07 08:56:30 +03:00
Also remove smtp_certificate_checks references from non-rust code
This commit is contained in:
@@ -406,7 +406,6 @@ char* dc_get_blobdir (const dc_context_t* context);
|
|||||||
* - `proxy_enabled` = Proxy enabled. Disabled by default.
|
* - `proxy_enabled` = Proxy enabled. Disabled by default.
|
||||||
* - `proxy_url` = Proxy URL. May contain multiple URLs separated by newline, but only the first one is used.
|
* - `proxy_url` = Proxy URL. May contain multiple URLs separated by newline, but only the first one is used.
|
||||||
* - `imap_certificate_checks` = how to check IMAP certificates, one of the @ref DC_CERTCK flags, defaults to #DC_CERTCK_AUTO (0)
|
* - `imap_certificate_checks` = how to check IMAP certificates, one of the @ref DC_CERTCK flags, defaults to #DC_CERTCK_AUTO (0)
|
||||||
* - `smtp_certificate_checks` = deprecated option, should be set to the same value as `imap_certificate_checks` but ignored by the new core
|
|
||||||
* - `displayname` = Own name to use when sending messages. MUAs are allowed to spread this way e.g. using CC, defaults to empty
|
* - `displayname` = Own name to use when sending messages. MUAs are allowed to spread this way e.g. using CC, defaults to empty
|
||||||
* - `selfstatus` = Own status to display, e.g. in e-mail footers, defaults to empty
|
* - `selfstatus` = Own status to display, e.g. in e-mail footers, defaults to empty
|
||||||
* - `selfavatar` = File containing avatar. Will immediately be copied to the
|
* - `selfavatar` = File containing avatar. Will immediately be copied to the
|
||||||
@@ -5802,7 +5801,7 @@ int64_t dc_lot_get_timestamp (const dc_lot_t* lot);
|
|||||||
* These constants configure TLS certificate checks for IMAP and SMTP connections.
|
* These constants configure TLS certificate checks for IMAP and SMTP connections.
|
||||||
*
|
*
|
||||||
* These constants are set via dc_set_config()
|
* These constants are set via dc_set_config()
|
||||||
* using keys "imap_certificate_checks" and "smtp_certificate_checks".
|
* using the key "imap_certificate_checks".
|
||||||
*
|
*
|
||||||
* @addtogroup DC_CERTCK
|
* @addtogroup DC_CERTCK
|
||||||
* @{
|
* @{
|
||||||
|
|||||||
@@ -427,7 +427,6 @@ class ACFactory:
|
|||||||
if self.pytestconfig.getoption("--strict-tls"):
|
if self.pytestconfig.getoption("--strict-tls"):
|
||||||
# Enable strict certificate checks for online accounts
|
# Enable strict certificate checks for online accounts
|
||||||
configdict["imap_certificate_checks"] = str(const.DC_CERTCK_STRICT)
|
configdict["imap_certificate_checks"] = str(const.DC_CERTCK_STRICT)
|
||||||
configdict["smtp_certificate_checks"] = str(const.DC_CERTCK_STRICT)
|
|
||||||
|
|
||||||
assert "addr" in configdict and "mail_pw" in configdict
|
assert "addr" in configdict and "mail_pw" in configdict
|
||||||
return configdict
|
return configdict
|
||||||
@@ -499,7 +498,6 @@ class ACFactory:
|
|||||||
"addr": cloned_from.get_config("addr"),
|
"addr": cloned_from.get_config("addr"),
|
||||||
"mail_pw": cloned_from.get_config("mail_pw"),
|
"mail_pw": cloned_from.get_config("mail_pw"),
|
||||||
"imap_certificate_checks": cloned_from.get_config("imap_certificate_checks"),
|
"imap_certificate_checks": cloned_from.get_config("imap_certificate_checks"),
|
||||||
"smtp_certificate_checks": cloned_from.get_config("smtp_certificate_checks"),
|
|
||||||
}
|
}
|
||||||
configdict.update(kwargs)
|
configdict.update(kwargs)
|
||||||
ac = self._get_cached_account(addr=configdict["addr"]) if cache else None
|
ac = self._get_cached_account(addr=configdict["addr"]) if cache else None
|
||||||
|
|||||||
Reference in New Issue
Block a user