diff options
Diffstat (limited to 'apps/nseq.c')
-rw-r--r-- | apps/nseq.c | 13 |
1 files changed, 3 insertions, 10 deletions
diff --git a/apps/nseq.c b/apps/nseq.c index 1d73d1ad52..7210fbdb5e 100644 --- a/apps/nseq.c +++ b/apps/nseq.c @@ -119,15 +119,8 @@ int MAIN(int argc, char **argv) "Can't open output file %s\n", outfile); goto end; } - } else { - out = BIO_new_fp(stdout, BIO_NOCLOSE); -#ifdef VMS - { - BIO *tmpbio = BIO_new(BIO_f_linebuffer()); - out = BIO_push(tmpbio, out); - } -#endif - } + } else out = BIO_new_fp(stdout, BIO_NOCLOSE); + if (toseq) { seq = NETSCAPE_CERT_SEQUENCE_new(); seq->certs = sk_X509_new_null(); @@ -159,7 +152,7 @@ int MAIN(int argc, char **argv) ret = 0; end: BIO_free(in); - BIO_free_all(out); + BIO_free(out); NETSCAPE_CERT_SEQUENCE_free(seq); EXIT(ret); |