source: EcnlProtoTool/trunk/openssl-1.1.0e/crypto/err/err_all.c@ 331

Last change on this file since 331 was 331, checked in by coas-nagasima, 6 years ago

prototoolに関連するプロジェクトをnewlibからmuslを使うよう変更・更新
ntshellをnewlibの下位の実装から、muslのsyscallの実装に変更・更新
以下のOSSをアップデート
・mruby-1.3.0
・musl-1.1.18
・onigmo-6.1.3
・tcc-0.9.27
以下のOSSを追加
・openssl-1.1.0e
・curl-7.57.0
・zlib-1.2.11
以下のmrbgemsを追加
・iij/mruby-digest
・iij/mruby-env
・iij/mruby-errno
・iij/mruby-iijson
・iij/mruby-ipaddr
・iij/mruby-mock
・iij/mruby-require
・iij/mruby-tls-openssl

  • Property svn:eol-style set to native
  • Property svn:mime-type set to text/x-csrc
File size: 3.0 KB
Line 
1/*
2 * Copyright 1995-2016 The OpenSSL Project Authors. All Rights Reserved.
3 *
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
8 */
9
10#include <stdio.h>
11#include "internal/err_int.h"
12#include <openssl/asn1.h>
13#include <openssl/bn.h>
14#include <openssl/ec.h>
15#include <openssl/buffer.h>
16#include <openssl/bio.h>
17#include <openssl/comp.h>
18#include <openssl/rsa.h>
19#include <openssl/dh.h>
20#include <openssl/dsa.h>
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>
28#include <openssl/rand.h>
29#include "internal/dso.h"
30#include <openssl/engine.h>
31#include <openssl/ui.h>
32#include <openssl/ocsp.h>
33#include <openssl/err.h>
34#ifdef OPENSSL_FIPS
35# include <openssl/fips.h>
36#endif
37#include <openssl/ts.h>
38#include <openssl/cms.h>
39#include <openssl/ct.h>
40#include <openssl/async.h>
41#include <openssl/kdf.h>
42
43int err_load_crypto_strings_int(void)
44{
45 if (
46#ifdef OPENSSL_FIPS
47 FIPS_set_error_callbacks(ERR_put_error, ERR_add_error_vdata) == 0 ||
48#endif
49#ifndef OPENSSL_NO_ERR
50 ERR_load_ERR_strings() == 0 || /* include error strings for SYSerr */
51 ERR_load_BN_strings() == 0 ||
52# ifndef OPENSSL_NO_RSA
53 ERR_load_RSA_strings() == 0 ||
54# endif
55# ifndef OPENSSL_NO_DH
56 ERR_load_DH_strings() == 0 ||
57# endif
58 ERR_load_EVP_strings() == 0 ||
59 ERR_load_BUF_strings() == 0 ||
60 ERR_load_OBJ_strings() == 0 ||
61 ERR_load_PEM_strings() == 0 ||
62# ifndef OPENSSL_NO_DSA
63 ERR_load_DSA_strings() == 0 ||
64# endif
65 ERR_load_X509_strings() == 0 ||
66 ERR_load_ASN1_strings() == 0 ||
67 ERR_load_CONF_strings() == 0 ||
68 ERR_load_CRYPTO_strings() == 0 ||
69# ifndef OPENSSL_NO_COMP
70 ERR_load_COMP_strings() == 0 ||
71# endif
72# ifndef OPENSSL_NO_EC
73 ERR_load_EC_strings() == 0 ||
74# endif
75 /* skip ERR_load_SSL_strings() because it is not in this library */
76 ERR_load_BIO_strings() == 0 ||
77 ERR_load_PKCS7_strings() == 0 ||
78 ERR_load_X509V3_strings() == 0 ||
79 ERR_load_PKCS12_strings() == 0 ||
80 ERR_load_RAND_strings() == 0 ||
81 ERR_load_DSO_strings() == 0 ||
82# ifndef OPENSSL_NO_TS
83 ERR_load_TS_strings() == 0 ||
84# endif
85# ifndef OPENSSL_NO_ENGINE
86 ERR_load_ENGINE_strings() == 0 ||
87# endif
88# ifndef OPENSSL_NO_OCSP
89 ERR_load_OCSP_strings() == 0 ||
90# endif
91#ifndef OPENSSL_NO_UI
92 ERR_load_UI_strings() == 0 ||
93#endif
94# ifdef OPENSSL_FIPS
95 ERR_load_FIPS_strings() == 0 ||
96# endif
97# ifndef OPENSSL_NO_CMS
98 ERR_load_CMS_strings() == 0 ||
99# endif
100# ifndef OPENSSL_NO_CT
101 ERR_load_CT_strings() == 0 ||
102# endif
103 ERR_load_ASYNC_strings() == 0 ||
104#endif
105 ERR_load_KDF_strings() == 0)
106 return 0;
107
108 return 1;
109}
Note: See TracBrowser for help on using the repository browser.