Make ASN1_TYPE_get() work for V_ASN1_NULL type.
This commit is contained in:
parent
e758ce69a3
commit
a6ee8fe26a
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user