summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorDr. David von Oheimb <David.von.Oheimb@siemens.com>2022-08-01 16:33:35 +0200
committerDr. David von Oheimb <dev@ddvo.net>2022-08-24 11:25:04 +0200
commitba9e3721febb073397248154a846f2088efd6409 (patch)
treea4aecbae0c4dffb9dbf211aa0d120c71baeb0247 /include
parent47dc828c6b652feb9cef5b0e4186d010986f197c (diff)
x509_att.c: improve error checking and reporting and coding style
Reviewed-by: Tomas Mraz <tomas@openssl.org> Reviewed-by: Matt Caswell <matt@openssl.org> Reviewed-by: David von Oheimb <david.von.oheimb@siemens.com> (Merged from https://github.com/openssl/openssl/pull/18931)
Diffstat (limited to 'include')
-rw-r--r--include/crypto/x509err.h2
-rw-r--r--include/openssl/x509err.h1
2 files changed, 2 insertions, 1 deletions
diff --git a/include/crypto/x509err.h b/include/crypto/x509err.h
index 53f567d92e..c7c7d25e97 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-2022 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
diff --git a/include/openssl/x509err.h b/include/openssl/x509err.h
index a56facd46b..71b557a3e6 100644
--- a/include/openssl/x509err.h
+++ b/include/openssl/x509err.h
@@ -30,6 +30,7 @@
# define X509_R_CERT_ALREADY_IN_HASH_TABLE 101
# define X509_R_CRL_ALREADY_DELTA 127
# define X509_R_CRL_VERIFY_FAILURE 131
+# define X509_R_DUPLICATE_ATTRIBUTE 140
# define X509_R_ERROR_GETTING_MD_BY_NID 141
# define X509_R_ERROR_USING_SIGINF_SET 142
# define X509_R_IDP_MISMATCH 128