From 74df8c4ce3c7ccb4e2809a44791756356f704b66 Mon Sep 17 00:00:00 2001 From: Richard Levitte Date: Sat, 15 Jul 2017 18:20:24 +0200 Subject: testutil: stanza files are text files, open them as such Reviewed-by: Andy Polyakov (Merged from https://github.com/openssl/openssl/pull/3939) --- test/testutil/stanza.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test') 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; -- cgit v1.2.3