diff options
author | Rainer Gerhards <rgerhards@adiscon.com> | 2013-09-13 12:08:56 +0200 |
---|---|---|
committer | Rainer Gerhards <rgerhards@adiscon.com> | 2013-09-13 12:08:56 +0200 |
commit | 5a09d0915baf292a1bfc3011668759534264a29a (patch) | |
tree | 80480a9fe279a3e28cbdaaa28fb26e4befc52b1c /runtime/rsyslog.h | |
parent | 7903677bfba6fd897010d9c5dbb56531bfe0d825 (diff) | |
download | rsyslog-5a09d0915baf292a1bfc3011668759534264a29a.tar.gz rsyslog-5a09d0915baf292a1bfc3011668759534264a29a.tar.bz2 rsyslog-5a09d0915baf292a1bfc3011668759534264a29a.zip |
bugfix: segfault on startup if TCP TLS was used but no cert or key set
Diffstat (limited to 'runtime/rsyslog.h')
-rw-r--r-- | runtime/rsyslog.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/runtime/rsyslog.h b/runtime/rsyslog.h index 28b75ee4..e62ba867 100644 --- a/runtime/rsyslog.h +++ b/runtime/rsyslog.h @@ -414,6 +414,8 @@ enum rsRetVal_ /** return value. All methods return this if not specified oth RS_RET_CRY_INVLD_MODE = -2327,/**< user specified invalid (unkonwn) crypto mode */ RS_RET_QUEUE_DISK_NO_FN = -2328,/**< disk queue configured, but filename not set */ RS_RET_CA_CERT_MISSING = -2329,/**< a CA cert is missing where one is required (e.g. TLS) */ + RS_RET_CERT_MISSING = -2330,/**< a cert is missing where one is required (e.g. TLS) */ + RS_RET_CERTKEY_MISSING = -2331,/**< a cert (private) key is missing where one is required (e.g. TLS) */ /* RainerScript error messages (range 1000.. 1999) */ RS_RET_SYSVAR_NOT_FOUND = 1001, /**< system variable could not be found (maybe misspelled) */ |