Hi,
There seem to be a couple of problems when using isync with OpenSSL 3.0.0.
In particular, it seems that the function `SSL_get_peer_certificate`
(called in socket.c) has been deprecated, replaced by two functions:
(the following is from /usr/include/ssl/ssl.h)
# ifdef OPENSSL_X509_H
__owur X509 *SSL_get0_peer_certificate(const SSL *s);
__owur X509 *SSL_get1_peer_certificate(const SSL *s);
/* Deprecated in 3.0.0 */
# ifndef OPENSSL_NO_DEPRECATED_3_0
# define SSL_get_peer_certificate SSL_get1_peer_certificate
# endif
# endif
I don't know the difference between the two, but mbsync builds fine with
either.
A second issue is that with the new OpenSSL version, I now get errors
when syncing with two of three servers:
Socket error: secure read from outlook.office365.com (52.97.146.130:993):
error:0A000126:SSL routines::unexpected eof while reading
Socket error: secure read from imap.gmail.com (74.125.133.109:993):
error:0A000126:SSL routines::unexpected eof while reading
These errors never occurred with previous versions of OpenSSL.
Many thanks,
phoebos
_______________________________________________
isync-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/isync-devel