Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
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

+2-2
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)