Commit a6ee8fe2 authored by Dr. Stephen Henson's avatar Dr. Stephen Henson
Browse files

Make ASN1_TYPE_get() work for V_ASN1_NULL type.
parent e758ce69
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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);