test/pkcs12_api_test.c: fix failure on MinGW
Use binary mode when opening a file.
Partially fixes
@@ -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;
