Allow ChaCha20-Poly1305 in DTLS
[openssl.git] / apps / crl2p7.c
index e4e39cfe38672cb5d0bdda3617b9ea9ef99b9d6e..930875ac84e4b306211a38f8112f920bbdda3192 100644 (file)
@@ -148,11 +148,8 @@ int crl2pkcs7_main(int argc, char **argv)
     argc = opt_num_rest();
     argv = opt_rest();
 
-    if (!app_load_modules(NULL))
-        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 +198,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;