$NetBSD$ Log the cipher used by a TLS connection. --- src/login-common/client-common.c.orig 2013-06-16 22:04:28.000000000 +0100 +++ src/login-common/client-common.c 2013-08-13 21:23:15.000000000 +0100 @@ -506,7 +506,8 @@ } else { const char *ssl_state = ssl_proxy_is_handshaked(client->ssl_proxy) ? - "TLS" : "TLS handshaking"; + t_strdup_printf("TLS=<%s>", ssl_proxy_get_security_string(client->ssl_proxy)) : + "TLS handshaking"; const char *ssl_error = ssl_proxy_get_last_error(client->ssl_proxy);