summaryrefslogtreecommitdiffstats
path: root/apps/gendh.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/gendh.c')
-rw-r--r--apps/gendh.c10
1 files changed, 1 insertions, 9 deletions
diff --git a/apps/gendh.c b/apps/gendh.c
index e0c7889a31..caf5e8d736 100644
--- a/apps/gendh.c
+++ b/apps/gendh.c
@@ -142,15 +142,7 @@ bad:
}
if (outfile == NULL)
- {
BIO_set_fp(out,stdout,BIO_NOCLOSE);
-#ifdef VMS
- {
- BIO *tmpbio = BIO_new(BIO_f_linebuffer());
- out = BIO_push(tmpbio, out);
- }
-#endif
- }
else
{
if (BIO_write_filename(out,outfile) <= 0)
@@ -182,7 +174,7 @@ bad:
end:
if (ret != 0)
ERR_print_errors(bio_err);
- if (out != NULL) BIO_free_all(out);
+ if (out != NULL) BIO_free(out);
if (dh != NULL) DH_free(dh);
EXIT(ret);
}