mirror of
https://git.freebsd.org/ports.git
synced 2025-05-20 02:53:10 -04:00
Major change is three fixes that make mod_gnutls compatible with the Let's Encrypt OCSP responder for OCSP stapling. With hat: ports-secteam
15 lines
314 B
C
15 lines
314 B
C
--- src/gnutls_sni.c.orig 2019-01-28 19:50:38 UTC
|
|
+++ src/gnutls_sni.c
|
|
@@ -18,7 +18,12 @@
|
|
|
|
#include <apr_lib.h>
|
|
#include <apr_strings.h>
|
|
+#if defined(__FreeBSD__)
|
|
+#include <sys/endian.h>
|
|
+#define bswap_16(x) bswap16(x)
|
|
+#else
|
|
#include <byteswap.h>
|
|
+#endif
|
|
#include <gnutls/gnutls.h>
|
|
#include <inttypes.h>
|
|
|