Fix DTLS-may-fail warning when built against OpenSSL 1.0.0e and run with older
authorDavid Woodhouse <David.Woodhouse@intel.com>
Thu, 22 Sep 2011 13:11:06 +0000 (14:11 +0100)
committerDavid Woodhouse <David.Woodhouse@intel.com>
Thu, 22 Sep 2011 13:11:06 +0000 (14:11 +0100)
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
dtls.c

diff --git a/dtls.c b/dtls.c
index a938e74..554d94c 100644 (file)
--- a/dtls.c
+++ b/dtls.c
@@ -293,7 +293,7 @@ int dtls_try_handshake(struct openconnect_info *vpninfo)
                   runtime we find that we are being run against an older 
                   version, warn about it. */
                if (SSLeay() < 0x1000005fL) {
-                       vpn_progress(vpninfo, PRG_WARNING,
+                       vpn_progress(vpninfo, PRG_ERR,
                                     "Your OpenSSL is older than the one you built against, so DTLS may fail!");
                }
 #elif defined (HAVE_DTLS1_STOP_TIMER)