summaryrefslogtreecommitdiffstats
path: root/runtime/libgcry.h
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2013-05-15 12:19:18 +0200
committerRainer Gerhards <rgerhards@adiscon.com>2013-05-15 12:19:18 +0200
commit3382800afc3b078780ac492e0c4ddc91fbec3eb6 (patch)
treeaa5f6b59f5680e924b6a1c752dfeabc706628b3f /runtime/libgcry.h
parentbad876b26584379aba136a0e580e8ab6a5b95a6e (diff)
downloadrsyslog-3382800afc3b078780ac492e0c4ddc91fbec3eb6.tar.gz
rsyslog-3382800afc3b078780ac492e0c4ddc91fbec3eb6.tar.bz2
rsyslog-3382800afc3b078780ac492e0c4ddc91fbec3eb6.zip
do not try to write to read-open encryption state file
Diffstat (limited to 'runtime/libgcry.h')
-rw-r--r--runtime/libgcry.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/libgcry.h b/runtime/libgcry.h
index 7c704bcf..a3004a01 100644
--- a/runtime/libgcry.h
+++ b/runtime/libgcry.h
@@ -38,7 +38,7 @@ struct gcryfile_s {
size_t blkLength; /* size of low-level crypto block */
uchar *eiName; /* name of .encinfo file */
int fd; /* descriptor of .encinfo file (-1 if not open) */
- char mode; /* 'r': read, 'w': write */
+ char openMode; /* 'r': read, 'w': write */
gcryctx ctx;
uchar *readBuf;
int16_t readBufIdx;