projects
/
oweals
/
openssl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Always return a value.
[oweals/openssl.git]
/
apps
/
dsaparam.c
diff --git
a/apps/dsaparam.c
b/apps/dsaparam.c
index a15d6ea3096714abbdb3e81e67fe1fe9d875316f..f861ec7b1ad8cf2d1c6e31b70b5c85d30f2974a2 100644
(file)
--- a/
apps/dsaparam.c
+++ b/
apps/dsaparam.c
@@
-205,7
+205,15
@@
bad:
}
}
if (outfile == NULL)
}
}
if (outfile == NULL)
+ {
BIO_set_fp(out,stdout,BIO_NOCLOSE);
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)
else
{
if (BIO_write_filename(out,outfile) <= 0)
@@
-347,7
+355,7
@@
bad:
ret=0;
end:
if (in != NULL) BIO_free(in);
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);
EXIT(ret);
}
if (dsa != NULL) DSA_free(dsa);
EXIT(ret);
}