summaryrefslogtreecommitdiffstats
path: root/apps/crl2p7.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/crl2p7.c')
-rw-r--r--apps/crl2p7.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/crl2p7.c b/apps/crl2p7.c
index e4e39cfe38..8cc1b62efe 100644
--- a/apps/crl2p7.c
+++ b/apps/crl2p7.c
@@ -152,7 +152,7 @@ int crl2pkcs7_main(int argc, char **argv)
goto end;
if (!nocrl) {
- in = bio_open_default(infile, RB(informat));
+ in = bio_open_default(infile, 'r', informat);
if (in == NULL)
goto end;
@@ -201,7 +201,7 @@ int crl2pkcs7_main(int argc, char **argv)
sk_OPENSSL_STRING_free(certflst);
- out = bio_open_default(outfile, WB(outformat));
+ out = bio_open_default(outfile, 'w', outformat);
if (out == NULL)
goto end;