diff options
author | Dr. Stephen Henson <steve@openssl.org> | 2006-11-16 03:19:39 +0300 |
---|---|---|
committer | Dr. Stephen Henson <steve@openssl.org> | 2006-11-16 03:19:39 +0300 |
commit | de12116417081f7b834bca4a583f97169040ce52 (patch) | |
tree | 84f4f8286418d1fc35d1837019701277a208e921 /crypto/asn1/d2i_pr.c | |
parent | 28b987aec9474e8c0cf1cc12273018edf3a1eca1 (diff) |
Initial, incomplete support for typesafe macros without using function
casts.
Diffstat (limited to 'crypto/asn1/d2i_pr.c')
-rw-r--r-- | crypto/asn1/d2i_pr.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/crypto/asn1/d2i_pr.c b/crypto/asn1/d2i_pr.c index 42e5a4e651..e90cfa9db8 100644 --- a/crypto/asn1/d2i_pr.c +++ b/crypto/asn1/d2i_pr.c @@ -124,8 +124,7 @@ EVP_PKEY *d2i_AutoPrivateKey(EVP_PKEY **a, const unsigned char **pp, * by analyzing it we can determine the passed structure: this * assumes the input is surrounded by an ASN1 SEQUENCE. */ - inkey = d2i_ASN1_SET_OF_ASN1_TYPE(NULL, &p, length, d2i_ASN1_TYPE, - ASN1_TYPE_free, V_ASN1_SEQUENCE, V_ASN1_UNIVERSAL); + inkey = d2i_ASN1_SEQUENCE_ANY(NULL, &p, length); /* Since we only need to discern "traditional format" RSA and DSA * keys we can just count the elements. */ |