x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -Wall -pipe -W -Wall -Wshadow -Wstrict-prototypes -ansi -pedantic -Wno-overlength-strings -Wl,-O1 -Wl,--as-needed -o mbsync main.o sync.o config.o util.o socket.o driver.o drv_imap.o drv_maildir.o -ldb -lssl -lcrypto -lnsl -lz socket.o: In function `start_tls_p2': socket.c:(.text+0x9b8): undefined reference to `X509_OBJECT_get0_X509' socket.o: In function `socket_start_tls': socket.c:(.text+0x11b4): undefined reference to `X509_STORE_get0_objects' collect2: error: ld returned 1 exit status ------------------------------------------------------------------- This is an unstable amd64 chroot image at a tinderbox (==build bot) name: 17.0-desktop_libressl_20170914-215948 ------------------------------------------------------------------- gcc-config -l: [1] x86_64-pc-linux-gnu-6.4.0 * Available Python interpreters, in order of preference: [1] python3.4 [2] python3.6 (fallback) [3] python2.7 (fallback) [4] pypy (fallback) java-config: The following VMs are available for generation-2: *) IcedTea JDK 7.2.6.11 [icedtea-7] 2) IcedTea JDK 7.2.6.11 [icedtea-bin-7] 3) IcedTea JDK 3.5.1 [icedtea-bin-8] Available Java Virtual Machines: [1] icedtea-7 system-vm [2] icedtea-bin-7 [3] icedtea-bin-8 emerge -qpv net-mail/isync [ebuild N ] net-mail/isync-1.2.2 USE="libressl ssl zlib -compat -sasl"
Created attachment 497952 [details] emerge-info.txt
Created attachment 497954 [details] emerge-history.txt
Created attachment 497956 [details] environment
Created attachment 497958 [details] etc.portage.tbz2
Created attachment 497960 [details] logs.tbz2
Created attachment 497962 [details] net-mail:isync-1.2.2:20171007-030848.log
Created attachment 497964 [details] temp.tbz2
FreeBSD has a working patch: https://bz-attachments.freebsd.org/attachment.cgi?id=185376 I'm using it with isync-1.3.0 and SSL/TLS authentication is working as excepted.
This is fixed in 1.3.1