summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2008-07-02 11:56:54 +0200
committerRainer Gerhards <rgerhards@adiscon.com>2008-07-02 11:56:54 +0200
commitaeef9bbe727d80c5882cc0a883b8dfd5df461f10 (patch)
tree292836490a6c886b7c0054a55bc41e5b0f937404 /tools
parentba35cbbfe3002e200e4561d93c234805d9a8d760 (diff)
downloadrsyslog-aeef9bbe727d80c5882cc0a883b8dfd5df461f10.tar.gz
rsyslog-aeef9bbe727d80c5882cc0a883b8dfd5df461f10.tar.xz
rsyslog-aeef9bbe727d80c5882cc0a883b8dfd5df461f10.zip
bugfix: machine certificate was required for client even in TLS anon mode
Reference: http://bugzilla.adiscon.com/show_bug.cgi?id=85 The fix also slightly improves performance by not storing certificates in client sessions when there is no need to do so.
Diffstat (limited to 'tools')
-rw-r--r--tools/syslogd.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/tools/syslogd.c b/tools/syslogd.c
index b21988ab..dda605a8 100644
--- a/tools/syslogd.c
+++ b/tools/syslogd.c
@@ -898,7 +898,6 @@ logmsgInternal(int iErr, int pri, uchar *msg, int flags)
if(iErr == NO_ERRCODE) {
MsgSetTAG(pMsg, "rsyslogd:");
} else {
-dbgprintf("iErr %d\n", iErr);
snprintf((char*)pszTag, sizeof(pszTag), "rsyslogd%d:", iErr);
pszTag[32] = '\0'; /* just to make sure... */
MsgSetTAG(pMsg, (char*)pszTag);