aboutsummaryrefslogtreecommitdiffstats
path: root/socket.c
diff options
context:
space:
mode:
Diffstat (limited to 'socket.c')
-rw-r--r--socket.c8
1 files changed, 6 insertions, 2 deletions
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