aboutsummaryrefslogtreecommitdiffstats
path: root/socket.c
diff options
context:
space:
mode:
Diffstat (limited to 'socket.c')
-rw-r--r--socket.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/socket.c b/socket.c
index 43df13ce..67fdea57 100644
--- a/socket.c
+++ b/socket.c
@@ -1113,6 +1113,12 @@ int SSLOpen(int sock, char *mycert, char *mykey, const char *myproto, int certck
if (*tmp) wolfSSL_Debugging_ON();
}
}
+ {
+ int wver = wolfSSL_lib_version_hex();
+ if (wver < LIBWOLFSSL_VERSION_HEX) {
+ report(stderr, GT_("Loaded wolfSSL library %#lx older than headers %#lx, refusing to work.\n"), (long)wver, (long)(LIBWOLFSSL_VERSION_HEX));
+ }
+ }
#endif
if (ver < OPENSSL_VERSION_NUMBER) {