summaryrefslogtreecommitdiff
path: root/tests/Test_choice_ocsp.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/Test_choice_ocsp.c')
-rw-r--r--tests/Test_choice_ocsp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/Test_choice_ocsp.c b/tests/Test_choice_ocsp.c
index d4183b6..33c17fc 100644
--- a/tests/Test_choice_ocsp.c
+++ b/tests/Test_choice_ocsp.c
@@ -37,7 +37,7 @@ main (int argc, char** argv)
exit (1);
}
- fp = fopen(datafile, "r");
+ fp = fopen(datafile, "rb");
if (fp == NULL)
{
printf ("error in %d\n", __LINE__);