]> granicus.if.org Git - mutt/commitdiff
use SSL_get_version() to display the actual SSL protocol used rather than the fixed...
authorMichael Elkins <me@sigpipe.org>
Mon, 17 Dec 2012 18:09:55 +0000 (10:09 -0800)
committerMichael Elkins <me@sigpipe.org>
Mon, 17 Dec 2012 18:09:55 +0000 (10:09 -0800)
mutt_ssl.c

index d727cc6922b804ca8c9d04cbcf0ea4d785211101..1b628fcdcd677909c3eae6759bf6af7d84d554be 100644 (file)
@@ -375,8 +375,8 @@ static int ssl_negotiate (CONNECTION *conn, sslsockdata* ssldata)
   if (!ssl_check_certificate (conn, ssldata))
     return -1;
 
-  mutt_message (_("SSL connection using %s (%s)"),
-    SSL_get_cipher_version (ssldata->ssl), SSL_get_cipher_name (ssldata->ssl));
+  mutt_message (_("%s connection using %s (%s)"),
+    SSL_get_version(ssldata->ssl), SSL_get_cipher_version (ssldata->ssl), SSL_get_cipher_name (ssldata->ssl));
   mutt_sleep (0);
 
   return 0;