diff options
Diffstat (limited to 'src/lib/libcrypto/asn1/tasn_dec.c')
-rw-r--r-- | src/lib/libcrypto/asn1/tasn_dec.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/lib/libcrypto/asn1/tasn_dec.c b/src/lib/libcrypto/asn1/tasn_dec.c index 55809babb8..e7f908fd0f 100644 --- a/src/lib/libcrypto/asn1/tasn_dec.c +++ b/src/lib/libcrypto/asn1/tasn_dec.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: tasn_dec.c,v 1.30 2016/05/03 12:38:53 tedu Exp $ */ | 1 | /* $OpenBSD: tasn_dec.c,v 1.31 2016/05/04 14:53:29 tedu Exp $ */ |
2 | /* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL | 2 | /* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL |
3 | * project 2000. | 3 | * project 2000. |
4 | */ | 4 | */ |
@@ -861,7 +861,9 @@ asn1_ex_c2i(ASN1_VALUE **pval, const unsigned char *cont, int len, int utype, | |||
861 | break; | 861 | break; |
862 | 862 | ||
863 | case V_ASN1_INTEGER: | 863 | case V_ASN1_INTEGER: |
864 | case V_ASN1_NEG_INTEGER: | ||
864 | case V_ASN1_ENUMERATED: | 865 | case V_ASN1_ENUMERATED: |
866 | case V_ASN1_NEG_ENUMERATED: | ||
865 | tint = (ASN1_INTEGER **)pval; | 867 | tint = (ASN1_INTEGER **)pval; |
866 | if (!c2i_ASN1_INTEGER(tint, &cont, len)) | 868 | if (!c2i_ASN1_INTEGER(tint, &cont, len)) |
867 | goto err; | 869 | goto err; |