projects
/
users
/
rhaas
/
postgres.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6794a9f
)
psql: Mention SSL protocol version in \conninfo.
author
Noah Misch
<
[email protected]
>
Sat, 25 Jan 2014 00:23:56 +0000
(19:23 -0500)
committer
Noah Misch
<
[email protected]
>
Sat, 25 Jan 2014 00:23:56 +0000
(19:23 -0500)
Marko Kreen, reviewed by Wim Lewis.
src/bin/psql/command.c
patch
|
blob
|
blame
|
history
diff --git
a/src/bin/psql/command.c
b/src/bin/psql/command.c
index f498cdfee7638492faa3d09152165ed895d29c9c..b26e28006ec4f04e541a562526912d98c532b638 100644
(file)
--- a/
src/bin/psql/command.c
+++ b/
src/bin/psql/command.c
@@
-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
/*