mirror of
https://github.com/postgres/postgres.git
synced 2025-05-03 22:24:49 +03:00
psql: Mention SSL protocol version in \conninfo.
Marko Kreen, reviewed by Wim Lewis.
This commit is contained in:
parent
6794a9f9a1
commit
3a5313265d
@ -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
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
Loading…
x
Reference in New Issue
Block a user