projects
/
oweals
/
openssl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1edba21
)
Write parameters if -genparam option include.
author
Dr. Stephen Henson
<steve@openssl.org>
Tue, 11 Apr 2006 18:21:40 +0000
(18:21 +0000)
committer
Dr. Stephen Henson
<steve@openssl.org>
Tue, 11 Apr 2006 18:21:40 +0000
(18:21 +0000)
apps/genpkey.c
patch
|
blob
|
history
diff --git
a/apps/genpkey.c
b/apps/genpkey.c
index e2e9c5635c297cc0bc69805e42f34dbb4133ce33..453dd500c085a150b36bc95576b16287ca0bd8e8 100644
(file)
--- a/
apps/genpkey.c
+++ b/
apps/genpkey.c
@@
-255,7
+255,9
@@
int MAIN(int argc, char **argv)
}
}
- if (outformat == FORMAT_PEM)
+ if (do_param)
+ PEM_write_bio_Parameters(out, pkey);
+ else if (outformat == FORMAT_PEM)
PEM_write_bio_PrivateKey(out, pkey, cipher, NULL, 0,
NULL, pass);
else if (outformat == FORMAT_ASN1)