ec.h: Explain use of strstr() for EVP_EC_gen() and add #include <string.h>
[openssl.git] / include / openssl / esserr.h
1 /*
2  * Generated by util/mkerr.pl DO NOT EDIT
3  * Copyright 1995-2021 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 # include <openssl/cryptoerr_legacy.h>
18
19 /*
20  * ESS reason codes.
21  */
22 # define ESS_R_EMPTY_ESS_CERT_ID_LIST                     107
23 # define ESS_R_ESS_CERT_DIGEST_ERROR                      103
24 # define ESS_R_ESS_CERT_ID_NOT_FOUND                      104
25 # define ESS_R_ESS_CERT_ID_WRONG_ORDER                    105
26 # define ESS_R_ESS_DIGEST_ALG_UNKNOWN                     106
27 # define ESS_R_ESS_SIGNING_CERTIFICATE_ERROR              102
28 # define ESS_R_ESS_SIGNING_CERT_ADD_ERROR                 100
29 # define ESS_R_ESS_SIGNING_CERT_V2_ADD_ERROR              101
30 # define ESS_R_MISSING_SIGNING_CERTIFICATE_ATTRIBUTE      108
31
32 #endif