postgres.git / summary / log / commit / refs

commit    3a5313265d53322519b5edce018ebdea14062bf9
Author:   Noah Misch <noah@leadboat.com>
Date:     Sat Jan 25 00:23:56 2014 +0000
First released in: 9.4.0

    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 f498cdfee76..b26e28006ec 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 /* [parent: 6794a9f9a194]