summaryrefslogtreecommitdiff
path: root/p11-kit/conf.c
diff options
context:
space:
mode:
Diffstat (limited to 'p11-kit/conf.c')
-rw-r--r--p11-kit/conf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/p11-kit/conf.c b/p11-kit/conf.c
index 28008aa..778ea00 100644
--- a/p11-kit/conf.c
+++ b/p11-kit/conf.c
@@ -125,7 +125,7 @@ read_config_file (const char* filename, int flags)
assert (filename);
- f = fopen (filename, "r");
+ f = fopen (filename, "rb");
if (f == NULL) {
error = errno;
if ((flags & CONF_IGNORE_MISSING) &&