Fix a typo in a_enum.c.

This commit is contained in:
Dr. Stephen Henson 1999-12-13 13:14:14 +00:00
parent b216664f66
commit 2449961ab2

View File

@ -181,7 +181,7 @@ ASN1_ENUMERATED *d2i_ASN1_ENUMERATED(ASN1_ENUMERATED **a, unsigned char **pp,
/* Strictly speaking this is an illegal ENUMERATED but we
* tolerate it.
*/
ret->type=V_ASN1_INTEGER;
ret->type=V_ASN1_ENUMERATED;
} else if (*p & 0x80) /* a negative number */
{
ret->type=V_ASN1_NEG_ENUMERATED;