On Mon, 16 Feb 2015 13:11:27 -0800, Hugo Osvaldo Barrera <[email protected]>
wrote:
libressl.c:72:1: error: conflicting types for
'SSL_CTX_use_certificate_chain'
SSL_CTX_use_certificate_chain(SSL_CTX *ctx, char *buf, off_t len)
^
/usr/local/include/openssl/ssl.h:1587:5: note: previous declaration is
here
int SSL_CTX_use_certificate_chain(SSL_CTX *ctx, void *buf, int len);
^
I noticed this being mentioned before, so I went back and found it:
https://marc.info/?l=opensmtpd-misc&m=142402080601260&w=2
However, this did not resolve the issue for me, and the issue persists.
I take it you're trying to build from source? I've run into the same
issue. My workaround has been to build OpenSMTPD with LibreSSL dependency
using ports, this works.
Remove OpenSSL, and put this in /etc/make.conf:
OPENSSL_PORT=security/libressl
WITH_OPENSSL_PORT=yes
OPENSSL_SHLIBVER=30
Then build using portmaster or whatever
portmaster mail/opensmtpd
--
You received this mail because you are subscribed to [email protected]
To unsubscribe, send a mail to: [email protected]