aboutsummaryrefslogtreecommitdiff
path: root/crypto/dsa
diff options
context:
space:
mode:
authorRichard Levitte <levitte@openssl.org>2017-04-12 11:52:52 +0200
committerRichard Levitte <levitte@openssl.org>2017-04-13 10:23:31 +0200
commit9612e15760784c59d3104bfe49e75323e5776bb1 (patch)
tree69bf10276e457244f28e250b913628458b0e10e8 /crypto/dsa
parentda26ff3085d895cb732150d1766d3d75dbb85338 (diff)
downloadopenssl-9612e15760784c59d3104bfe49e75323e5776bb1.zip
openssl-9612e15760784c59d3104bfe49e75323e5776bb1.tar.gz
openssl-9612e15760784c59d3104bfe49e75323e5776bb1.tar.bz2
ASN.1: adapt our use of INTxx et al by making them explicitely embedded
Fixes #3191 Reviewed-by: Matt Caswell <matt@openssl.org> (Merged from https://github.com/openssl/openssl/pull/3199)
Diffstat (limited to 'crypto/dsa')
-rw-r--r--crypto/dsa/dsa_asn1.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/dsa/dsa_asn1.c b/crypto/dsa/dsa_asn1.c
index 6f9fe3e..7de00c7 100644
--- a/crypto/dsa/dsa_asn1.c
+++ b/crypto/dsa/dsa_asn1.c
@@ -75,7 +75,7 @@ static int dsa_cb(int operation, ASN1_VALUE **pval, const ASN1_ITEM *it,
}
ASN1_SEQUENCE_cb(DSAPrivateKey, dsa_cb) = {
- ASN1_SIMPLE(DSA, version, INT32),
+ ASN1_EMBED(DSA, version, INT32),
ASN1_SIMPLE(DSA, p, BIGNUM),
ASN1_SIMPLE(DSA, q, BIGNUM),
ASN1_SIMPLE(DSA, g, BIGNUM),