[Commits] [SCM] claws branch, oauth2, updated. 3.17.8-40-ge5d76fdd9

miras at claws-mail.org miras at claws-mail.org
Sun Mar 14 19:19:33 CET 2021


The branch, oauth2 has been updated
       via  e5d76fdd9f271d1b234036669a286348866c75f0 (commit)
       via  5dece83cd91bf7a2d4da0f4dd3f577e031409ad9 (commit)
       via  ca2900689a41acb63cdaab061effbca074acdf83 (commit)
       via  e23f673a0502758709004e63460bc6d1da10c75d (commit)
       via  cf0a3f25900d81b64d98c643d833363451072de4 (commit)
       via  bba551c9ead6236cf87dc0cd158c58079c004ada (commit)
      from  78126ed2ffa2831881926b10a3f51283028cdd07 (commit)

Summary of changes:
 configure.ac                     |   2 +-
 src/compose.c                    | 331 +++++++++++++++------------------------
 src/compose.h                    |   3 +-
 src/gtk/gtkcmctree.c             |  21 ++-
 src/oauth2.c                     |   2 +
 src/plugins/pgpcore/pgp_viewer.c |   2 +-
 6 files changed, 154 insertions(+), 207 deletions(-)


- Log -----------------------------------------------------------------
commit e5d76fdd9f271d1b234036669a286348866c75f0
Author: Michael Rasmussen <mir at datanom.net>
Date:   Sun Mar 14 19:17:06 2021 +0100

    Fix bug where auto accept valid certs was not used
    
    Signed-off-by: Michael Rasmussen <mir at datanom.net>

diff --git a/src/oauth2.c b/src/oauth2.c
index 865efe211..f348e006a 100644
--- a/src/oauth2.c
+++ b/src/oauth2.c
@@ -246,6 +246,7 @@ int oauth2_obtain_tokens (Oauth2Service provider, OAUTH2Data *OAUTH2Data, const
 	  return (1);
 	}
 
+	sock->ssl_cert_auto_accept = 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";
@@ -355,6 +356,7 @@ gint oauth2_use_refresh_token (Oauth2Service provider, OAUTH2Data *OAUTH2Data)
 	  return (1);
 	}
 
+	sock->ssl_cert_auto_accept = 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";

commit 5dece83cd91bf7a2d4da0f4dd3f577e031409ad9
Merge: e23f673a0 ca2900689
Author: Michael Rasmussen <mir at datanom.net>
Date:   Sun Mar 14 19:14:29 2021 +0100

    Merge branch 'master' into oauth2


commit e23f673a0502758709004e63460bc6d1da10c75d
Merge: 78126ed2f cf0a3f259
Author: Michael Rasmussen <mir at datanom.net>
Date:   Tue Mar 9 08:33:56 2021 +0100

    Merge branch 'master' into oauth2


-----------------------------------------------------------------------


hooks/post-receive
-- 
Claws Mail


More information about the Commits mailing list