Add EVP_KDF-X942 to the fips module
[openssl.git] / crypto / err / err_all_legacy.c
1 /*
2  * Copyright 2020 The OpenSSL Project Authors. All Rights Reserved.
3  *
4  * Licensed under the Apache License 2.0 (the "License").  You may not use
5  * this file except in compliance with the License.  You can obtain a copy
6  * in the file LICENSE in the source distribution or at
7  * https://www.openssl.org/source/license.html
8  */
9
10 /* This is the C source file where we include this header directly */
11 #include <openssl/cryptoerr_legacy.h>
12
13 #ifndef OPENSSL_NO_DEPRECATED_3_0
14
15 #include "crypto/err.h"
16 #include "crypto/asn1err.h"
17 #include "crypto/asyncerr.h"
18 #include "crypto/bnerr.h"
19 #include "crypto/buffererr.h"
20 #include "crypto/bioerr.h"
21 #include "crypto/cmserr.h"
22 #include "crypto/comperr.h"
23 #include "crypto/conferr.h"
24 #include "crypto/cryptoerr.h"
25 #include "crypto/cterr.h"
26 #include "crypto/dherr.h"
27 #include "crypto/dsaerr.h"
28 #include "internal/dsoerr.h"
29 #include "crypto/ecerr.h"
30 #include "crypto/engineerr.h"
31 #include "crypto/evperr.h"
32 #include "crypto/httperr.h"
33 #include "crypto/objectserr.h"
34 #include "crypto/ocsperr.h"
35 #include "crypto/pemerr.h"
36 #include "crypto/pkcs12err.h"
37 #include "crypto/pkcs7err.h"
38 #include "crypto/randerr.h"
39 #include "crypto/rsaerr.h"
40 #include "crypto/storeerr.h"
41 #include "crypto/tserr.h"
42 #include "crypto/uierr.h"
43 #include "crypto/x509err.h"
44 #include "crypto/x509v3err.h"
45
46 # define IMPLEMENT_LEGACY_ERR_LOAD(lib)         \
47     int ERR_load_##lib##_strings(void)          \
48     {                                           \
49         return err_load_##lib##_strings_int();  \
50     }
51
52 # ifndef OPENSSL_NO_ERR
53 IMPLEMENT_LEGACY_ERR_LOAD(ASN1)
54 IMPLEMENT_LEGACY_ERR_LOAD(ASYNC)
55 IMPLEMENT_LEGACY_ERR_LOAD(BIO)
56 IMPLEMENT_LEGACY_ERR_LOAD(BN)
57 IMPLEMENT_LEGACY_ERR_LOAD(BUF)
58 #  ifndef OPENSSL_NO_CMS
59 IMPLEMENT_LEGACY_ERR_LOAD(CMS)
60 #  endif
61 #  ifndef OPENSSL_NO_COMP
62 IMPLEMENT_LEGACY_ERR_LOAD(COMP)
63 #  endif
64 IMPLEMENT_LEGACY_ERR_LOAD(CONF)
65 IMPLEMENT_LEGACY_ERR_LOAD(CRYPTO)
66 #  ifndef OPENSSL_NO_CT
67 IMPLEMENT_LEGACY_ERR_LOAD(CT)
68 #  endif
69 #  ifndef OPENSSL_NO_DH
70 IMPLEMENT_LEGACY_ERR_LOAD(DH)
71 #  endif
72 #  ifndef OPENSSL_NO_DSA
73 IMPLEMENT_LEGACY_ERR_LOAD(DSA)
74 #  endif
75 #  ifndef OPENSSL_NO_EC
76 IMPLEMENT_LEGACY_ERR_LOAD(EC)
77 #  endif
78 #  ifndef OPENSSL_NO_ENGINE
79 IMPLEMENT_LEGACY_ERR_LOAD(ENGINE)
80 #  endif
81 IMPLEMENT_LEGACY_ERR_LOAD(ERR)
82 IMPLEMENT_LEGACY_ERR_LOAD(EVP)
83 IMPLEMENT_LEGACY_ERR_LOAD(OBJ)
84 #  ifndef OPENSSL_NO_OCSP
85 IMPLEMENT_LEGACY_ERR_LOAD(OCSP)
86 #  endif
87 IMPLEMENT_LEGACY_ERR_LOAD(PEM)
88 IMPLEMENT_LEGACY_ERR_LOAD(PKCS12)
89 IMPLEMENT_LEGACY_ERR_LOAD(PKCS7)
90 IMPLEMENT_LEGACY_ERR_LOAD(RAND)
91 IMPLEMENT_LEGACY_ERR_LOAD(RSA)
92 IMPLEMENT_LEGACY_ERR_LOAD(OSSL_STORE)
93 #  ifndef OPENSSL_NO_TS
94 IMPLEMENT_LEGACY_ERR_LOAD(TS)
95 #  endif
96 IMPLEMENT_LEGACY_ERR_LOAD(UI)
97 IMPLEMENT_LEGACY_ERR_LOAD(X509)
98 IMPLEMENT_LEGACY_ERR_LOAD(X509V3)
99 # endif
100
101 #endif