summaryrefslogtreecommitdiffstats
path: root/apps/genrsa.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/genrsa.c')
-rw-r--r--apps/genrsa.c10
1 files changed, 1 insertions, 9 deletions
diff --git a/apps/genrsa.c b/apps/genrsa.c
index ac0b709e7a..5cf47e6921 100644
--- a/apps/genrsa.c
+++ b/apps/genrsa.c
@@ -168,15 +168,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)
@@ -220,7 +212,7 @@ bad:
ret=0;
err:
if (rsa != NULL) RSA_free(rsa);
- if (out != NULL) BIO_free_all(out);
+ if (out != NULL) BIO_free(out);
if(passout) OPENSSL_free(passout);
if (ret != 0)
ERR_print_errors(bio_err);