Created attachment 246815 [details] exim_fix_build_libressl Build error with LibreSSL 3.8.2: --- cc tls.c In file included from tls.c:473: ./tls-openssl.c:2652:4: error: incomplete definition of type 'struct ocsp_basic_response_st' bs->certs ~~^ /usr/local/include/openssl/ocsp.h:160:16: note: forward declaration of 'struct ocsp_basic_response_st' typedef struct ocsp_basic_response_st OCSP_BASICRESP; ^ 1 error generated. --- Attached patch fixes it by enabling most OpenSSL 1.1+ APIs with LibreSSL as well.
Have you tested this with DANE=on ? My build with poudriere, ssl=libressl on 13.2amd64 was failing, see: https://people.freebsd.org/~pi/exim-libressl-132.txt I had: ====> TLS support: TLS=on: TLS support GNUTLS=off: Use GnuTLS instead of OpenSSL for TLS With DANE=off, it builds.