diff options
Diffstat (limited to 'socket.c')
-rw-r--r-- | socket.c | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -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) { |