summaryrefslogtreecommitdiffstats
path: root/runtime/stream.c
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2013-04-05 18:52:52 +0200
committerRainer Gerhards <rgerhards@adiscon.com>2013-04-05 18:52:52 +0200
commit5242a0b4a351d41ea6f20adc359bbcde8e1b3cfe (patch)
tree83d12c47cad3b0b75887da06777570b33e9dbf02 /runtime/stream.c
parent0cee769fcdc9716ccb2a60b6473062a60f640bb3 (diff)
downloadrsyslog-5242a0b4a351d41ea6f20adc359bbcde8e1b3cfe.tar.gz
rsyslog-5242a0b4a351d41ea6f20adc359bbcde8e1b3cfe.tar.bz2
rsyslog-5242a0b4a351d41ea6f20adc359bbcde8e1b3cfe.zip
log encryption: add rscrytool to decrypt log files
also add test parameter to be able to set key
Diffstat (limited to 'runtime/stream.c')
-rw-r--r--runtime/stream.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/runtime/stream.c b/runtime/stream.c
index 941fc39d..b31520b0 100644
--- a/runtime/stream.c
+++ b/runtime/stream.c
@@ -256,9 +256,8 @@ doPhysOpen(strm_t *pThis)
dbgprintf("DDDD: cryprov %p\n", pThis->cryprov);
if(pThis->cryprov != NULL) {
- iRet = pThis->cryprov->OnFileOpen(pThis->cryprovData,
- pThis->pszCurrFName, &pThis->cryprovFileData);
-dbgprintf("DDDD: iREt cryprov->onFileOpen: %d\n", iRet);
+ CHKiRet(pThis->cryprov->OnFileOpen(pThis->cryprovData,
+ pThis->pszCurrFName, &pThis->cryprovFileData));
}
finalize_it:
RETiRet;