diff options
author | Dr. Stephen Henson <steve@openssl.org> | 2002-12-04 00:49:46 +0000 |
---|---|---|
committer | Dr. Stephen Henson <steve@openssl.org> | 2002-12-04 00:49:46 +0000 |
commit | 716b2079dc8f998a842bd668faaecc89cde45a4d (patch) | |
tree | 2cb6a848a90bd5d46d2369abc1e0b6301a4debc6 /crypto | |
parent | e7b6228fd30ff1327d35fa5d8658d4f33d5298dd (diff) |
Make ASN1_TYPE_get() work for V_ASN1_NULL type.
Diffstat (limited to 'crypto')
-rw-r--r-- | crypto/asn1/a_type.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/asn1/a_type.c b/crypto/asn1/a_type.c index 96e111cf23..fe3fcd40b0 100644 --- a/crypto/asn1/a_type.c +++ b/crypto/asn1/a_type.c @@ -62,7 +62,7 @@ int ASN1_TYPE_get(ASN1_TYPE *a) { - if (a->value.ptr != NULL) + if ((a->value.ptr != NULL) || (a->type == V_ASN1_NULL)) return(a->type); else return(0); |