diff options
author | Richard Levitte <levitte@openssl.org> | 2000-09-20 14:44:44 +0000 |
---|---|---|
committer | Richard Levitte <levitte@openssl.org> | 2000-09-20 14:44:44 +0000 |
commit | c200ff0446c2235d67cb62cfe6c8e3cfead956f2 (patch) | |
tree | 6a9ed756764cfcb49fcffb231a7f9d129daedebd /apps/dsa.c | |
parent | a7ce1f0514279b2e1c88ba7216a872b295803c72 (diff) | |
download | openssl-new-c200ff0446c2235d67cb62cfe6c8e3cfead956f2.tar.gz |
Merge of main trunk, all conflicts resolved.
Diffstat (limited to 'apps/dsa.c')
-rw-r--r-- | apps/dsa.c | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/apps/dsa.c b/apps/dsa.c index c65e0ececc..49ca9003ac 100644 --- a/apps/dsa.c +++ b/apps/dsa.c @@ -260,7 +260,15 @@ 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) @@ -308,7 +316,7 @@ bad: ret=0; end: if(in != NULL) BIO_free(in); - if(out != NULL) BIO_free(out); + if(out != NULL) BIO_free_all(out); if(dsa != NULL) DSA_free(dsa); if(passin) OPENSSL_free(passin); if(passout) OPENSSL_free(passout); |