Gilles Chehade writes:
> We will resume publishing snapshots next week, in the meantime if you're
> bored and want to help, feel free to clone the github repo and give it a
> shot on your system to report breakage that I can fix tomorrow during my
> hangover.

The build on FreeBSD is not working. I have written two patches, one for
a system with SSL_CTX_set_ecdh_auto and one which fixes the HOST_NAME_MAX
problem.

Philipp
diff --git a/smtpd/libressl.c b/smtpd/libressl.c
index c28caad..47eb020 100644
--- a/smtpd/libressl.c
+++ b/smtpd/libressl.c
@@ -79,7 +79,9 @@
 #include "ssl.h"
 
 #define SSL_ECDH_CURVE          "prime256v1"
+#ifndef HAVE_SSL_CTX_SET_ECDH_AUTO
 void	SSL_CTX_set_ecdh_auto(SSL_CTX *, int);
+#endif
 
 /*
  * Read a bio that contains our certificate in "PEM" format,
diff --git a/smtpd/mailaddr.c b/smtpd/mailaddr.c
index e48f729..9cf56c9 100644
--- a/smtpd/mailaddr.c
+++ b/smtpd/mailaddr.c
@@ -16,6 +16,8 @@
  * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
+#include "includes.h"
+
 #include <sys/types.h>
 #include <sys/queue.h>
 #include <sys/tree.h>
diff --git a/smtpd/pony.c b/smtpd/pony.c
index 7ed194a..f12b2c0 100644
--- a/smtpd/pony.c
+++ b/smtpd/pony.c
@@ -16,6 +16,8 @@
  * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
+#include "includes.h"
+
 #include <sys/types.h>
 #include <sys/queue.h>
 #include <sys/tree.h>

Reply via email to