From 3a5313265d53322519b5edce018ebdea14062bf9 Mon Sep 17 00:00:00 2001 From: Noah Misch Date: Fri, 24 Jan 2014 19:23:56 -0500 Subject: [PATCH] psql: Mention SSL protocol version in \conninfo. Marko Kreen, reviewed by Wim Lewis. --- src/bin/psql/command.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/bin/psql/command.c b/src/bin/psql/command.c index f498cdfee7..b26e28006e 100644 --- a/src/bin/psql/command.c +++ b/src/bin/psql/command.c @@ -1798,8 +1798,8 @@ printSSLInfo(void) return; /* no SSL */ SSL_get_cipher_bits(ssl, &sslbits); - printf(_("SSL connection (cipher: %s, bits: %d)\n"), - SSL_get_cipher(ssl), sslbits); + printf(_("SSL connection (protocol: %s, cipher: %s, bits: %d)\n"), + SSL_get_version(ssl), SSL_get_cipher(ssl), sslbits); #else /* -- 2.40.0