BN_GF2m_mod_inv(): check bn_wexpand return value
[openssl.git] / apps / genrsa.c
index 1fea351fb148f755f0460280ee647b2a82847f51..b0e5e19b7e1e2cd2a6540823134d65a6b81214d3 100644 (file)
@@ -169,10 +169,7 @@ int genrsa_main(int argc, char **argv)
         goto end;
     }
 
-    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;