modify ecdsatest to use accessor
[openssl.git] / apps / dsa.c
index 9998bfe30a606545415a0432e376e8e71eb88030..9dcc75e88ab438878610a94029c7b81bab8abff8 100644 (file)
@@ -202,9 +202,6 @@ int dsa_main(int argc, char **argv)
         goto end;
     }
 
-    if (!app_load_modules(NULL))
-        goto end;
-
     BIO_printf(bio_err, "read DSA key\n");
     {
         EVP_PKEY *pkey;
@@ -225,7 +222,7 @@ int dsa_main(int argc, char **argv)
         goto end;
     }
 
-    out = bio_open_owner(outfile, "w", private);
+    out = bio_open_owner(outfile, outformat, private);
     if (out == NULL)
         goto end;