Skip to content

Commit 3a53132

Browse files
committed
psql: Mention SSL protocol version in \conninfo.
Marko Kreen, reviewed by Wim Lewis.
1 parent 6794a9f commit 3a53132

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/bin/psql/command.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1798,8 +1798,8 @@ printSSLInfo(void)
17981798
return; /* no SSL */
17991799

18001800
SSL_get_cipher_bits(ssl, &sslbits);
1801-
printf(_("SSL connection (cipher: %s, bits: %d)\n"),
1802-
SSL_get_cipher(ssl), sslbits);
1801+
printf(_("SSL connection (protocol: %s, cipher: %s, bits: %d)\n"),
1802+
SSL_get_version(ssl), SSL_get_cipher(ssl), sslbits);
18031803
#else
18041804

18051805
/*

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy