aboutsummaryrefslogtreecommitdiffstats
path: root/socket.c
diff options
context:
space:
mode:
Diffstat (limited to 'socket.c')
-rw-r--r--socket.c9
1 files changed, 6 insertions, 3 deletions
diff --git a/socket.c b/socket.c
index 67fdea57..e2058eee 100644
--- a/socket.c
+++ b/socket.c
@@ -2,7 +2,7 @@
* socket.c -- socket library functions
*
* Copyright 1998 - 2004 by Eric S. Raymond.
- * Copyright 2004 - 2020 by Matthias Andree.
+ * Copyright 2004 - 2023 by Matthias Andree.
* Contributions by Alexander Bluhm, Earl Chew, John Beck.
* For license terms, see the file COPYING in this directory.
@@ -414,8 +414,11 @@ va_dcl {
#endif
#ifdef USING_WOLFSSL
-# if LIBWOLFSSL_VERSION_HEX < 0x05004000L
-# error "FAILED - wolfSSL MUST be at least version 5.4.0."
+# if LIBWOLFSSL_VERSION_HEX < 0x05005001L
+# error "FAILED - wolfSSL MUST be at least version 5.5.1. You have " LIBWOLFSSL_VERSION_STRING "."
+# endif
+# if LIBWOLFSSL_VERSION_HEX < 0x05005003L
+# pragma message "WARNING - wolfSSL SHOULD be at least version 5.5.3. You have " LIBWOLFSSL_VERSION_STRING "."
# endif
#else /* !USING_WOLFSSL */
#define fm_MIN_OPENSSL_VER 0x1000206fL /* 1.0.2f */