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:
d591f30
)
Fix dsaparam -genkey with DER outform
author
Bernd Edlinger
<bernd.edlinger@hotmail.de>
Sun, 25 Mar 2018 10:50:17 +0000
(12:50 +0200)
committer
Bernd Edlinger
<bernd.edlinger@hotmail.de>
Mon, 26 Mar 2018 13:14:27 +0000
(15:14 +0200)
Reviewed-by: Rich Salz <rsalz@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/5744)
(cherry picked from commit
5281435258b5d8201a00b4a9781bb724d99630f0
)
apps/dsaparam.c
patch
|
blob
|
history
diff --git
a/apps/dsaparam.c
b/apps/dsaparam.c
index f2cf553db3ff75610fc5ada7849ab4b39919c0f1..3a4a123846c4d395e83dbd5fa0c555652d54c4ff 100644
(file)
--- a/
apps/dsaparam.c
+++ b/
apps/dsaparam.c
@@
-382,6
+382,9
@@
int MAIN(int argc, char **argv)
printf("\treturn(dsa);\n\t}\n");
}
+ if (outformat == FORMAT_ASN1 && genkey)
+ noout = 1;
+
if (!noout) {
if (outformat == FORMAT_ASN1)
i = i2d_DSAparams_bio(out, dsa);