summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2013-06-25 15:06:03 +0200
committerRainer Gerhards <rgerhards@adiscon.com>2013-06-25 15:06:03 +0200
commitfcc68b2a56c3cedbd15d15bc6d6f7f08e90cd8f3 (patch)
tree81213fdf6ee4379462b642a5c6de0fd664e96c30
parent37586536c28ddae9635d15eda9f3fc28d4643747 (diff)
downloadrsyslog-fcc68b2a56c3cedbd15d15bc6d6f7f08e90cd8f3.tar.gz
rsyslog-fcc68b2a56c3cedbd15d15bc6d6f7f08e90cd8f3.tar.bz2
rsyslog-fcc68b2a56c3cedbd15d15bc6d6f7f08e90cd8f3.zip
imrelp: properly initialize certifcate parameters
-rw-r--r--plugins/imrelp/imrelp.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/plugins/imrelp/imrelp.c b/plugins/imrelp/imrelp.c
index 999b30ff..18dbfbf2 100644
--- a/plugins/imrelp/imrelp.c
+++ b/plugins/imrelp/imrelp.c
@@ -216,6 +216,9 @@ createInstance(instanceConf_t **pinst)
inst->pristring = NULL;
inst->authmode = NULL;
inst->permittedPeers.nmemb = 0;
+ inst->caCertFile = NULL;
+ inst->myCertFile = NULL;
+ inst->myPrivKeyFile = NULL;
/* node created, let's add to config */
if(loadModConf->tail == NULL) {