]> git.ipfire.org Git - thirdparty/openssl.git/blame - crypto/err/err_all.c
2nd chunk: CRMF code (crypto/crmf/, ) and its integration
[thirdparty/openssl.git] / crypto / err / err_all.c
CommitLineData
aa6bb135 1/*
6738bf14 2 * Copyright 1995-2018 The OpenSSL Project Authors. All Rights Reserved.
d02b48c6 3 *
4ad239b8 4 * Licensed under the Apache License 2.0 (the "License"). You may not use
aa6bb135
RS
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
d02b48c6
RE
8 */
9
10#include <stdio.h>
a48eaf71 11#include "internal/err_int.h"
41e9afa9
NM
12#include <openssl/asn1err.h>
13#include <openssl/bnerr.h>
14#include <openssl/ecerr.h>
15#include <openssl/buffererr.h>
16#include <openssl/bioerr.h>
17#include <openssl/comperr.h>
18#include <openssl/rsaerr.h>
19#include <openssl/dherr.h>
20#include <openssl/dsaerr.h>
21#include <openssl/evperr.h>
22#include <openssl/objectserr.h>
23#include <openssl/pemerr.h>
24#include <openssl/pkcs7err.h>
25#include <openssl/x509err.h>
26#include <openssl/x509v3err.h>
27#include <openssl/conferr.h>
28#include <openssl/pkcs12err.h>
29#include <openssl/randerr.h>
921de151 30#include "internal/dso.h"
41e9afa9
NM
31#include <openssl/engineerr.h>
32#include <openssl/uierr.h>
33#include <openssl/ocsperr.h>
5270e702 34#include <openssl/err.h>
41e9afa9
NM
35#include <openssl/tserr.h>
36#include <openssl/cmserr.h>
a61b7f2f 37#include <openssl/crmferr.h>
41e9afa9
NM
38#include <openssl/cterr.h>
39#include <openssl/asyncerr.h>
40#include <openssl/kdferr.h>
41#include <openssl/storeerr.h>
e85d19c6 42#include <openssl/esserr.h>
1bdbdaff 43#include "internal/propertyerr.h"
6caa4edd 44
69588edb 45int err_load_crypto_strings_int(void)
0f113f3e 46{
69588edb 47 if (
cf1b7d96 48#ifndef OPENSSL_NO_ERR
69588edb
KR
49 ERR_load_ERR_strings() == 0 || /* include error strings for SYSerr */
50 ERR_load_BN_strings() == 0 ||
0f113f3e 51# ifndef OPENSSL_NO_RSA
69588edb 52 ERR_load_RSA_strings() == 0 ||
0f113f3e
MC
53# endif
54# ifndef OPENSSL_NO_DH
69588edb 55 ERR_load_DH_strings() == 0 ||
0f113f3e 56# endif
69588edb
KR
57 ERR_load_EVP_strings() == 0 ||
58 ERR_load_BUF_strings() == 0 ||
59 ERR_load_OBJ_strings() == 0 ||
60 ERR_load_PEM_strings() == 0 ||
0f113f3e 61# ifndef OPENSSL_NO_DSA
69588edb 62 ERR_load_DSA_strings() == 0 ||
0f113f3e 63# endif
69588edb
KR
64 ERR_load_X509_strings() == 0 ||
65 ERR_load_ASN1_strings() == 0 ||
66 ERR_load_CONF_strings() == 0 ||
67 ERR_load_CRYPTO_strings() == 0 ||
0f113f3e 68# ifndef OPENSSL_NO_COMP
69588edb 69 ERR_load_COMP_strings() == 0 ||
0f113f3e
MC
70# endif
71# ifndef OPENSSL_NO_EC
69588edb 72 ERR_load_EC_strings() == 0 ||
0f113f3e 73# endif
69588edb
KR
74 /* skip ERR_load_SSL_strings() because it is not in this library */
75 ERR_load_BIO_strings() == 0 ||
76 ERR_load_PKCS7_strings() == 0 ||
77 ERR_load_X509V3_strings() == 0 ||
78 ERR_load_PKCS12_strings() == 0 ||
79 ERR_load_RAND_strings() == 0 ||
80 ERR_load_DSO_strings() == 0 ||
f3852635 81# ifndef OPENSSL_NO_TS
69588edb 82 ERR_load_TS_strings() == 0 ||
f3852635 83# endif
0f113f3e 84# ifndef OPENSSL_NO_ENGINE
69588edb 85 ERR_load_ENGINE_strings() == 0 ||
0f113f3e 86# endif
3e41ac35 87# ifndef OPENSSL_NO_OCSP
69588edb 88 ERR_load_OCSP_strings() == 0 ||
3e41ac35 89# endif
69588edb 90 ERR_load_UI_strings() == 0 ||
0f113f3e 91# ifndef OPENSSL_NO_CMS
69588edb 92 ERR_load_CMS_strings() == 0 ||
0f113f3e 93# endif
a61b7f2f
DO
94# ifndef OPENSSL_NO_CMP
95 ERR_load_CRMF_strings() == 0 ||
96# endif
a0e8da5d 97# ifndef OPENSSL_NO_CT
69588edb 98 ERR_load_CT_strings() == 0 ||
a0e8da5d 99# endif
e85d19c6 100 ERR_load_ESS_strings() == 0 ||
69588edb 101 ERR_load_ASYNC_strings() == 0 ||
0f113f3e 102#endif
71a5516d 103 ERR_load_KDF_strings() == 0 ||
1bdbdaff
P
104 ERR_load_OSSL_STORE_strings() == 0 ||
105 ERR_load_PROP_strings() == 0)
69588edb
KR
106 return 0;
107
108 return 1;
0f113f3e 109}