mirror of
https://github.com/moparisthebest/imapfilter
synced 2024-08-13 16:53:51 -04:00
Fix disabled STARTTLS functionality.
This commit is contained in:
parent
2cafede975
commit
fe5f789f8e
@ -178,7 +178,7 @@ request_login(session **ssnptr, const char *server, const char *port, const
|
||||
goto fail;
|
||||
|
||||
#ifndef NO_SSLTLS
|
||||
if (!ssl && ssn->capabilities & CAPABILITY_STARTTLS &&
|
||||
if (!ssn->ssl && ssn->capabilities & CAPABILITY_STARTTLS &&
|
||||
get_option_boolean("starttls")) {
|
||||
t = send_request(ssn, "STARTTLS");
|
||||
switch (response_generic(ssn, t)) {
|
||||
|
Loading…
Reference in New Issue
Block a user