diff options
author | Noah Misch <noah@leadboat.com> | 2014-01-24 19:23:56 -0500 |
---|---|---|
committer | Noah Misch <noah@leadboat.com> | 2014-01-24 19:23:56 -0500 |
commit | 3a5313265d53322519b5edce018ebdea14062bf9 (patch) | |
tree | 1b47f41517fa09ec7b2092997f393f683ee6c511 | |
parent | 6794a9f9a194e24862e60a918eac031b7641686c (diff) | |
download | postgresql-3a5313265d53322519b5edce018ebdea14062bf9.tar.gz postgresql-3a5313265d53322519b5edce018ebdea14062bf9.zip |
psql: Mention SSL protocol version in \conninfo.
Marko Kreen, reviewed by Wim Lewis.
-rw-r--r-- | src/bin/psql/command.c | 4 |
1 files 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 /* |