check_chain_extensions(): Add check that Basic Constraints of CA cert are marked...
[openssl.git] / include / openssl / esserr.h
1 /*
2  * Generated by util/mkerr.pl DO NOT EDIT
3  * Copyright 1995-2020 The OpenSSL Project Authors. All Rights Reserved.
4  *
5  * Licensed under the Apache License 2.0 (the "License").  You may not use
6  * this file except in compliance with the License.  You can obtain a copy
7  * in the file LICENSE in the source distribution or at
8  * https://www.openssl.org/source/license.html
9  */
10
11 #ifndef OPENSSL_ESSERR_H
12 # define OPENSSL_ESSERR_H
13 # pragma once
14
15 # include <openssl/opensslconf.h>
16 # include <openssl/symhacks.h>
17
18
19 # ifdef  __cplusplus
20 extern "C"
21 # endif
22 int ERR_load_ESS_strings(void);
23
24 /*
25  * ESS function codes.
26  */
27 # ifndef OPENSSL_NO_DEPRECATED_3_0
28 #  define ESS_F_ESS_CERT_ID_NEW_INIT                       0
29 #  define ESS_F_ESS_CERT_ID_V2_NEW_INIT                    0
30 #  define ESS_F_ESS_SIGNING_CERT_ADD                       0
31 #  define ESS_F_ESS_SIGNING_CERT_NEW_INIT                  0
32 #  define ESS_F_ESS_SIGNING_CERT_V2_ADD                    0
33 #  define ESS_F_ESS_SIGNING_CERT_V2_NEW_INIT               0
34 # endif
35
36 /*
37  * ESS reason codes.
38  */
39 # define ESS_R_ESS_SIGNING_CERTIFICATE_ERROR              102
40 # define ESS_R_ESS_SIGNING_CERT_ADD_ERROR                 100
41 # define ESS_R_ESS_SIGNING_CERT_V2_ADD_ERROR              101
42
43 #endif