]>
Commit | Line | Data |
---|---|---|
aa6bb135 RS |
1 | /* |
2 | * Copyright 1995-2016 The OpenSSL Project Authors. All Rights Reserved. | |
d02b48c6 | 3 | * |
aa6bb135 RS |
4 | * Licensed under the OpenSSL license (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 | |
d02b48c6 RE |
8 | */ |
9 | ||
10 | #include <stdio.h> | |
a48eaf71 | 11 | #include "internal/err_int.h" |
ec577822 BM |
12 | #include <openssl/asn1.h> |
13 | #include <openssl/bn.h> | |
3c27208f | 14 | #include <openssl/ec.h> |
ec577822 BM |
15 | #include <openssl/buffer.h> |
16 | #include <openssl/bio.h> | |
3c27208f RS |
17 | #include <openssl/comp.h> |
18 | #include <openssl/rsa.h> | |
19 | #include <openssl/dh.h> | |
20 | #include <openssl/dsa.h> | |
ec577822 BM |
21 | #include <openssl/evp.h> |
22 | #include <openssl/objects.h> | |
23 | #include <openssl/pem2.h> | |
24 | #include <openssl/x509.h> | |
25 | #include <openssl/x509v3.h> | |
26 | #include <openssl/conf.h> | |
27 | #include <openssl/pkcs12.h> | |
a8eeb155 | 28 | #include <openssl/rand.h> |
921de151 | 29 | #include "internal/dso.h" |
3c27208f | 30 | #include <openssl/engine.h> |
3a87a9b9 | 31 | #include <openssl/ui.h> |
a8312c0e | 32 | #include <openssl/ocsp.h> |
5270e702 | 33 | #include <openssl/err.h> |
cc5c772a | 34 | #ifdef OPENSSL_FIPS |
0f113f3e | 35 | # include <openssl/fips.h> |
cc5c772a | 36 | #endif |
c7235be6 | 37 | #include <openssl/ts.h> |
3c27208f RS |
38 | #include <openssl/cms.h> |
39 | #include <openssl/ct.h> | |
079a1a90 | 40 | #include <openssl/async.h> |
3e30fa0a | 41 | #include <openssl/kdf.h> |
6caa4edd | 42 | |
b3599dbb | 43 | void err_load_crypto_strings_int(void) |
0f113f3e | 44 | { |
5ca9cb7c | 45 | #ifdef OPENSSL_FIPS |
0f113f3e | 46 | FIPS_set_error_callbacks(ERR_put_error, ERR_add_error_vdata); |
5ca9cb7c | 47 | #endif |
cf1b7d96 | 48 | #ifndef OPENSSL_NO_ERR |
0f113f3e MC |
49 | ERR_load_ERR_strings(); /* include error strings for SYSerr */ |
50 | ERR_load_BN_strings(); | |
51 | # ifndef OPENSSL_NO_RSA | |
52 | ERR_load_RSA_strings(); | |
53 | # endif | |
54 | # ifndef OPENSSL_NO_DH | |
55 | ERR_load_DH_strings(); | |
56 | # endif | |
57 | ERR_load_EVP_strings(); | |
58 | ERR_load_BUF_strings(); | |
59 | ERR_load_OBJ_strings(); | |
60 | ERR_load_PEM_strings(); | |
61 | # ifndef OPENSSL_NO_DSA | |
62 | ERR_load_DSA_strings(); | |
63 | # endif | |
64 | ERR_load_X509_strings(); | |
65 | ERR_load_ASN1_strings(); | |
66 | ERR_load_CONF_strings(); | |
67 | ERR_load_CRYPTO_strings(); | |
68 | # ifndef OPENSSL_NO_COMP | |
69 | ERR_load_COMP_strings(); | |
70 | # endif | |
71 | # ifndef OPENSSL_NO_EC | |
72 | ERR_load_EC_strings(); | |
0f113f3e MC |
73 | # endif |
74 | /* skip ERR_load_SSL_strings() because it is not in this library */ | |
75 | ERR_load_BIO_strings(); | |
76 | ERR_load_PKCS7_strings(); | |
77 | ERR_load_X509V3_strings(); | |
78 | ERR_load_PKCS12_strings(); | |
79 | ERR_load_RAND_strings(); | |
80 | ERR_load_DSO_strings(); | |
f3852635 | 81 | # ifndef OPENSSL_NO_TS |
0f113f3e | 82 | ERR_load_TS_strings(); |
f3852635 | 83 | # endif |
0f113f3e MC |
84 | # ifndef OPENSSL_NO_ENGINE |
85 | ERR_load_ENGINE_strings(); | |
86 | # endif | |
3e41ac35 | 87 | # ifndef OPENSSL_NO_OCSP |
0f113f3e | 88 | ERR_load_OCSP_strings(); |
3e41ac35 | 89 | # endif |
923b1857 | 90 | #ifndef OPENSSL_NO_UI |
0f113f3e | 91 | ERR_load_UI_strings(); |
923b1857 | 92 | #endif |
0f113f3e MC |
93 | # ifdef OPENSSL_FIPS |
94 | ERR_load_FIPS_strings(); | |
95 | # endif | |
96 | # ifndef OPENSSL_NO_CMS | |
97 | ERR_load_CMS_strings(); | |
98 | # endif | |
a0e8da5d RL |
99 | # ifndef OPENSSL_NO_CT |
100 | ERR_load_CT_strings(); | |
101 | # endif | |
079a1a90 | 102 | ERR_load_ASYNC_strings(); |
0f113f3e | 103 | #endif |
3e30fa0a | 104 | ERR_load_KDF_strings(); |
0f113f3e | 105 | } |