summaryrefslogtreecommitdiffstats
path: root/runtime/nsd_gtls.h
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2008-05-19 09:43:37 +0200
committerRainer Gerhards <rgerhards@adiscon.com>2008-05-19 09:43:37 +0200
commit48684ceac5d57f2c3bc9e8afce98d2026ab51958 (patch)
tree76265ca131f1c8a682c703b5acd34d117c253560 /runtime/nsd_gtls.h
parentedf41396efc9bcbbc333651771df49d3ec68cb4d (diff)
downloadrsyslog-48684ceac5d57f2c3bc9e8afce98d2026ab51958.tar.gz
rsyslog-48684ceac5d57f2c3bc9e8afce98d2026ab51958.tar.xz
rsyslog-48684ceac5d57f2c3bc9e8afce98d2026ab51958.zip
improved error messages and corrected fingerprint format
Diffstat (limited to 'runtime/nsd_gtls.h')
-rw-r--r--runtime/nsd_gtls.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/runtime/nsd_gtls.h b/runtime/nsd_gtls.h
index 885a8b30..0576a993 100644
--- a/runtime/nsd_gtls.h
+++ b/runtime/nsd_gtls.h
@@ -48,6 +48,9 @@ struct nsd_gtls_s {
gnutls_session sess;
int bHaveSess; /* as we don't know exactly which gnutls_session values are invalid, we use this one
to flag whether or not we are in a session (same as -1 for a socket meaning no sess) */
+ int bReportAuthErr; /* only the first auth error is to be reported, this var triggers it. Initially, it is
+ * set to 1 and changed to 0 after the first report. It is changed back to 1 after
+ * one successful authentication. */
uchar *authIDs; /* TODO: make linked list, currently just a single fingerprint, must also support names */
};