summaryrefslogtreecommitdiffstats
path: root/crypto/asn1/a_enum.c
diff options
context:
space:
mode:
authorDr. Stephen Henson <steve@openssl.org>1999-12-13 14:14:14 +0100
committerDr. Stephen Henson <steve@openssl.org>1999-12-13 14:14:14 +0100
commit2449961ab2dc8e5b9f7349b32b1089824d244a9a (patch)
tree4915c3fc200e5266049cbf441cb4b9d9abcc7169 /crypto/asn1/a_enum.c
parentVarious S/MIME fixes. (diff)
downloadopenssl-2449961ab2dc8e5b9f7349b32b1089824d244a9a.tar.xz
openssl-2449961ab2dc8e5b9f7349b32b1089824d244a9a.zip
Fix a typo in a_enum.c.
Diffstat (limited to 'crypto/asn1/a_enum.c')
-rw-r--r--crypto/asn1/a_enum.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/asn1/a_enum.c b/crypto/asn1/a_enum.c
index 38134f3688..56ee787a23 100644
--- a/crypto/asn1/a_enum.c
+++ b/crypto/asn1/a_enum.c
@@ -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;