summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/pkcs12_api_test.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/pkcs12_api_test.c b/test/pkcs12_api_test.c
index f3648706f6..51976edea6 100644
--- a/test/pkcs12_api_test.c
+++ b/test/pkcs12_api_test.c
@@ -35,7 +35,7 @@ static PKCS12 *PKCS12_load(const char *fpath)
BIO *bio = NULL;
PKCS12 *p12 = NULL;
- bio = BIO_new_file(fpath, "r");
+ bio = BIO_new_file(fpath, "rb");
if (!TEST_ptr(bio))
goto err;