Commit 3a531326 authored by Noah Misch's avatar Noah Misch

psql: Mention SSL protocol version in \conninfo.

Marko Kreen, reviewed by Wim Lewis.
parent 6794a9f9
...@@ -1798,8 +1798,8 @@ printSSLInfo(void) ...@@ -1798,8 +1798,8 @@ printSSLInfo(void)
return; /* no SSL */ return; /* no SSL */
SSL_get_cipher_bits(ssl, &sslbits); SSL_get_cipher_bits(ssl, &sslbits);
printf(_("SSL connection (cipher: %s, bits: %d)\n"), printf(_("SSL connection (protocol: %s, cipher: %s, bits: %d)\n"),
SSL_get_cipher(ssl), sslbits); SSL_get_version(ssl), SSL_get_cipher(ssl), sslbits);
#else #else
/* /*
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment