projects
/
oweals
/
openssl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add forgotten "-passin" option to smime.c usage help.
[oweals/openssl.git]
/
apps
/
dhparam.c
diff --git
a/apps/dhparam.c
b/apps/dhparam.c
index a738c5af67841235868d58344e9aded2acd635ce..5f9b60148d6fb60610a7abaf887b2be721d137e6 100644
(file)
--- a/
apps/dhparam.c
+++ b/
apps/dhparam.c
@@
-391,7
+391,15
@@
bad:
goto end;
}
if (outfile == NULL)
goto end;
}
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)
@@
-496,7
+504,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 (dh != NULL) DH_free(dh);
EXIT(ret);
}
if (dh != NULL) DH_free(dh);
EXIT(ret);
}