Commit 52814352 authored by Bernd Edlinger's avatar Bernd Edlinger
Browse files

Fix dsaparam -genkey with DER outform

parent 4bdc25b0
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -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);