[Commits] [SCM] claws branch, gtk3, updated. 4.0.0-418-gf498ce611
paul at claws-mail.org
paul at claws-mail.org
Mon Mar 7 17:52:28 UTC 2022
The branch, gtk3 has been updated
via f498ce6112d8672875432fe1ad390a2ec0a31743 (commit)
from 2c53990491cf5666d0d6530ebc711e713519dd8f (commit)
Summary of changes:
src/oauth2.c | 2 ++
1 file changed, 2 insertions(+)
- Log -----------------------------------------------------------------
commit f498ce6112d8672875432fe1ad390a2ec0a31743
Author: paul <paul at claws-mail.org>
Date: Mon Mar 7 17:52:23 2022 +0000
fix bug 4346, 'Error: Certificate is for invalid2.invalid, but connection is to imap.gmail.com'
patch by Alphonse
diff --git a/src/oauth2.c b/src/oauth2.c
index 88c814c09..e87ca68ce 100644
--- a/src/oauth2.c
+++ b/src/oauth2.c
@@ -247,6 +247,7 @@ int oauth2_obtain_tokens (Oauth2Service provider, OAUTH2Data *OAUTH2Data, const
return (1);
}
sock->ssl_cert_auto_accept = TRUE;
+ sock->use_tls_sni = TRUE;
sock_set_nonblocking_mode(sock, FALSE);
sock_set_io_timeout(10);
sock->gnutls_priority = "NORMAL:!VERS-SSL3.0:!VERS-TLS1.0:!VERS-TLS1.1";
@@ -398,6 +399,7 @@ gint oauth2_use_refresh_token (Oauth2Service provider, OAUTH2Data *OAUTH2Data)
return (1);
}
sock->ssl_cert_auto_accept = TRUE;
+ sock->use_tls_sni = TRUE;
sock_set_nonblocking_mode(sock, FALSE);
sock_set_io_timeout(10);
sock->gnutls_priority = "NORMAL:!VERS-SSL3.0:!VERS-TLS1.0:!VERS-TLS1.1";
-----------------------------------------------------------------------
hooks/post-receive
--
Claws Mail
More information about the Commits
mailing list