On 2015-02-16 14:09, Seth wrote: > 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 >
Oh, this works with mail/opensmtpd, but *not* mail/opensmtpd-devel. Funny. Build worked, but the same initial issue still happens: Feb 16 22:40:00 hydrogen smtpd[43826]: smtp-in: New session 7530b8f4cbc97b60 from host hyperion.barrera.io [190.210.108.249] Feb 16 22:40:03 hydrogen smtpd[43826]: smtp-in: Disconnecting session 7530b8f4cbc97b60: IO error: error:14094419:SSL routines:SSL3_READ_BYTES:tlsv1 alert access denied So it doesn't seem an openssl vs libressl issue. Any other ideas? Thanks, -- Hugo Osvaldo Barrera A: Because we read from top to bottom, left to right. Q: Why should I start my reply below the quoted text?
signature.asc
Description: PGP signature
