Fix a typo in a_enum.c.
authorDr. Stephen Henson <steve@openssl.org>
Mon, 13 Dec 1999 13:14:14 +0000 (13:14 +0000)
committerDr. Stephen Henson <steve@openssl.org>
Mon, 13 Dec 1999 13:14:14 +0000 (13:14 +0000)
crypto/asn1/a_enum.c

index 38134f3..56ee787 100644 (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;