]> granicus.if.org Git - postgresql/commitdiff
Adjust the SSL connection notification message
authorMagnus Hagander <magnus@hagander.net>
Sun, 19 Jan 2014 12:27:22 +0000 (13:27 +0100)
committerMagnus Hagander <magnus@hagander.net>
Sun, 19 Jan 2014 12:27:22 +0000 (13:27 +0100)
Suggested by Tom

src/backend/utils/init/postinit.c

index 258108165fc94dc5e09312ebc50704a43a17a476..3ecc4d3ae0db750f8209dd0c386b728c4f63890c 100644 (file)
@@ -234,7 +234,7 @@ PerformAuthentication(Port *port)
 #ifdef USE_SSL
                        if (port->ssl)
                                ereport(LOG,
-                                               (errmsg("replication connection authorized: user=%s SSL(protocol: %s, cipher: %s) enabled",
+                                               (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))));
                        else
 #endif
@@ -247,7 +247,7 @@ PerformAuthentication(Port *port)
 #ifdef USE_SSL
                        if (port->ssl)
                                ereport(LOG,
-                                               (errmsg("connection authorized: user=%s database=%s SSL(protocol: %s, cipher: %s) enabled",
+                                               (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))));
                        else
 #endif