Hi all, I am running Arch, and they switched to OpenSSL3. This ended with a non-working GMail sync because openssl gave an error
error:14095126:SSL routines:ssl3_read_n:unexpected eof while reading See also this comment https://github.com/openssl/openssl/issues/11381#issuecomment-602229519 There is a fix in recent PHP: https://github.com/php/php-src/commit/74f75db0c3665677ec006cd379fd561feacffdc6 that is easily ported to isync: --- ./src/socket.c.orig 2022-11-07 19:54:41.106669469 +0900 +++ ./src/socket.c 2022-11-07 19:54:32.709760697 +0900 @@ -263,6 +263,10 @@ if (!(conf->ssl_versions & TLSv1_3)) options |= SSL_OP_NO_TLSv1_3; #endif +#ifdef SSL_OP_IGNORE_UNEXPECTED_EOF + /* Only for OpenSSL 3+ to keep OpenSSL 1.1.1 behavior */ + options |= SSL_OP_IGNORE_UNEXPECTED_EOF; +#endif SSL_CTX_set_options( mconf->SSLContext, options ); I am not sure this is the **proper** fix, but for now to get a working gmail sync I applied that locally. Thanks and all the best Norbert -- PREINING Norbert https://www.preining.info Mercari Inc. + IFMGA Guide + TU Wien + TeX Live GPG: 0x860CDC13 fp: F7D8 A928 26E3 16A1 9FA0 ACF0 6CAC A448 860C DC13 _______________________________________________ isync-devel mailing list isync-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/isync-devel