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)
This commit is contained in:
parent
1145995323
commit
74df8c4ce3
1 changed files with 1 additions and 1 deletions
|
@ -20,7 +20,7 @@ int test_start_file(STANZA *s, const char *testfile)
|
||||||
TEST_info("Reading %s", testfile);
|
TEST_info("Reading %s", testfile);
|
||||||
set_test_title(testfile);
|
set_test_title(testfile);
|
||||||
memset(s, 0, sizeof(*s));
|
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;
|
return 0;
|
||||||
s->test_file = testfile;
|
s->test_file = testfile;
|
||||||
return 1;
|
return 1;
|
||||||
|
|
Loading…
Reference in a new issue