summaryrefslogtreecommitdiffstats
path: root/crypto/rsa
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/rsa
parentda26ff3085d895cb732150d1766d3d75dbb85338 (diff)
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/rsa')
-rw-r--r--crypto/rsa/rsa_asn1.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/rsa/rsa_asn1.c b/crypto/rsa/rsa_asn1.c
index ef79a27873..43c8fc27ae 100644
--- a/crypto/rsa/rsa_asn1.c
+++ b/crypto/rsa/rsa_asn1.c
@@ -32,7 +32,7 @@ static int rsa_cb(int operation, ASN1_VALUE **pval, const ASN1_ITEM *it,
}
ASN1_SEQUENCE_cb(RSAPrivateKey, rsa_cb) = {
- ASN1_SIMPLE(RSA, version, INT32),
+ ASN1_EMBED(RSA, version, INT32),
ASN1_SIMPLE(RSA, n, BIGNUM),
ASN1_SIMPLE(RSA, e, BIGNUM),
ASN1_SIMPLE(RSA, d, CBIGNUM),