diff options
author | Adam Ć ulc <sulcadam12@gmail.com> | 2023-07-20 21:30:45 +0200 |
---|---|---|
committer | Pauli <pauli@openssl.org> | 2023-07-24 12:54:27 +1000 |
commit | 63e03e10380edce45196c25f98d0d248081bb446 (patch) | |
tree | 0d216829b027fdbbece371c3d269527edabf456f /crypto/err | |
parent | 2fb42a7b768d2a6bc3374c7e7ca9ec7332a05d85 (diff) |
fix: reject adding a duplicity into STACK_OF(X509_ATTRIBUTE)
Function `X509at_add1_attr()` (crypto/x509/x509_att.c) rejects to add a duplicity into `*x` but it searches in a wrong stack.
Changed to search in `*x`.
CLA: trivial
Reviewed-by: Kurt Roeckx <kurt@roeckx.be>
Reviewed-by: Paul Dale <pauli@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/21505)
(cherry picked from commit 7551264186f176ca5801aa84d60c7b91d8fba31f)
Diffstat (limited to 'crypto/err')
-rw-r--r-- | crypto/err/openssl.txt | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/crypto/err/openssl.txt b/crypto/err/openssl.txt index 0cd8c4633a..a6f61ca3b0 100644 --- a/crypto/err/openssl.txt +++ b/crypto/err/openssl.txt @@ -1675,6 +1675,7 @@ X509_R_CERTIFICATE_VERIFICATION_FAILED:139:certificate verification failed X509_R_CERT_ALREADY_IN_HASH_TABLE:101:cert already in hash table X509_R_CRL_ALREADY_DELTA:127:crl already delta X509_R_CRL_VERIFY_FAILURE:131:crl verify failure +X509_R_DUPLICATE_ATTRIBUTE:140:duplicate attribute X509_R_ERROR_GETTING_MD_BY_NID:141:error getting md by nid X509_R_ERROR_USING_SIGINF_SET:142:error using siginf set X509_R_IDP_MISMATCH:128:idp mismatch |