diff options
| author | Alexander Barton <alex@barton.de> | 2012-05-23 17:08:42 +0200 |
|---|---|---|
| committer | Alexander Barton <alex@barton.de> | 2012-05-23 17:12:31 +0200 |
| commit | c0d059cd0ed4403e50820437d9a4cce1648c6b5a (patch) | |
| tree | 797525d7494e615336c429c98f619f99230706a7 /src | |
| parent | 7faa3ed7d6613f23e998604461f543e763278f7e (diff) | |
| download | ngircd-c0d059cd0ed4403e50820437d9a4cce1648c6b5a.tar.gz ngircd-c0d059cd0ed4403e50820437d9a4cce1648c6b5a.zip | |
Change wording of "TLS initialized" message
Don't use the word "socket" to identify the connection number, but use the word "connection" like on all the other messages logged.
Diffstat (limited to 'src')
| -rw-r--r-- | src/ngircd/conn-ssl.c | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/src/ngircd/conn-ssl.c b/src/ngircd/conn-ssl.c index ffb1b104..5d44b30f 100644 --- a/src/ngircd/conn-ssl.c +++ b/src/ngircd/conn-ssl.c @@ -549,17 +549,18 @@ ConnSSL_LogCertInfo( CONNECTION *c ) assert(ssl); - Log(LOG_INFO, "New %s connection using cipher %s on socket %d.", - SSL_get_version(ssl), SSL_get_cipher(ssl), c->sock); + Log(LOG_INFO, "Connection %d: initialized %s using cipher %s.", + c->sock, SSL_get_version(ssl), SSL_get_cipher(ssl)); #endif #ifdef HAVE_LIBGNUTLS gnutls_session_t sess = c->ssl_state.gnutls_session; gnutls_cipher_algorithm_t cipher = gnutls_cipher_get(sess); - Log(LOG_INFO, "New %s connection using cipher %s-%s on socket %d.", + Log(LOG_INFO, "Connection %d: initialized %s using cipher %s-%s.", + c->sock, gnutls_protocol_get_name(gnutls_protocol_get_version(sess)), gnutls_cipher_get_name(cipher), - gnutls_mac_get_name(gnutls_mac_get(sess)), c->sock); + gnutls_mac_get_name(gnutls_mac_get(sess))); #endif } |