adapt ossl_ecdsa.c to crypto/ec
[openssl.git] / apps / pkcs8.c
index e3cb7750e1ae11ab1b0eac12673d153701c784c4..3d7282eabbcce304f2f77b5d0d4c2c9e300f800e 100644 (file)
@@ -233,16 +233,13 @@ int pkcs8_main(int argc, char **argv)
         goto end;
     }
 
-    if (!app_load_modules(NULL))
-        goto end;
-
     if ((pbe_nid == -1) && !cipher)
         pbe_nid = NID_pbeWithMD5AndDES_CBC;
 
-    in = bio_open_default(infile, RB(informat));
+    in = bio_open_default(infile, 'r', informat);
     if (in == NULL)
         goto end;
-    out = bio_open_owner(outfile, WB(outformat), private);
+    out = bio_open_owner(outfile, outformat, private);
     if (out == NULL)
         goto end;