From c4419bdd2557321b268f6e105d511923b9a35936 Mon Sep 17 00:00:00 2001 From: Matthias Andree Date: Sun, 5 Dec 2021 15:48:25 +0100 Subject: Permit LibreSSL on OpenBSD. On OpenBSD, libressl is "normally distributed (in either source or binary form) with the major components (compiler, kernel, and so on) of the operating system on which the executable runs" according to Stuart Henderson, so according to the GNU GPL v2 clause 3, we can permit LibreSSL for OpenBSD. --- socket.c | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'socket.c') diff --git a/socket.c b/socket.c index f2f95dfb..fc8218bd 100644 --- a/socket.c +++ b/socket.c @@ -407,8 +407,12 @@ va_dcl { #define fm_MIN_OPENSSL_VER 0x1000206fL /* 1.0.2f */ -#ifdef LIBRESSL_VERSION_NUMBER -#error "FAILED - LibreSSL cannot be used legally, for lack of GPL clause 2b exception, see COPYING." +#ifdef LIBRESSL_VERSION_NUMBER +# ifdef __OpenBSD__ +# pragma message "WARNING - Linking against LibreSSL, which is not a supported configuration." +# else +# error "FAILED - LibreSSL cannot be used legally, for lack of GPL clause 2b exception, see COPYING." +# endif #endif #ifdef USING_WOLFSSL -- cgit v1.2.3