summaryrefslogtreecommitdiff
path: root/lib/fips.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/fips.c')
-rw-r--r--lib/fips.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/fips.c b/lib/fips.c
index 75f26f629e..acdd2ec23e 100644
--- a/lib/fips.c
+++ b/lib/fips.c
@@ -93,7 +93,7 @@ unsigned _gnutls_fips_mode_enabled(void)
goto exit;
}
- fd = fopen(FIPS_KERNEL_FILE, "r");
+ fd = fopen(FIPS_KERNEL_FILE, "re");
if (fd != NULL) {
f1p = fgetc(fd);
fclose(fd);