summaryrefslogtreecommitdiffstats
path: root/runtime/rsyslog.h
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2008-05-26 14:47:36 +0200
committerRainer Gerhards <rgerhards@adiscon.com>2008-05-26 14:47:36 +0200
commitbc5eb93e40534f55b240d33dd605ed3e52bae555 (patch)
treebad1c9e41b3e1586f353bae49eae5e746ed23826 /runtime/rsyslog.h
parentb674dd69bd35ee4da511ae73e70946ce4040b439 (diff)
downloadrsyslog-bc5eb93e40534f55b240d33dd605ed3e52bae555.tar.gz
rsyslog-bc5eb93e40534f55b240d33dd605ed3e52bae555.tar.xz
rsyslog-bc5eb93e40534f55b240d33dd605ed3e52bae555.zip
added certificate validity date check (gtls)
Diffstat (limited to 'runtime/rsyslog.h')
-rw-r--r--runtime/rsyslog.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/runtime/rsyslog.h b/runtime/rsyslog.h
index 4f858928..5f39c3d8 100644
--- a/runtime/rsyslog.h
+++ b/runtime/rsyslog.h
@@ -231,6 +231,9 @@ enum rsRetVal_ /** return value. All methods return this if not specified oth
RS_RET_CONNECTION_ABORTREQ = -2089, /**< connection was abort requested due to previous error */
RS_RET_CERT_INVALID = -2090, /**< a x509 certificate failed validation */
RS_RET_CERT_INVALID_DN = -2091, /**< distinguised name in x509 certificate is invalid (e.g. wrong escaping) */
+ RS_RET_CERT_EXPIRED = -2092, /**< we are past a x.509 cert's expiration time */
+ RS_RET_CERT_NOT_YET_ACTIVE = -2094, /**< x.509 cert's activation time not yet reached */
+ RS_RET_SYS_ERR = -2095, /**< system error occured (e.g. time() returned -1, quite unexpected) */
/* RainerScript error messages (range 1000.. 1999) */
RS_RET_SYSVAR_NOT_FOUND = 1001, /**< system variable could not be found (maybe misspelled) */