summaryrefslogtreecommitdiffstats
path: root/mutt_ssl.c
diff options
context:
space:
mode:
authorMichael Elkins <me@sigpipe.org>2012-12-17 10:09:55 -0800
committerMichael Elkins <me@sigpipe.org>2012-12-17 10:09:55 -0800
commitf3e669ce8af2059ca62164c7aa04b4453756ed25 (patch)
treebb7b4543872bf0666a24bddf16dc15594ffec6d6 /mutt_ssl.c
parent221ba25c4227fde30cbd6d7425258272fb50bbb4 (diff)
use SSL_get_version() to display the actual SSL protocol used rather than the fixed string SSL.
Diffstat (limited to 'mutt_ssl.c')
-rw-r--r--mutt_ssl.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/mutt_ssl.c b/mutt_ssl.c
index d727cc69..1b628fcd 100644
--- a/mutt_ssl.c
+++ b/mutt_ssl.c
@@ -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;