summaryrefslogtreecommitdiff
path: root/tests/ocsp-basic-response.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ocsp-basic-response.c')
-rw-r--r--tests/ocsp-basic-response.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/ocsp-basic-response.c b/tests/ocsp-basic-response.c
index 701ed53..54b50ae 100644
--- a/tests/ocsp-basic-response.c
+++ b/tests/ocsp-basic-response.c
@@ -36,7 +36,7 @@ main (int argc, char** argv)
exit (1);
}
- fp = fopen(datafile, "r");
+ fp = fopen(datafile, "rb");
if (fp == NULL)
{
fprintf (stderr, "error in %d\n", __LINE__);