diff options
-rw-r--r-- | apps/dsaparam.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/apps/dsaparam.c b/apps/dsaparam.c index f2cf553db3..3a4a123846 100644 --- 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); |