[openssl-commits] [openssl] master update

Richard Levitte levitte at openssl.org
Sat Jul 15 17:11:35 UTC 2017


The branch master has been updated
       via  74df8c4ce3c7ccb4e2809a44791756356f704b66 (commit)
      from  1145995323a2a6b6e31602dbf2c546943a7db06f (commit)


- Log -----------------------------------------------------------------
commit 74df8c4ce3c7ccb4e2809a44791756356f704b66
Author: Richard Levitte <levitte at openssl.org>
Date:   Sat Jul 15 18:20:24 2017 +0200

    testutil: stanza files are text files, open them as such
    
    Reviewed-by: Andy Polyakov <appro at openssl.org>
    (Merged from https://github.com/openssl/openssl/pull/3939)

-----------------------------------------------------------------------

Summary of changes:
 test/testutil/stanza.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/test/testutil/stanza.c b/test/testutil/stanza.c
index 46b1e77..070ff80 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;


More information about the openssl-commits mailing list