SRP memory leak fix
[oweals/openssl.git] / apps / genpkey.c
index c29b1947a674ffa7b4eaa3e6c368250eb9fb27a2..d80983350a86b5e3ee86d08a1747a2cc2049f3bd 100644 (file)
@@ -184,7 +184,7 @@ int genpkey_main(int argc, char **argv)
     if (!app_load_modules(NULL))
         goto end;
 
-    out = bio_open_owner(outfile, WB(outformat), private);
+    out = bio_open_owner(outfile, outformat, private);
     if (out == NULL)
         goto end;