1
0
mirror of https://github.com/postgres/postgres.git synced 2025-05-02 11:44:50 +03:00

psql: Mention SSL protocol version in \conninfo.

Marko Kreen, reviewed by Wim Lewis.
This commit is contained in:
Noah Misch 2014-01-24 19:23:56 -05:00
parent 6794a9f9a1
commit 3a5313265d

View File

@ -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
/*