Don't try and parse boolean type.
[openssl.git] / apps / pkeyparam.c
index 6039dad9d1905429cac32de01a6573842d090c0c..215611eb347d2a4243d7fd389cd208bc4070a65c 100644 (file)
@@ -121,10 +121,10 @@ int pkeyparam_main(int argc, char **argv)
     if (!app_load_modules(NULL))
         goto end;
 
-    in = bio_open_default(infile, "r");
+    in = bio_open_default(infile, 'r', FORMAT_PEM);
     if (in == NULL)
         goto end;
-    out = bio_open_default(outfile, "w");
+    out = bio_open_default(outfile, 'w', FORMAT_PEM);
     if (out == NULL)
         goto end;
     pkey = PEM_read_bio_Parameters(in, NULL);