mirror of
				https://github.com/postgres/postgres.git
				synced 2025-10-30 00:04:49 -04: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 */ | ||||
| 
 | ||||
| 	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 | ||||
| 
 | ||||
| 	/*
 | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user