From: Dr. Stephen Henson Date: Wed, 4 Dec 2002 00:49:46 +0000 (+0000) Subject: Make ASN1_TYPE_get() work for V_ASN1_NULL type. X-Git-Tag: STATE_before_zlib~29 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=716b2079dc8f998a842bd668faaecc89cde45a4d;p=oweals%2Fopenssl.git Make ASN1_TYPE_get() work for V_ASN1_NULL type. --- 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);