diff options
Diffstat (limited to 'src/lib/libcrypto/asn1/asn1_err.c')
-rw-r--r-- | src/lib/libcrypto/asn1/asn1_err.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/lib/libcrypto/asn1/asn1_err.c b/src/lib/libcrypto/asn1/asn1_err.c index e2c56deb5b..98db4f7802 100644 --- a/src/lib/libcrypto/asn1/asn1_err.c +++ b/src/lib/libcrypto/asn1/asn1_err.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: asn1_err.c,v 1.22 2020/12/08 15:06:42 tb Exp $ */ | 1 | /* $OpenBSD: asn1_err.c,v 1.23 2022/06/25 15:39:12 jsing Exp $ */ |
2 | /* ==================================================================== | 2 | /* ==================================================================== |
3 | * Copyright (c) 1999-2011 The OpenSSL Project. All rights reserved. | 3 | * Copyright (c) 1999-2011 The OpenSSL Project. All rights reserved. |
4 | * | 4 | * |
@@ -118,6 +118,7 @@ static ERR_STRING_DATA ASN1_str_reasons[] = { | |||
118 | {ERR_REASON(ASN1_R_ILLEGAL_HEX) , "illegal hex"}, | 118 | {ERR_REASON(ASN1_R_ILLEGAL_HEX) , "illegal hex"}, |
119 | {ERR_REASON(ASN1_R_ILLEGAL_IMPLICIT_TAG) , "illegal implicit tag"}, | 119 | {ERR_REASON(ASN1_R_ILLEGAL_IMPLICIT_TAG) , "illegal implicit tag"}, |
120 | {ERR_REASON(ASN1_R_ILLEGAL_INTEGER) , "illegal integer"}, | 120 | {ERR_REASON(ASN1_R_ILLEGAL_INTEGER) , "illegal integer"}, |
121 | {ERR_REASON(ASN1_R_ILLEGAL_NEGATIVE_VALUE), "illegal negative value"}, | ||
121 | {ERR_REASON(ASN1_R_ILLEGAL_NESTED_TAGGING), "illegal nested tagging"}, | 122 | {ERR_REASON(ASN1_R_ILLEGAL_NESTED_TAGGING), "illegal nested tagging"}, |
122 | {ERR_REASON(ASN1_R_ILLEGAL_NULL) , "illegal null"}, | 123 | {ERR_REASON(ASN1_R_ILLEGAL_NULL) , "illegal null"}, |
123 | {ERR_REASON(ASN1_R_ILLEGAL_NULL_VALUE) , "illegal null value"}, | 124 | {ERR_REASON(ASN1_R_ILLEGAL_NULL_VALUE) , "illegal null value"}, |
@@ -177,7 +178,9 @@ static ERR_STRING_DATA ASN1_str_reasons[] = { | |||
177 | {ERR_REASON(ASN1_R_TAG_VALUE_TOO_HIGH) , "tag value too high"}, | 178 | {ERR_REASON(ASN1_R_TAG_VALUE_TOO_HIGH) , "tag value too high"}, |
178 | {ERR_REASON(ASN1_R_THE_ASN1_OBJECT_IDENTIFIER_IS_NOT_KNOWN_FOR_THIS_MD), "the asn1 object identifier is not known for this md"}, | 179 | {ERR_REASON(ASN1_R_THE_ASN1_OBJECT_IDENTIFIER_IS_NOT_KNOWN_FOR_THIS_MD), "the asn1 object identifier is not known for this md"}, |
179 | {ERR_REASON(ASN1_R_TIME_NOT_ASCII_FORMAT), "time not ascii format"}, | 180 | {ERR_REASON(ASN1_R_TIME_NOT_ASCII_FORMAT), "time not ascii format"}, |
181 | {ERR_REASON(ASN1_R_TOO_LARGE) , "too large"}, | ||
180 | {ERR_REASON(ASN1_R_TOO_LONG) , "too long"}, | 182 | {ERR_REASON(ASN1_R_TOO_LONG) , "too long"}, |
183 | {ERR_REASON(ASN1_R_TOO_SMALL) , "too small"}, | ||
181 | {ERR_REASON(ASN1_R_TYPE_NOT_CONSTRUCTED) , "type not constructed"}, | 184 | {ERR_REASON(ASN1_R_TYPE_NOT_CONSTRUCTED) , "type not constructed"}, |
182 | {ERR_REASON(ASN1_R_UNABLE_TO_DECODE_RSA_KEY), "unable to decode rsa key"}, | 185 | {ERR_REASON(ASN1_R_UNABLE_TO_DECODE_RSA_KEY), "unable to decode rsa key"}, |
183 | {ERR_REASON(ASN1_R_UNABLE_TO_DECODE_RSA_PRIVATE_KEY), "unable to decode rsa private key"}, | 186 | {ERR_REASON(ASN1_R_UNABLE_TO_DECODE_RSA_PRIVATE_KEY), "unable to decode rsa private key"}, |
@@ -195,12 +198,12 @@ static ERR_STRING_DATA ASN1_str_reasons[] = { | |||
195 | {ERR_REASON(ASN1_R_UNSUPPORTED_ENCRYPTION_ALGORITHM), "unsupported encryption algorithm"}, | 198 | {ERR_REASON(ASN1_R_UNSUPPORTED_ENCRYPTION_ALGORITHM), "unsupported encryption algorithm"}, |
196 | {ERR_REASON(ASN1_R_UNSUPPORTED_PUBLIC_KEY_TYPE), "unsupported public key type"}, | 199 | {ERR_REASON(ASN1_R_UNSUPPORTED_PUBLIC_KEY_TYPE), "unsupported public key type"}, |
197 | {ERR_REASON(ASN1_R_UNSUPPORTED_TYPE) , "unsupported type"}, | 200 | {ERR_REASON(ASN1_R_UNSUPPORTED_TYPE) , "unsupported type"}, |
201 | {ERR_REASON(ASN1_R_WRONG_INTEGER_TYPE) , "wrong integer type"}, | ||
198 | {ERR_REASON(ASN1_R_WRONG_PUBLIC_KEY_TYPE), "wrong public key type"}, | 202 | {ERR_REASON(ASN1_R_WRONG_PUBLIC_KEY_TYPE), "wrong public key type"}, |
199 | {ERR_REASON(ASN1_R_WRONG_TAG) , "wrong tag"}, | 203 | {ERR_REASON(ASN1_R_WRONG_TAG) , "wrong tag"}, |
200 | {ERR_REASON(ASN1_R_WRONG_TYPE) , "wrong type"}, | 204 | {ERR_REASON(ASN1_R_WRONG_TYPE) , "wrong type"}, |
201 | {0, NULL} | 205 | {0, NULL} |
202 | }; | 206 | }; |
203 | |||
204 | #endif | 207 | #endif |
205 | 208 | ||
206 | void | 209 | void |