make depend
[openssl.git] / apps / genrsa.c
index 1fea351fb148f755f0460280ee647b2a82847f51..54484b5273c0d8af02d478716eabe2b4edfe8656 100644 (file)
@@ -172,7 +172,7 @@ int genrsa_main(int argc, char **argv)
     if (!app_load_modules(NULL))
         goto end;
 
-    out = bio_open_owner(outfile, "w", private);
+    out = bio_open_owner(outfile, FORMAT_PEM, private);
     if (out == NULL)
         goto end;