6824e9
diff -up stunnel-4.56/src/client.c.log-version stunnel-4.56/src/client.c
6824e9
--- stunnel-4.56/src/client.c.log-version	2013-03-14 23:54:24.000000000 +0100
6824e9
+++ stunnel-4.56/src/client.c	2016-03-31 17:17:01.438314029 +0200
6824e9
@@ -928,6 +928,7 @@ static void print_cipher(CLI *c) { /* pr
6824e9
 
6824e9
     if(global_options.debug_level
6824e9
         return;
6824e9
+    s_log(LOG_INFO, "Negotiated protocol version: %s", SSL_get_version(c->ssl));
6824e9
     cipher=(SSL_CIPHER *)SSL_get_current_cipher(c->ssl);
6824e9
     s_log(LOG_INFO, "Negotiated %s ciphersuite: %s (%d-bit encryption)",
6824e9
         SSL_CIPHER_get_version(cipher), SSL_CIPHER_get_name(cipher),