aboutsummaryrefslogtreecommitdiffstats
path: root/test/testutil
diff options
context:
space:
mode:
authorRichard Levitte <levitte@openssl.org>2017-07-15 18:20:24 +0200
committerRichard Levitte <levitte@openssl.org>2017-07-15 19:11:31 +0200
commit74df8c4ce3c7ccb4e2809a44791756356f704b66 (patch)
tree7269d0bd54bbc3ff8d43dfdbaf7ee996febabf2d /test/testutil
parent1145995323a2a6b6e31602dbf2c546943a7db06f (diff)
downloadopenssl-74df8c4ce3c7ccb4e2809a44791756356f704b66.tar.gz
testutil: stanza files are text files, open them as such
Reviewed-by: Andy Polyakov <appro@openssl.org> (Merged from https://github.com/openssl/openssl/pull/3939)
Diffstat (limited to 'test/testutil')
-rw-r--r--test/testutil/stanza.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/testutil/stanza.c b/test/testutil/stanza.c
index 46b1e770bf..070ff80611 100644
--- a/test/testutil/stanza.c
+++ b/test/testutil/stanza.c
@@ -20,7 +20,7 @@ int test_start_file(STANZA *s, const char *testfile)
TEST_info("Reading %s", testfile);
set_test_title(testfile);
memset(s, 0, sizeof(*s));
- if (!TEST_ptr(s->fp = BIO_new_file(testfile, "rb")))
+ if (!TEST_ptr(s->fp = BIO_new_file(testfile, "r")))
return 0;
s->test_file = testfile;
return 1;