Content-Length: 258273 | pFad | http://github.com/postgrespro/postgres/commit/3a5313265d53322519b5edce018ebdea14062bf9

57 psql: Mention SSL protocol version in \conninfo. · postgrespro/postgres@3a53132 · GitHub
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)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/postgrespro/postgres/commit/3a5313265d53322519b5edce018ebdea14062bf9

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy