summaryrefslogtreecommitdiffstats
path: root/include/crypto
diff options
context:
space:
mode:
authorAdam Ć ulc <sulcadam12@gmail.com>2023-07-20 21:30:45 +0200
committerPauli <pauli@openssl.org>2023-07-24 12:54:27 +1000
commit63e03e10380edce45196c25f98d0d248081bb446 (patch)
tree0d216829b027fdbbece371c3d269527edabf456f /include/crypto
parent2fb42a7b768d2a6bc3374c7e7ca9ec7332a05d85 (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 'include/crypto')
-rw-r--r--include/crypto/x509err.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/crypto/x509err.h b/include/crypto/x509err.h
index 53f567d92e..0a67975bd0 100644
--- a/include/crypto/x509err.h
+++ b/include/crypto/x509err.h
@@ -1,6 +1,6 @@
/*
* Generated by util/mkerr.pl DO NOT EDIT
- * Copyright 2020-2021 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 2020-2023 The OpenSSL Project Authors. All Rights Reserved.
*
* Licensed under the Apache License 2.0 (the "License"). You may not use
* this file except in compliance with the License. You can obtain a copy