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:
4bdc25b
)
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:10:23 +0000
(15:10 +0200)
Reviewed-by: Rich Salz <rsalz@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/5744)
apps/dsaparam.c
patch
|
blob
|
history
diff --git
a/apps/dsaparam.c
b/apps/dsaparam.c
index 2c1cc61062af8afad287259bc20305f4f6bfcd0d..341480b8188974943c9eebce3cb2aee5845cf227 100644
(file)
--- a/
apps/dsaparam.c
+++ b/
apps/dsaparam.c
@@
-195,6
+195,9
@@
int dsaparam_main(int argc, char **argv)
OPENSSL_free(data);
}
+ if (outformat == FORMAT_ASN1 && genkey)
+ noout = 1;
+
if (!noout) {
if (outformat == FORMAT_ASN1)
i = i2d_DSAparams_bio(out, dsa);