@ -234,8 +234,9 @@ PerformAuthentication(Port *port)
# ifdef USE_SSL
if ( port - > ssl )
ereport ( LOG ,
( errmsg ( " replication connection authorized: user=%s SSL enabled (protocol=%s, cipher=%s) " ,
port - > user_name , SSL_get_version ( port - > ssl ) , SSL_get_cipher ( port - > ssl ) ) ) ) ;
( errmsg ( " replication connection authorized: user=%s SSL enabled (protocol=%s, cipher=%s, compression=%s) " ,
port - > user_name , SSL_get_version ( port - > ssl ) , SSL_get_cipher ( port - > ssl ) ,
SSL_get_current_compression ( port - > ssl ) ? _ ( " on " ) : _ ( " off " ) ) ) ) ;
else
# endif
ereport ( LOG ,
@ -247,8 +248,9 @@ PerformAuthentication(Port *port)
# ifdef USE_SSL
if ( port - > ssl )
ereport ( LOG ,
( errmsg ( " connection authorized: user=%s database=%s SSL enabled (protocol=%s, cipher=%s) " ,
port - > user_name , port - > database_name , SSL_get_version ( port - > ssl ) , SSL_get_cipher ( port - > ssl ) ) ) ) ;
( errmsg ( " connection authorized: user=%s database=%s SSL enabled (protocol=%s, cipher=%s, compression=%s) " ,
port - > user_name , port - > database_name , SSL_get_version ( port - > ssl ) , SSL_get_cipher ( port - > ssl ) ,
SSL_get_current_compression ( port - > ssl ) ? _ ( " on " ) : _ ( " off " ) ) ) ) ;
else
# endif
ereport ( LOG ,