diff options
author | Dr. David von Oheimb <David.von.Oheimb@siemens.com> | 2021-08-17 19:12:55 +0200 |
---|---|---|
committer | Dr. David von Oheimb <dev@ddvo.net> | 2022-01-07 10:45:49 +0100 |
commit | 6e98b7f153fcf9dfad1053fbb3a592166837c6fc (patch) | |
tree | 39555030ab3f7c920e90b0dfb1f5c76a52e4f272 /crypto/x509/v3err.c | |
parent | fd989c734dc3f9e15d700ff9ced15125a23d4359 (diff) |
v2i_AUTHORITY_KEYID(): Improve error reporting on parsing config values/options
Reviewed-by: Paul Dale <pauli@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/16345)
Diffstat (limited to 'crypto/x509/v3err.c')
-rw-r--r-- | crypto/x509/v3err.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/crypto/x509/v3err.c b/crypto/x509/v3err.c index 6f38034c1a..b52f16f597 100644 --- a/crypto/x509/v3err.c +++ b/crypto/x509/v3err.c @@ -17,6 +17,8 @@ static const ERR_STRING_DATA X509V3_str_reasons[] = { {ERR_PACK(ERR_LIB_X509V3, 0, X509V3_R_BAD_IP_ADDRESS), "bad ip address"}, {ERR_PACK(ERR_LIB_X509V3, 0, X509V3_R_BAD_OBJECT), "bad object"}, + {ERR_PACK(ERR_LIB_X509V3, 0, X509V3_R_BAD_OPTION), "bad option"}, + {ERR_PACK(ERR_LIB_X509V3, 0, X509V3_R_BAD_VALUE), "bad value"}, {ERR_PACK(ERR_LIB_X509V3, 0, X509V3_R_BN_DEC2BN_ERROR), "bn dec2bn error"}, {ERR_PACK(ERR_LIB_X509V3, 0, X509V3_R_BN_TO_ASN1_INTEGER_ERROR), "bn to asn1 integer error"}, @@ -127,6 +129,7 @@ static const ERR_STRING_DATA X509V3_str_reasons[] = { {ERR_PACK(ERR_LIB_X509V3, 0, X509V3_R_UNKNOWN_EXTENSION_NAME), "unknown extension name"}, {ERR_PACK(ERR_LIB_X509V3, 0, X509V3_R_UNKNOWN_OPTION), "unknown option"}, + {ERR_PACK(ERR_LIB_X509V3, 0, X509V3_R_UNKNOWN_VALUE), "unknown value"}, {ERR_PACK(ERR_LIB_X509V3, 0, X509V3_R_UNSUPPORTED_OPTION), "unsupported option"}, {ERR_PACK(ERR_LIB_X509V3, 0, X509V3_R_UNSUPPORTED_TYPE), |