diff options
author | Dmitry Belyavskiy <beldmit@gmail.com> | 2019-07-08 20:14:50 +1000 |
---|---|---|
committer | Pauli <paul.dale@oracle.com> | 2019-07-08 20:15:44 +1000 |
commit | a48cd0c5b9fef42321fc16ea6a40c30c0e1712d4 (patch) | |
tree | 75315556a349e970072f9d5df77d60c00dad4b1d /crypto/x509/x509_err.c | |
parent | 7b031c206228ae1f48bdd9e271fc101f91f817e1 (diff) |
Avoid NULL pointer dereference. Fixes #9043.
Reviewed-by: Paul Dale <paul.dale@oracle.com>
(Merged from https://github.com/openssl/openssl/pull/9059)
(cherry picked from commit 9fd6f7d1cd2a3c8e2bc69dcb8bde8406eb6c2623)
Diffstat (limited to 'crypto/x509/x509_err.c')
-rw-r--r-- | crypto/x509/x509_err.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/crypto/x509/x509_err.c b/crypto/x509/x509_err.c index 739708e24f..7ef97148c2 100644 --- a/crypto/x509/x509_err.c +++ b/crypto/x509/x509_err.c @@ -123,6 +123,8 @@ static const ERR_STRING_DATA X509_str_reasons[] = { {ERR_PACK(ERR_LIB_X509, 0, X509_R_CRL_VERIFY_FAILURE), "crl verify failure"}, {ERR_PACK(ERR_LIB_X509, 0, X509_R_IDP_MISMATCH), "idp mismatch"}, + {ERR_PACK(ERR_LIB_X509, 0, X509_R_INVALID_ATTRIBUTES), + "invalid attributes"}, {ERR_PACK(ERR_LIB_X509, 0, X509_R_INVALID_DIRECTORY), "invalid directory"}, {ERR_PACK(ERR_LIB_X509, 0, X509_R_INVALID_FIELD_NAME), "invalid field name"}, |