]> granicus.if.org Git - neomutt/commitdiff
Remove TLS version notification
authorMantas Mikulėnas <grawity@gmail.com>
Fri, 18 Oct 2013 18:34:57 +0000 (11:34 -0700)
committerRichard Russon <rich@flatcap.org>
Mon, 4 Apr 2016 02:32:55 +0000 (03:32 +0100)
The reason for this patch is that the "TLS connection" message adds an
unnecessary, annoying, unskippable delay to _every_ mutt startup.

(Almost as if its intention was to _discourage_ TLS usage...)

mutt_ssl.c

index a6cdd10f011468de514f777509282354843f7819..2e5af54f5a41e9f31efb08b2850f58ffe63a1c0a 100644 (file)
@@ -432,14 +432,6 @@ static int ssl_negotiate (CONNECTION *conn, sslsockdata* ssldata)
   if (!ssl_check_certificate (conn, ssldata))
     return -1;
 
-  /* L10N:
-     %1$s is version (e.g. "TLSv1.2")
-     %2$s is cipher_version (e.g. "TLSv1/SSLv3")
-     %3$s is cipher_name (e.g. "ECDHE-RSA-AES128-GCM-SHA256") */
-  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;
 }