blob: dc566803930b531b18c93ef2df62453855c6491c [file] [log] [blame]
Jorge Canizales22851862015-11-18 19:03:04 -08001# BoringSSL CocoaPods podspec
2
3# Copyright 2015, Google Inc.
4# All rights reserved.
5#
6# Redistribution and use in source and binary forms, with or without
7# modification, are permitted provided that the following conditions are
8# met:
9#
10# * Redistributions of source code must retain the above copyright
11# notice, this list of conditions and the following disclaimer.
12# * Redistributions in binary form must reproduce the above
13# copyright notice, this list of conditions and the following disclaimer
14# in the documentation and/or other materials provided with the
15# distribution.
16# * Neither the name of Google Inc. nor the names of its
17# contributors may be used to endorse or promote products derived from
18# this software without specific prior written permission.
19#
20# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
21# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
22# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
23# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
24# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
25# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
26# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
27# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
28# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
29# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
30# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
31
32Pod::Spec.new do |s|
33 s.name = 'BoringSSL'
Muxi Yan3ffde932018-07-26 10:51:08 -070034 version = '10.0.6'
Jorge Canizales37a7f452016-06-28 09:55:24 -070035 s.version = version
Jorge Canizales22851862015-11-18 19:03:04 -080036 s.summary = 'BoringSSL is a fork of OpenSSL that is designed to meet Google’s needs.'
Jorge Canizales5d92bda2015-12-01 10:29:41 -080037 # Adapted from the homepage:
Jorge Canizales22851862015-11-18 19:03:04 -080038 s.description = <<-DESC
39 BoringSSL is a fork of OpenSSL that is designed to meet Googles needs.
40
41 Although BoringSSL is an open source project, it is not intended for general use, as OpenSSL is.
42 We dont recommend that third parties depend upon it. Doing so is likely to be frustrating
Jorge Canizales5d92bda2015-12-01 10:29:41 -080043 because there are no guarantees of API stability. Only the latest version of this pod is
44 supported, and every new version is a new major version.
Jorge Canizales22851862015-11-18 19:03:04 -080045
Jorge Canizales5d92bda2015-12-01 10:29:41 -080046 We update Google libraries and programs that use BoringSSL as needed when deciding to make API
47 changes. This allows us to mostly avoid compromises in the name of compatibility. It works for
48 us, but it may not work for you.
49
50 As a Cocoapods pod, it has the advantage over OpenSSL's pods that the library doesn't need to
51 be precompiled. This eliminates the 10 - 20 minutes of wait the first time a user does "pod
52 install", lets it be used as a dynamic framework (pending solution of Cocoapods' issue #4605),
53 and works with bitcode automatically. It's also thought to be smaller than OpenSSL (which takes
54 1MB - 2MB per ARM architecture), but we don't have specific numbers yet.
Jorge Canizales22851862015-11-18 19:03:04 -080055
56 BoringSSL arose because Google used OpenSSL for many years in various ways and, over time, built
57 up a large number of patches that were maintained while tracking upstream OpenSSL. As Google’s
58 product portfolio became more complex, more copies of OpenSSL sprung up and the effort involved
59 in maintaining all these patches in multiple places was growing steadily.
60
61 Currently BoringSSL is the SSL library in Chrome/Chromium, Android (but it’s not part of the
62 NDK) and a number of other apps/programs.
63 DESC
Muxi Yanf6246fd2018-06-01 13:03:18 -070064 s.homepage = 'https://github.com/google/boringssl'
Jorge Canizales22851862015-11-18 19:03:04 -080065 s.license = { :type => 'Mixed', :file => 'LICENSE' }
66 # "The name and email addresses of the library maintainers, not the Podspec maintainer."
67 s.authors = 'Adam Langley', 'David Benjamin', 'Matt Braithwaite'
68
Jorge Canizalesfffff222016-07-18 12:09:07 -070069 s.source = {
Muxi Yan4c531de2018-05-17 10:27:02 -070070 :git => 'https://github.com/google/boringssl.git',
Muxi Yan3ffde932018-07-26 10:51:08 -070071 :commit => "b29b21a81b32ec273f118f589f46d56ad3332420",
Jorge Canizalesfffff222016-07-18 12:09:07 -070072 }
Jorge Canizales22851862015-11-18 19:03:04 -080073
Muxi Yane1e939e2018-01-29 15:40:14 -080074 s.ios.deployment_target = '5.0'
75 s.osx.deployment_target = '10.7'
76
Jorge Canizales58422772016-04-25 11:08:19 -070077 name = 'openssl'
Jorge Canizalesae78c302016-06-28 16:15:25 -070078
79 # When creating a dynamic framework, name it openssl.framework instead of BoringSSL.framework.
Jorge Canizales0d3f1782016-06-28 16:44:09 -070080 # This lets users write their includes like `#include <openssl/ssl.h>` as opposed to `#include
81 # <BoringSSL/ssl.h>`.
Jorge Canizales58422772016-04-25 11:08:19 -070082 s.module_name = name
Jorge Canizalesae78c302016-06-28 16:15:25 -070083
84 # When creating a dynamic framework, copy the headers under `include/openssl/` into the root of
85 # the `Headers/` directory of the framework (i.e., not under `Headers/include/openssl`).
86 #
87 # TODO(jcanizales): Debug why this doesn't work on macOS.
88 s.header_mappings_dir = 'include/openssl'
89
90 # The above has an undesired effect when creating a static library: It forces users to write
91 # includes like `#include <BoringSSL/ssl.h>`. `s.header_dir` adds a path prefix to that, and
92 # because Cocoapods lets omit the pod name when including headers of static libraries, the
93 # following lets users write `#include <openssl/ssl.h>`.
Jorge Canizales58422772016-04-25 11:08:19 -070094 s.header_dir = name
95
Jorge Canizalesae78c302016-06-28 16:15:25 -070096 # The module map and umbrella header created automatically by Cocoapods don't work for C libraries
97 # like this one. The following file, and a correct umbrella header, are created on the fly by the
98 # `prepare_command` of this pod.
Muxi Yandb327702017-04-12 18:23:47 -070099 s.module_map = 'include/openssl/BoringSSL.modulemap'
Jorge Canizales22851862015-11-18 19:03:04 -0800100
Jorge Canizales22851862015-11-18 19:03:04 -0800101 # We don't need to inhibit all warnings; only -Wno-shorten-64-to-32. But Cocoapods' linter doesn't
102 # want that for some reason.
103 s.compiler_flags = '-DOPENSSL_NO_ASM', '-GCC_WARN_INHIBIT_ALL_WARNINGS', '-w'
104 s.requires_arc = false
105
Jorge Canizalesae78c302016-06-28 16:15:25 -0700106 # Like many other C libraries, BoringSSL has its public headers under `include/<libname>/` and its
107 # sources and private headers in other directories outside `include/`. Cocoapods' linter doesn't
108 # allow any header to be listed outside the `header_mappings_dir` (even though doing so works in
109 # practice). Because we need our `header_mappings_dir` to be `include/openssl/` for the reason
110 # mentioned above, we work around the linter limitation by dividing the pod into two subspecs, one
111 # for public headers and the other for implementation. Each gets its own `header_mappings_dir`,
112 # making the linter happy.
Jorge Canizales37a7f452016-06-28 09:55:24 -0700113 s.subspec 'Interface' do |ss|
114 ss.header_mappings_dir = 'include/openssl'
Jorge Canizales28a84862016-06-28 15:55:17 -0700115 ss.source_files = 'include/openssl/*.h'
Jorge Canizales37a7f452016-06-28 09:55:24 -0700116 end
Jorge Canizales37a7f452016-06-28 09:55:24 -0700117 s.subspec 'Implementation' do |ss|
118 ss.header_mappings_dir = '.'
Muxi Yane1e939e2018-01-29 15:40:14 -0800119 ss.source_files = 'ssl/*.{h,cc}',
120 'ssl/**/*.{h,cc}',
Jorge Canizales37a7f452016-06-28 09:55:24 -0700121 '*.{h,c}',
122 'crypto/*.{h,c}',
Muxi Yana0b56962018-04-18 13:36:53 -0700123 'crypto/**/*.{h,c}',
124 'third_party/fiat/*.{h,c}'
Jorge Canizales37a7f452016-06-28 09:55:24 -0700125 ss.private_header_files = 'ssl/*.h',
126 'ssl/**/*.h',
127 '*.h',
128 'crypto/*.h',
129 'crypto/**/*.h'
Muxi Yanf2e99e92018-01-30 15:32:07 -0800130 # bcm.c includes other source files, creating duplicated symbols. Since it is not used, we
131 # explicitly exclude it from the pod.
132 # TODO (mxyan): Work with BoringSSL team to remove this hack.
133 ss.exclude_files = 'crypto/fipsmodule/bcm.c',
134 '**/*_test.*',
Jorge Canizales37a7f452016-06-28 09:55:24 -0700135 '**/test_*.*',
136 '**/test/*.*'
137
138 ss.dependency "#{s.name}/Interface", version
139 end
140
Jorge Canizales22851862015-11-18 19:03:04 -0800141 s.prepare_command = <<-END_OF_COMMAND
Jorge Canizales58422772016-04-25 11:08:19 -0700142 # Add a module map and an umbrella header
143 cat > include/openssl/umbrella.h <<EOF
144 #include "ssl.h"
145 #include "crypto.h"
Jorge Canizales14bc7982016-06-28 09:53:41 -0700146 #include "aes.h"
Muxi Yand2807882017-04-18 10:49:17 -0700147 /* The following macros are defined by base.h. The latter is the first file included by the
148 other headers. */
149 #if defined(OPENSSL_ARM) || defined(OPENSSL_AARCH64)
150 # include "arm_arch.h"
151 #endif
Jorge Canizales14bc7982016-06-28 09:53:41 -0700152 #include "asn1.h"
153 #include "asn1_mac.h"
154 #include "asn1t.h"
155 #include "blowfish.h"
156 #include "cast.h"
157 #include "chacha.h"
158 #include "cmac.h"
159 #include "conf.h"
160 #include "cpu.h"
161 #include "curve25519.h"
162 #include "des.h"
163 #include "dtls1.h"
164 #include "hkdf.h"
165 #include "md4.h"
166 #include "md5.h"
Jorge Canizales14bc7982016-06-28 09:53:41 -0700167 #include "obj_mac.h"
168 #include "objects.h"
169 #include "opensslv.h"
170 #include "ossl_typ.h"
171 #include "pkcs12.h"
172 #include "pkcs7.h"
173 #include "pkcs8.h"
174 #include "poly1305.h"
Jorge Canizales14bc7982016-06-28 09:53:41 -0700175 #include "rand.h"
176 #include "rc4.h"
177 #include "ripemd.h"
178 #include "safestack.h"
179 #include "srtp.h"
Jorge Canizales14bc7982016-06-28 09:53:41 -0700180 #include "x509.h"
181 #include "x509v3.h"
Jorge Canizales58422772016-04-25 11:08:19 -0700182 EOF
Muxi Yandb327702017-04-12 18:23:47 -0700183 cat > include/openssl/BoringSSL.modulemap <<EOF
Jorge Canizales58422772016-04-25 11:08:19 -0700184 framework module openssl {
185 umbrella header "umbrella.h"
Muxi Yancd972972017-10-06 13:46:27 -0700186 textual header "arm_arch.h"
Jorge Canizales58422772016-04-25 11:08:19 -0700187 export *
188 module * { export * }
189 }
190 EOF
191
Jorge Canizales2a47c652015-11-29 22:25:28 -0800192 # This is a bit ridiculous, but requiring people to install Go in order to build is slightly
Jorge Canizales5d92bda2015-12-01 10:29:41 -0800193 # more ridiculous IMO. To save you from scrolling, this is the last part of the podspec.
Jorge Canizales2a47c652015-11-29 22:25:28 -0800194 # TODO(jcanizales): Translate err_data_generate.go into a Bash or Ruby script.
Jorge Canizales22851862015-11-18 19:03:04 -0800195 cat > err_data.c <<EOF
196 /* Copyright (c) 2015, Google Inc.
197 *
198 * Permission to use, copy, modify, and/or distribute this software for any
199 * purpose with or without fee is hereby granted, provided that the above
200 * copyright notice and this permission notice appear in all copies.
201 *
202 * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
203 * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
204 * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY
205 * SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
206 * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION
207 * OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN
208 * CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */
209
Jorge Canizales0af0ae42016-07-18 12:08:19 -0700210 /* This file was generated by err_data_generate.go. */
Jorge Canizales22851862015-11-18 19:03:04 -0800211
212 #include <openssl/base.h>
213 #include <openssl/err.h>
214 #include <openssl/type_check.h>
215
216
217 OPENSSL_COMPILE_ASSERT(ERR_LIB_NONE == 1, library_values_changed_1);
218 OPENSSL_COMPILE_ASSERT(ERR_LIB_SYS == 2, library_values_changed_2);
219 OPENSSL_COMPILE_ASSERT(ERR_LIB_BN == 3, library_values_changed_3);
220 OPENSSL_COMPILE_ASSERT(ERR_LIB_RSA == 4, library_values_changed_4);
221 OPENSSL_COMPILE_ASSERT(ERR_LIB_DH == 5, library_values_changed_5);
222 OPENSSL_COMPILE_ASSERT(ERR_LIB_EVP == 6, library_values_changed_6);
223 OPENSSL_COMPILE_ASSERT(ERR_LIB_BUF == 7, library_values_changed_7);
224 OPENSSL_COMPILE_ASSERT(ERR_LIB_OBJ == 8, library_values_changed_8);
225 OPENSSL_COMPILE_ASSERT(ERR_LIB_PEM == 9, library_values_changed_9);
226 OPENSSL_COMPILE_ASSERT(ERR_LIB_DSA == 10, library_values_changed_10);
227 OPENSSL_COMPILE_ASSERT(ERR_LIB_X509 == 11, library_values_changed_11);
228 OPENSSL_COMPILE_ASSERT(ERR_LIB_ASN1 == 12, library_values_changed_12);
229 OPENSSL_COMPILE_ASSERT(ERR_LIB_CONF == 13, library_values_changed_13);
230 OPENSSL_COMPILE_ASSERT(ERR_LIB_CRYPTO == 14, library_values_changed_14);
231 OPENSSL_COMPILE_ASSERT(ERR_LIB_EC == 15, library_values_changed_15);
232 OPENSSL_COMPILE_ASSERT(ERR_LIB_SSL == 16, library_values_changed_16);
233 OPENSSL_COMPILE_ASSERT(ERR_LIB_BIO == 17, library_values_changed_17);
234 OPENSSL_COMPILE_ASSERT(ERR_LIB_PKCS7 == 18, library_values_changed_18);
235 OPENSSL_COMPILE_ASSERT(ERR_LIB_PKCS8 == 19, library_values_changed_19);
236 OPENSSL_COMPILE_ASSERT(ERR_LIB_X509V3 == 20, library_values_changed_20);
237 OPENSSL_COMPILE_ASSERT(ERR_LIB_RAND == 21, library_values_changed_21);
238 OPENSSL_COMPILE_ASSERT(ERR_LIB_ENGINE == 22, library_values_changed_22);
239 OPENSSL_COMPILE_ASSERT(ERR_LIB_OCSP == 23, library_values_changed_23);
240 OPENSSL_COMPILE_ASSERT(ERR_LIB_UI == 24, library_values_changed_24);
241 OPENSSL_COMPILE_ASSERT(ERR_LIB_COMP == 25, library_values_changed_25);
242 OPENSSL_COMPILE_ASSERT(ERR_LIB_ECDSA == 26, library_values_changed_26);
243 OPENSSL_COMPILE_ASSERT(ERR_LIB_ECDH == 27, library_values_changed_27);
244 OPENSSL_COMPILE_ASSERT(ERR_LIB_HMAC == 28, library_values_changed_28);
245 OPENSSL_COMPILE_ASSERT(ERR_LIB_DIGEST == 29, library_values_changed_29);
246 OPENSSL_COMPILE_ASSERT(ERR_LIB_CIPHER == 30, library_values_changed_30);
247 OPENSSL_COMPILE_ASSERT(ERR_LIB_HKDF == 31, library_values_changed_31);
248 OPENSSL_COMPILE_ASSERT(ERR_LIB_USER == 32, library_values_changed_32);
249 OPENSSL_COMPILE_ASSERT(ERR_NUM_LIBS == 33, library_values_changed_num);
250
251 const uint32_t kOpenSSLReasonValues[] = {
Jorge Canizales714d3fc2016-06-28 16:18:41 -0700252 0xc320838,
253 0xc328852,
254 0xc330861,
255 0xc338871,
256 0xc340880,
257 0xc348899,
258 0xc3508a5,
259 0xc3588c2,
Muxi Yane1e939e2018-01-29 15:40:14 -0800260 0xc3608e2,
261 0xc3688f0,
262 0xc370900,
263 0xc37890d,
264 0xc38091d,
265 0xc388928,
266 0xc39093e,
267 0xc39894d,
268 0xc3a0961,
Jorge Canizales714d3fc2016-06-28 16:18:41 -0700269 0xc3a8845,
270 0xc3b00ea,
Muxi Yane1e939e2018-01-29 15:40:14 -0800271 0xc3b88d4,
Jorge Canizales714d3fc2016-06-28 16:18:41 -0700272 0x10320845,
Muxi Yane1e939e2018-01-29 15:40:14 -0800273 0x10329513,
274 0x1033151f,
275 0x10339538,
276 0x1034154b,
277 0x10348eed,
278 0x10350c5e,
279 0x1035955e,
280 0x10361573,
281 0x10369586,
282 0x103715a5,
283 0x103795be,
284 0x103815d3,
285 0x103895f1,
286 0x10391600,
287 0x1039961c,
288 0x103a1637,
289 0x103a9646,
290 0x103b1662,
291 0x103b967d,
292 0x103c1694,
Jorge Canizales714d3fc2016-06-28 16:18:41 -0700293 0x103c80ea,
Muxi Yane1e939e2018-01-29 15:40:14 -0800294 0x103d16a5,
295 0x103d96b9,
296 0x103e16d8,
297 0x103e96e7,
298 0x103f16fe,
299 0x103f9711,
300 0x10400c22,
301 0x10409724,
302 0x10411742,
303 0x10419755,
304 0x1042176f,
305 0x1042977f,
306 0x10431793,
307 0x104397a9,
308 0x104417c1,
309 0x104497d6,
310 0x104517ea,
311 0x104597fc,
Jorge Canizales714d3fc2016-06-28 16:18:41 -0700312 0x104605fb,
Muxi Yane1e939e2018-01-29 15:40:14 -0800313 0x1046894d,
314 0x10471811,
315 0x10479828,
316 0x1048183d,
317 0x1048984b,
318 0x10490e4f,
319 0x14320c05,
320 0x14328c13,
321 0x14330c22,
322 0x14338c34,
Jorge Canizales714d3fc2016-06-28 16:18:41 -0700323 0x143400ac,
324 0x143480ea,
Jorge Canizales22851862015-11-18 19:03:04 -0800325 0x18320083,
Muxi Yane1e939e2018-01-29 15:40:14 -0800326 0x18328f43,
Jorge Canizales714d3fc2016-06-28 16:18:41 -0700327 0x183300ac,
Muxi Yane1e939e2018-01-29 15:40:14 -0800328 0x18338f59,
329 0x18340f6d,
Jorge Canizales714d3fc2016-06-28 16:18:41 -0700330 0x183480ea,
Muxi Yane1e939e2018-01-29 15:40:14 -0800331 0x18350f82,
332 0x18358f9a,
333 0x18360faf,
334 0x18368fc3,
335 0x18370fe7,
336 0x18378ffd,
337 0x18381011,
338 0x18389021,
339 0x18390a73,
340 0x18399031,
341 0x183a1059,
342 0x183a907f,
343 0x183b0c6a,
344 0x183b90b4,
345 0x183c10c6,
346 0x183c90d1,
347 0x183d10e1,
348 0x183d90f2,
349 0x183e1103,
350 0x183e9115,
351 0x183f113e,
352 0x183f9157,
353 0x1840116f,
Jorge Canizales714d3fc2016-06-28 16:18:41 -0700354 0x184086d3,
Muxi Yane1e939e2018-01-29 15:40:14 -0800355 0x184110a2,
356 0x1841906d,
357 0x1842108c,
358 0x18429046,
359 0x20321196,
360 0x243211a2,
361 0x24328993,
362 0x243311b4,
363 0x243391c1,
364 0x243411ce,
365 0x243491e0,
366 0x243511ef,
367 0x2435920c,
368 0x24361219,
369 0x24369227,
370 0x24371235,
371 0x24379243,
372 0x2438124c,
373 0x24389259,
374 0x2439126c,
375 0x28320c52,
376 0x28328c6a,
377 0x28330c22,
378 0x28338c7d,
379 0x28340c5e,
Jorge Canizales714d3fc2016-06-28 16:18:41 -0700380 0x283480ac,
381 0x283500ea,
Muxi Yane1e939e2018-01-29 15:40:14 -0800382 0x2c322c30,
383 0x2c329283,
384 0x2c332c3e,
385 0x2c33ac50,
386 0x2c342c64,
387 0x2c34ac76,
388 0x2c352c91,
389 0x2c35aca3,
390 0x2c362cb6,
Jorge Canizales714d3fc2016-06-28 16:18:41 -0700391 0x2c36832d,
Muxi Yane1e939e2018-01-29 15:40:14 -0800392 0x2c372cc3,
393 0x2c37acd5,
394 0x2c382cfa,
395 0x2c38ad11,
396 0x2c392d1f,
397 0x2c39ad2f,
398 0x2c3a2d41,
399 0x2c3aad55,
400 0x2c3b2d66,
401 0x2c3bad85,
402 0x2c3c1295,
403 0x2c3c92ab,
404 0x2c3d2d99,
405 0x2c3d92c4,
406 0x2c3e2db6,
407 0x2c3eadc4,
408 0x2c3f2ddc,
409 0x2c3fadf4,
410 0x2c402e01,
411 0x2c409196,
412 0x2c412e12,
413 0x2c41ae25,
414 0x2c42116f,
415 0x2c42ae36,
Jorge Canizales714d3fc2016-06-28 16:18:41 -0700416 0x2c430720,
Muxi Yane1e939e2018-01-29 15:40:14 -0800417 0x2c43ad77,
418 0x2c442ce8,
Jorge Canizales22851862015-11-18 19:03:04 -0800419 0x30320000,
420 0x30328015,
421 0x3033001f,
422 0x30338038,
423 0x3034004a,
424 0x30348064,
425 0x3035006b,
426 0x30358083,
427 0x30360094,
Jorge Canizales714d3fc2016-06-28 16:18:41 -0700428 0x303680ac,
429 0x303700b9,
430 0x303780c8,
431 0x303800ea,
432 0x303880f7,
433 0x3039010a,
434 0x30398125,
435 0x303a013a,
436 0x303a814e,
437 0x303b0162,
438 0x303b8173,
439 0x303c018c,
440 0x303c81a9,
441 0x303d01b7,
442 0x303d81cb,
443 0x303e01db,
444 0x303e81f4,
445 0x303f0204,
446 0x303f8217,
447 0x30400226,
448 0x30408232,
449 0x30410247,
450 0x30418257,
451 0x3042026e,
452 0x3042827b,
453 0x3043028e,
454 0x3043829d,
455 0x304402b2,
456 0x304482d3,
457 0x304502e6,
458 0x304582f9,
459 0x30460312,
460 0x3046832d,
461 0x3047034a,
462 0x30478363,
463 0x30480371,
464 0x30488382,
465 0x30490391,
466 0x304983a9,
467 0x304a03bb,
468 0x304a83cf,
469 0x304b03ee,
470 0x304b8401,
471 0x304c040c,
472 0x304c841d,
473 0x304d0429,
474 0x304d843f,
475 0x304e044d,
476 0x304e8463,
477 0x304f0475,
478 0x304f8487,
479 0x3050049a,
480 0x305084ad,
481 0x305104be,
482 0x305184ce,
483 0x305204e6,
484 0x305284fb,
485 0x30530513,
486 0x30538527,
487 0x3054053f,
488 0x30548558,
489 0x30550571,
490 0x3055858e,
491 0x30560599,
492 0x305685b1,
493 0x305705c1,
494 0x305785d2,
495 0x305805e5,
496 0x305885fb,
497 0x30590604,
498 0x30598619,
499 0x305a062c,
500 0x305a863b,
501 0x305b065b,
502 0x305b866a,
503 0x305c068b,
504 0x305c86a7,
505 0x305d06b3,
506 0x305d86d3,
507 0x305e06ef,
508 0x305e8700,
509 0x305f0716,
510 0x305f8720,
Muxi Yane1e939e2018-01-29 15:40:14 -0800511 0x34320b63,
512 0x34328b77,
513 0x34330b94,
514 0x34338ba7,
515 0x34340bb6,
516 0x34348bef,
517 0x34350bd3,
Jorge Canizales22851862015-11-18 19:03:04 -0800518 0x3c320083,
Muxi Yane1e939e2018-01-29 15:40:14 -0800519 0x3c328ca7,
520 0x3c330cc0,
521 0x3c338cdb,
522 0x3c340cf8,
523 0x3c348d22,
524 0x3c350d3d,
525 0x3c358d63,
526 0x3c360d7c,
527 0x3c368d94,
528 0x3c370da5,
529 0x3c378db3,
530 0x3c380dc0,
531 0x3c388dd4,
532 0x3c390c6a,
533 0x3c398de8,
534 0x3c3a0dfc,
535 0x3c3a890d,
536 0x3c3b0e0c,
537 0x3c3b8e27,
538 0x3c3c0e39,
539 0x3c3c8e6c,
540 0x3c3d0e76,
541 0x3c3d8e8a,
542 0x3c3e0e98,
543 0x3c3e8ebd,
544 0x3c3f0c93,
545 0x3c3f8ea6,
Jorge Canizales714d3fc2016-06-28 16:18:41 -0700546 0x3c4000ac,
547 0x3c4080ea,
Muxi Yane1e939e2018-01-29 15:40:14 -0800548 0x3c410d13,
549 0x3c418d52,
550 0x3c420e4f,
551 0x403218a4,
552 0x403298ba,
553 0x403318e8,
554 0x403398f2,
555 0x40341909,
556 0x40349927,
557 0x40351937,
558 0x40359949,
559 0x40361956,
560 0x40369962,
561 0x40371977,
562 0x40379989,
563 0x40381994,
564 0x403899a6,
565 0x40390eed,
566 0x403999b6,
567 0x403a19c9,
568 0x403a99ea,
569 0x403b19fb,
570 0x403b9a0b,
Jorge Canizales714d3fc2016-06-28 16:18:41 -0700571 0x403c0064,
572 0x403c8083,
Muxi Yane1e939e2018-01-29 15:40:14 -0800573 0x403d1a8f,
574 0x403d9aa5,
575 0x403e1ab4,
576 0x403e9aec,
577 0x403f1b06,
578 0x403f9b14,
579 0x40401b29,
580 0x40409b3d,
581 0x40411b5a,
582 0x40419b75,
583 0x40421b8e,
584 0x40429ba1,
585 0x40431bb5,
586 0x40439bcd,
587 0x40441be4,
Jorge Canizales714d3fc2016-06-28 16:18:41 -0700588 0x404480ac,
Muxi Yane1e939e2018-01-29 15:40:14 -0800589 0x40451bf9,
590 0x40459c0b,
591 0x40461c2f,
592 0x40469c4f,
593 0x40471c5d,
594 0x40479c84,
595 0x40481cc1,
596 0x40489cda,
597 0x40491cf1,
598 0x40499d0b,
599 0x404a1d22,
600 0x404a9d40,
601 0x404b1d58,
602 0x404b9d6f,
603 0x404c1d85,
604 0x404c9d97,
605 0x404d1db8,
606 0x404d9dda,
607 0x404e1dee,
608 0x404e9dfb,
609 0x404f1e28,
610 0x404f9e51,
611 0x40501e8c,
612 0x40509ea0,
613 0x40511ebb,
614 0x40521ecb,
615 0x40529eef,
616 0x40531f07,
617 0x40539f1a,
618 0x40541f2f,
619 0x40549f52,
620 0x40551f60,
621 0x40559f7d,
622 0x40561f8a,
623 0x40569fa3,
624 0x40571fbb,
625 0x40579fce,
626 0x40581fe3,
627 0x4058a00a,
628 0x40592039,
629 0x4059a066,
630 0x405a207a,
631 0x405aa08a,
632 0x405b20a2,
633 0x405ba0b3,
634 0x405c20c6,
635 0x405ca105,
636 0x405d2112,
637 0x405da129,
638 0x405e2167,
639 0x405e8ab1,
640 0x405f2188,
641 0x405fa195,
642 0x406021a3,
643 0x4060a1c5,
644 0x40612209,
645 0x4061a241,
646 0x40622258,
647 0x4062a269,
648 0x4063227a,
649 0x4063a28f,
650 0x406422a6,
651 0x4064a2d2,
652 0x406522ed,
653 0x4065a304,
654 0x4066231c,
655 0x4066a346,
656 0x40672371,
657 0x4067a392,
658 0x406823b9,
659 0x4068a3da,
660 0x4069240c,
661 0x4069a43a,
662 0x406a245b,
663 0x406aa47b,
664 0x406b2603,
665 0x406ba626,
666 0x406c263c,
667 0x406ca8b7,
668 0x406d28e6,
669 0x406da90e,
670 0x406e293c,
671 0x406ea989,
672 0x406f29a8,
673 0x406fa9e0,
674 0x407029f3,
675 0x4070aa10,
Jorge Canizales714d3fc2016-06-28 16:18:41 -0700676 0x40710800,
Muxi Yane1e939e2018-01-29 15:40:14 -0800677 0x4071aa22,
678 0x40722a35,
679 0x4072aa4e,
680 0x40732a66,
681 0x40739482,
682 0x40742a7a,
683 0x4074aa94,
684 0x40752aa5,
685 0x4075aab9,
686 0x40762ac7,
687 0x40769259,
688 0x40772aec,
689 0x4077ab0e,
690 0x40782b29,
691 0x4078ab62,
692 0x40792b79,
693 0x4079ab8f,
694 0x407a2b9b,
695 0x407aabae,
696 0x407b2bc3,
697 0x407babd5,
698 0x407c2c06,
699 0x407cac0f,
700 0x407d23f5,
701 0x407d9e61,
702 0x407e2b3e,
703 0x407ea01a,
704 0x407f1c71,
705 0x407f9a31,
706 0x40801e38,
707 0x40809c99,
708 0x40811edd,
709 0x40819e12,
710 0x40822927,
711 0x40829a17,
712 0x40831ff5,
713 0x4083a2b7,
714 0x40841cad,
715 0x4084a052,
716 0x408520d7,
717 0x4085a1ed,
718 0x40862149,
719 0x40869e7b,
720 0x4087296d,
721 0x4087a21e,
722 0x40881a78,
723 0x4088a3a5,
724 0x40891ac7,
725 0x40899a54,
726 0x408a265c,
727 0x408a9862,
728 0x408b2bea,
729 0x408ba9bd,
730 0x408c20e7,
731 0x408c987e,
732 0x41f4252e,
733 0x41f925c0,
734 0x41fe24b3,
735 0x41fea6a8,
736 0x41ff2799,
737 0x42032547,
738 0x42082569,
739 0x4208a5a5,
740 0x42092497,
741 0x4209a5df,
742 0x420a24ee,
743 0x420aa4ce,
744 0x420b250e,
745 0x420ba587,
746 0x420c27b5,
747 0x420ca675,
748 0x420d268f,
749 0x420da6c6,
750 0x421226e0,
751 0x4217277c,
752 0x4217a722,
753 0x421c2744,
754 0x421f26ff,
755 0x422127cc,
756 0x4226275f,
757 0x422b289b,
758 0x422ba849,
759 0x422c2883,
760 0x422ca808,
761 0x422d27e7,
762 0x422da868,
763 0x422e282e,
764 0x422ea954,
Jorge Canizales714d3fc2016-06-28 16:18:41 -0700765 0x4432072b,
766 0x4432873a,
767 0x44330746,
768 0x44338754,
769 0x44340767,
770 0x44348778,
771 0x4435077f,
772 0x44358789,
773 0x4436079c,
774 0x443687b2,
775 0x443707c4,
776 0x443787d1,
777 0x443807e0,
778 0x443887e8,
779 0x44390800,
780 0x4439880e,
781 0x443a0821,
Muxi Yane1e939e2018-01-29 15:40:14 -0800782 0x48321283,
783 0x48329295,
784 0x483312ab,
785 0x483392c4,
786 0x4c3212e9,
787 0x4c3292f9,
788 0x4c33130c,
789 0x4c33932c,
Jorge Canizales714d3fc2016-06-28 16:18:41 -0700790 0x4c3400ac,
791 0x4c3480ea,
Muxi Yane1e939e2018-01-29 15:40:14 -0800792 0x4c351338,
793 0x4c359346,
794 0x4c361362,
795 0x4c369375,
796 0x4c371384,
797 0x4c379392,
798 0x4c3813a7,
799 0x4c3893b3,
800 0x4c3913d3,
801 0x4c3993fd,
802 0x4c3a1416,
803 0x4c3a942f,
Jorge Canizales714d3fc2016-06-28 16:18:41 -0700804 0x4c3b05fb,
Muxi Yane1e939e2018-01-29 15:40:14 -0800805 0x4c3b9448,
806 0x4c3c145a,
807 0x4c3c9469,
808 0x4c3d1482,
809 0x4c3d8c45,
810 0x4c3e14db,
811 0x4c3e9491,
812 0x4c3f14fd,
813 0x4c3f9259,
814 0x4c4014a7,
815 0x4c4092d5,
816 0x4c4114cb,
817 0x50322e48,
818 0x5032ae57,
819 0x50332e62,
820 0x5033ae72,
821 0x50342e8b,
822 0x5034aea5,
823 0x50352eb3,
824 0x5035aec9,
825 0x50362edb,
826 0x5036aef1,
827 0x50372f0a,
828 0x5037af1d,
829 0x50382f35,
830 0x5038af46,
831 0x50392f5b,
832 0x5039af6f,
833 0x503a2f8f,
834 0x503aafa5,
835 0x503b2fbd,
836 0x503bafcf,
837 0x503c2feb,
838 0x503cb002,
839 0x503d301b,
840 0x503db031,
841 0x503e303e,
842 0x503eb054,
843 0x503f3066,
Jorge Canizales714d3fc2016-06-28 16:18:41 -0700844 0x503f8382,
Muxi Yane1e939e2018-01-29 15:40:14 -0800845 0x50403079,
846 0x5040b089,
847 0x504130a3,
848 0x5041b0b2,
849 0x504230cc,
850 0x5042b0e9,
851 0x504330f9,
852 0x5043b109,
853 0x50443118,
Jorge Canizales714d3fc2016-06-28 16:18:41 -0700854 0x5044843f,
Muxi Yane1e939e2018-01-29 15:40:14 -0800855 0x5045312c,
856 0x5045b14a,
857 0x5046315d,
858 0x5046b173,
859 0x50473185,
860 0x5047b19a,
861 0x504831c0,
862 0x5048b1ce,
863 0x504931e1,
864 0x5049b1f6,
865 0x504a320c,
866 0x504ab21c,
867 0x504b323c,
868 0x504bb24f,
869 0x504c3272,
870 0x504cb2a0,
871 0x504d32b2,
872 0x504db2cf,
873 0x504e32ea,
874 0x504eb306,
875 0x504f3318,
876 0x504fb32f,
877 0x5050333e,
Jorge Canizales714d3fc2016-06-28 16:18:41 -0700878 0x505086ef,
Muxi Yane1e939e2018-01-29 15:40:14 -0800879 0x50513351,
880 0x58320f2b,
881 0x68320eed,
882 0x68328c6a,
883 0x68330c7d,
884 0x68338efb,
885 0x68340f0b,
Jorge Canizales714d3fc2016-06-28 16:18:41 -0700886 0x683480ea,
Muxi Yane1e939e2018-01-29 15:40:14 -0800887 0x6c320ec9,
888 0x6c328c34,
889 0x6c330ed4,
890 0x74320a19,
891 0x743280ac,
892 0x74330c45,
893 0x7832097e,
894 0x78328993,
895 0x7833099f,
Jorge Canizales22851862015-11-18 19:03:04 -0800896 0x78338083,
Muxi Yane1e939e2018-01-29 15:40:14 -0800897 0x783409ae,
898 0x783489c3,
899 0x783509e2,
900 0x78358a04,
901 0x78360a19,
902 0x78368a2f,
903 0x78370a3f,
904 0x78378a60,
905 0x78380a73,
906 0x78388a85,
907 0x78390a92,
908 0x78398ab1,
909 0x783a0ac6,
910 0x783a8ad4,
911 0x783b0ade,
912 0x783b8af2,
913 0x783c0b09,
914 0x783c8b1e,
915 0x783d0b35,
916 0x783d8b4a,
917 0x783e0aa0,
918 0x783e8a52,
919 0x7c321185,
Jorge Canizales22851862015-11-18 19:03:04 -0800920 };
921
922 const size_t kOpenSSLReasonValuesLen = sizeof(kOpenSSLReasonValues) / sizeof(kOpenSSLReasonValues[0]);
923
924 const char kOpenSSLReasonStringData[] =
925 "ASN1_LENGTH_MISMATCH\\0"
926 "AUX_ERROR\\0"
927 "BAD_GET_ASN1_OBJECT_CALL\\0"
928 "BAD_OBJECT_HEADER\\0"
929 "BMPSTRING_IS_WRONG_LENGTH\\0"
930 "BN_LIB\\0"
931 "BOOLEAN_IS_WRONG_LENGTH\\0"
932 "BUFFER_TOO_SMALL\\0"
Jorge Canizales714d3fc2016-06-28 16:18:41 -0700933 "CONTEXT_NOT_INITIALISED\\0"
Jorge Canizales22851862015-11-18 19:03:04 -0800934 "DECODE_ERROR\\0"
935 "DEPTH_EXCEEDED\\0"
Jorge Canizales714d3fc2016-06-28 16:18:41 -0700936 "DIGEST_AND_KEY_TYPE_NOT_SUPPORTED\\0"
Jorge Canizales22851862015-11-18 19:03:04 -0800937 "ENCODE_ERROR\\0"
938 "ERROR_GETTING_TIME\\0"
939 "EXPECTING_AN_ASN1_SEQUENCE\\0"
940 "EXPECTING_AN_INTEGER\\0"
941 "EXPECTING_AN_OBJECT\\0"
942 "EXPECTING_A_BOOLEAN\\0"
943 "EXPECTING_A_TIME\\0"
944 "EXPLICIT_LENGTH_MISMATCH\\0"
945 "EXPLICIT_TAG_NOT_CONSTRUCTED\\0"
946 "FIELD_MISSING\\0"
947 "FIRST_NUM_TOO_LARGE\\0"
948 "HEADER_TOO_LONG\\0"
949 "ILLEGAL_BITSTRING_FORMAT\\0"
950 "ILLEGAL_BOOLEAN\\0"
951 "ILLEGAL_CHARACTERS\\0"
952 "ILLEGAL_FORMAT\\0"
953 "ILLEGAL_HEX\\0"
954 "ILLEGAL_IMPLICIT_TAG\\0"
955 "ILLEGAL_INTEGER\\0"
956 "ILLEGAL_NESTED_TAGGING\\0"
957 "ILLEGAL_NULL\\0"
958 "ILLEGAL_NULL_VALUE\\0"
959 "ILLEGAL_OBJECT\\0"
960 "ILLEGAL_OPTIONAL_ANY\\0"
961 "ILLEGAL_OPTIONS_ON_ITEM_TEMPLATE\\0"
962 "ILLEGAL_TAGGED_ANY\\0"
963 "ILLEGAL_TIME_VALUE\\0"
964 "INTEGER_NOT_ASCII_FORMAT\\0"
965 "INTEGER_TOO_LARGE_FOR_LONG\\0"
966 "INVALID_BIT_STRING_BITS_LEFT\\0"
967 "INVALID_BMPSTRING_LENGTH\\0"
968 "INVALID_DIGIT\\0"
969 "INVALID_MODIFIER\\0"
970 "INVALID_NUMBER\\0"
971 "INVALID_OBJECT_ENCODING\\0"
972 "INVALID_SEPARATOR\\0"
973 "INVALID_TIME_FORMAT\\0"
974 "INVALID_UNIVERSALSTRING_LENGTH\\0"
975 "INVALID_UTF8STRING\\0"
976 "LIST_ERROR\\0"
Jorge Canizales22851862015-11-18 19:03:04 -0800977 "MISSING_ASN1_EOS\\0"
978 "MISSING_EOC\\0"
979 "MISSING_SECOND_NUMBER\\0"
980 "MISSING_VALUE\\0"
981 "MSTRING_NOT_UNIVERSAL\\0"
982 "MSTRING_WRONG_TAG\\0"
983 "NESTED_ASN1_ERROR\\0"
984 "NESTED_ASN1_STRING\\0"
985 "NON_HEX_CHARACTERS\\0"
986 "NOT_ASCII_FORMAT\\0"
987 "NOT_ENOUGH_DATA\\0"
988 "NO_MATCHING_CHOICE_TYPE\\0"
989 "NULL_IS_WRONG_LENGTH\\0"
990 "OBJECT_NOT_ASCII_FORMAT\\0"
991 "ODD_NUMBER_OF_CHARS\\0"
992 "SECOND_NUMBER_TOO_LARGE\\0"
993 "SEQUENCE_LENGTH_MISMATCH\\0"
994 "SEQUENCE_NOT_CONSTRUCTED\\0"
995 "SEQUENCE_OR_SET_NEEDS_CONFIG\\0"
996 "SHORT_LINE\\0"
997 "STREAMING_NOT_SUPPORTED\\0"
998 "STRING_TOO_LONG\\0"
999 "STRING_TOO_SHORT\\0"
1000 "TAG_VALUE_TOO_HIGH\\0"
1001 "TIME_NOT_ASCII_FORMAT\\0"
1002 "TOO_LONG\\0"
1003 "TYPE_NOT_CONSTRUCTED\\0"
1004 "TYPE_NOT_PRIMITIVE\\0"
1005 "UNEXPECTED_EOC\\0"
1006 "UNIVERSALSTRING_IS_WRONG_LENGTH\\0"
1007 "UNKNOWN_FORMAT\\0"
Jorge Canizales714d3fc2016-06-28 16:18:41 -07001008 "UNKNOWN_MESSAGE_DIGEST_ALGORITHM\\0"
1009 "UNKNOWN_SIGNATURE_ALGORITHM\\0"
Jorge Canizales22851862015-11-18 19:03:04 -08001010 "UNKNOWN_TAG\\0"
1011 "UNSUPPORTED_ANY_DEFINED_BY_TYPE\\0"
1012 "UNSUPPORTED_PUBLIC_KEY_TYPE\\0"
1013 "UNSUPPORTED_TYPE\\0"
Jorge Canizales714d3fc2016-06-28 16:18:41 -07001014 "WRONG_PUBLIC_KEY_TYPE\\0"
Jorge Canizales22851862015-11-18 19:03:04 -08001015 "WRONG_TAG\\0"
1016 "WRONG_TYPE\\0"
1017 "BAD_FOPEN_MODE\\0"
1018 "BROKEN_PIPE\\0"
1019 "CONNECT_ERROR\\0"
1020 "ERROR_SETTING_NBIO\\0"
1021 "INVALID_ARGUMENT\\0"
1022 "IN_USE\\0"
1023 "KEEPALIVE\\0"
1024 "NBIO_CONNECT_ERROR\\0"
1025 "NO_HOSTNAME_SPECIFIED\\0"
1026 "NO_PORT_SPECIFIED\\0"
1027 "NO_SUCH_FILE\\0"
1028 "NULL_PARAMETER\\0"
1029 "SYS_LIB\\0"
1030 "UNABLE_TO_CREATE_SOCKET\\0"
1031 "UNINITIALIZED\\0"
1032 "UNSUPPORTED_METHOD\\0"
1033 "WRITE_TO_READ_ONLY_BIO\\0"
1034 "ARG2_LT_ARG3\\0"
1035 "BAD_ENCODING\\0"
1036 "BAD_RECIPROCAL\\0"
1037 "BIGNUM_TOO_LONG\\0"
1038 "BITS_TOO_SMALL\\0"
1039 "CALLED_WITH_EVEN_MODULUS\\0"
1040 "DIV_BY_ZERO\\0"
1041 "EXPAND_ON_STATIC_BIGNUM_DATA\\0"
1042 "INPUT_NOT_REDUCED\\0"
Muxi Yane1e939e2018-01-29 15:40:14 -08001043 "INVALID_INPUT\\0"
Jorge Canizales22851862015-11-18 19:03:04 -08001044 "INVALID_RANGE\\0"
1045 "NEGATIVE_NUMBER\\0"
1046 "NOT_A_SQUARE\\0"
1047 "NOT_INITIALIZED\\0"
1048 "NO_INVERSE\\0"
1049 "PRIVATE_KEY_TOO_LARGE\\0"
1050 "P_IS_NOT_PRIME\\0"
1051 "TOO_MANY_ITERATIONS\\0"
1052 "TOO_MANY_TEMPORARY_VARIABLES\\0"
1053 "AES_KEY_SETUP_FAILED\\0"
1054 "BAD_DECRYPT\\0"
1055 "BAD_KEY_LENGTH\\0"
1056 "CTRL_NOT_IMPLEMENTED\\0"
1057 "CTRL_OPERATION_NOT_IMPLEMENTED\\0"
1058 "DATA_NOT_MULTIPLE_OF_BLOCK_LENGTH\\0"
1059 "INITIALIZATION_ERROR\\0"
1060 "INPUT_NOT_INITIALIZED\\0"
1061 "INVALID_AD_SIZE\\0"
1062 "INVALID_KEY_LENGTH\\0"
Muxi Yane1e939e2018-01-29 15:40:14 -08001063 "INVALID_NONCE\\0"
Jorge Canizales22851862015-11-18 19:03:04 -08001064 "INVALID_NONCE_SIZE\\0"
1065 "INVALID_OPERATION\\0"
1066 "IV_TOO_LARGE\\0"
1067 "NO_CIPHER_SET\\0"
1068 "NO_DIRECTION_SET\\0"
1069 "OUTPUT_ALIASES_INPUT\\0"
1070 "TAG_TOO_LARGE\\0"
1071 "TOO_LARGE\\0"
1072 "UNSUPPORTED_AD_SIZE\\0"
1073 "UNSUPPORTED_INPUT_SIZE\\0"
1074 "UNSUPPORTED_KEY_SIZE\\0"
1075 "UNSUPPORTED_NONCE_SIZE\\0"
1076 "UNSUPPORTED_TAG_SIZE\\0"
1077 "WRONG_FINAL_BLOCK_LENGTH\\0"
1078 "LIST_CANNOT_BE_NULL\\0"
1079 "MISSING_CLOSE_SQUARE_BRACKET\\0"
1080 "MISSING_EQUAL_SIGN\\0"
1081 "NO_CLOSE_BRACE\\0"
1082 "UNABLE_TO_CREATE_NEW_SECTION\\0"
Muxi Yane1e939e2018-01-29 15:40:14 -08001083 "VARIABLE_EXPANSION_TOO_LONG\\0"
Jorge Canizales22851862015-11-18 19:03:04 -08001084 "VARIABLE_HAS_NO_VALUE\\0"
1085 "BAD_GENERATOR\\0"
1086 "INVALID_PUBKEY\\0"
1087 "MODULUS_TOO_LARGE\\0"
1088 "NO_PRIVATE_VALUE\\0"
Muxi Yane1e939e2018-01-29 15:40:14 -08001089 "UNKNOWN_HASH\\0"
Jorge Canizales22851862015-11-18 19:03:04 -08001090 "BAD_Q_VALUE\\0"
Jorge Canizales714d3fc2016-06-28 16:18:41 -07001091 "BAD_VERSION\\0"
Jorge Canizales22851862015-11-18 19:03:04 -08001092 "MISSING_PARAMETERS\\0"
1093 "NEED_NEW_SETUP_VALUES\\0"
1094 "BIGNUM_OUT_OF_RANGE\\0"
1095 "COORDINATES_OUT_OF_RANGE\\0"
1096 "D2I_ECPKPARAMETERS_FAILURE\\0"
1097 "EC_GROUP_NEW_BY_NAME_FAILURE\\0"
1098 "GROUP2PKPARAMETERS_FAILURE\\0"
Jorge Canizales714d3fc2016-06-28 16:18:41 -07001099 "GROUP_MISMATCH\\0"
Jorge Canizales22851862015-11-18 19:03:04 -08001100 "I2D_ECPKPARAMETERS_FAILURE\\0"
1101 "INCOMPATIBLE_OBJECTS\\0"
Jorge Canizales714d3fc2016-06-28 16:18:41 -07001102 "INVALID_COFACTOR\\0"
Jorge Canizales22851862015-11-18 19:03:04 -08001103 "INVALID_COMPRESSED_POINT\\0"
1104 "INVALID_COMPRESSION_BIT\\0"
1105 "INVALID_ENCODING\\0"
1106 "INVALID_FIELD\\0"
1107 "INVALID_FORM\\0"
1108 "INVALID_GROUP_ORDER\\0"
1109 "INVALID_PRIVATE_KEY\\0"
1110 "MISSING_PRIVATE_KEY\\0"
1111 "NON_NAMED_CURVE\\0"
1112 "PKPARAMETERS2GROUP_FAILURE\\0"
1113 "POINT_AT_INFINITY\\0"
1114 "POINT_IS_NOT_ON_CURVE\\0"
Muxi Yane1e939e2018-01-29 15:40:14 -08001115 "PUBLIC_KEY_VALIDATION_FAILED\\0"
Jorge Canizales22851862015-11-18 19:03:04 -08001116 "SLOT_FULL\\0"
1117 "UNDEFINED_GENERATOR\\0"
1118 "UNKNOWN_GROUP\\0"
1119 "UNKNOWN_ORDER\\0"
1120 "WRONG_CURVE_PARAMETERS\\0"
1121 "WRONG_ORDER\\0"
1122 "KDF_FAILED\\0"
1123 "POINT_ARITHMETIC_FAILURE\\0"
1124 "BAD_SIGNATURE\\0"
1125 "NOT_IMPLEMENTED\\0"
1126 "RANDOM_NUMBER_GENERATION_FAILED\\0"
1127 "OPERATION_NOT_SUPPORTED\\0"
Jorge Canizales22851862015-11-18 19:03:04 -08001128 "COMMAND_NOT_SUPPORTED\\0"
Jorge Canizales22851862015-11-18 19:03:04 -08001129 "DIFFERENT_KEY_TYPES\\0"
1130 "DIFFERENT_PARAMETERS\\0"
Jorge Canizales22851862015-11-18 19:03:04 -08001131 "EXPECTING_AN_EC_KEY_KEY\\0"
1132 "EXPECTING_AN_RSA_KEY\\0"
Jorge Canizales22851862015-11-18 19:03:04 -08001133 "EXPECTING_A_DSA_KEY\\0"
1134 "ILLEGAL_OR_UNSUPPORTED_PADDING_MODE\\0"
Jorge Canizales22851862015-11-18 19:03:04 -08001135 "INVALID_DIGEST_LENGTH\\0"
1136 "INVALID_DIGEST_TYPE\\0"
1137 "INVALID_KEYBITS\\0"
1138 "INVALID_MGF1_MD\\0"
1139 "INVALID_PADDING_MODE\\0"
Muxi Yane1e939e2018-01-29 15:40:14 -08001140 "INVALID_PARAMETERS\\0"
Jorge Canizales22851862015-11-18 19:03:04 -08001141 "INVALID_PSS_SALTLEN\\0"
Muxi Yane1e939e2018-01-29 15:40:14 -08001142 "INVALID_SIGNATURE\\0"
Jorge Canizales22851862015-11-18 19:03:04 -08001143 "KEYS_NOT_SET\\0"
Muxi Yane1e939e2018-01-29 15:40:14 -08001144 "MEMORY_LIMIT_EXCEEDED\\0"
1145 "NOT_A_PRIVATE_KEY\\0"
Jorge Canizales22851862015-11-18 19:03:04 -08001146 "NO_DEFAULT_DIGEST\\0"
1147 "NO_KEY_SET\\0"
1148 "NO_MDC2_SUPPORT\\0"
1149 "NO_NID_FOR_CURVE\\0"
1150 "NO_OPERATION_SET\\0"
1151 "NO_PARAMETERS_SET\\0"
1152 "OPERATION_NOT_SUPPORTED_FOR_THIS_KEYTYPE\\0"
1153 "OPERATON_NOT_INITIALIZED\\0"
Jorge Canizales22851862015-11-18 19:03:04 -08001154 "UNKNOWN_PUBLIC_KEY_TYPE\\0"
Jorge Canizales22851862015-11-18 19:03:04 -08001155 "UNSUPPORTED_ALGORITHM\\0"
Jorge Canizales22851862015-11-18 19:03:04 -08001156 "OUTPUT_TOO_LARGE\\0"
1157 "UNKNOWN_NID\\0"
1158 "BAD_BASE64_DECODE\\0"
1159 "BAD_END_LINE\\0"
1160 "BAD_IV_CHARS\\0"
1161 "BAD_PASSWORD_READ\\0"
1162 "CIPHER_IS_NULL\\0"
1163 "ERROR_CONVERTING_PRIVATE_KEY\\0"
1164 "NOT_DEK_INFO\\0"
1165 "NOT_ENCRYPTED\\0"
1166 "NOT_PROC_TYPE\\0"
1167 "NO_START_LINE\\0"
1168 "READ_KEY\\0"
1169 "SHORT_HEADER\\0"
1170 "UNSUPPORTED_CIPHER\\0"
1171 "UNSUPPORTED_ENCRYPTION\\0"
Muxi Yane1e939e2018-01-29 15:40:14 -08001172 "BAD_PKCS7_VERSION\\0"
1173 "NOT_PKCS7_SIGNED_DATA\\0"
1174 "NO_CERTIFICATES_INCLUDED\\0"
1175 "NO_CRLS_INCLUDED\\0"
1176 "BAD_ITERATION_COUNT\\0"
Jorge Canizales22851862015-11-18 19:03:04 -08001177 "BAD_PKCS12_DATA\\0"
1178 "BAD_PKCS12_VERSION\\0"
1179 "CIPHER_HAS_NO_OBJECT_IDENTIFIER\\0"
1180 "CRYPT_ERROR\\0"
1181 "ENCRYPT_ERROR\\0"
1182 "ERROR_SETTING_CIPHER_PARAMS\\0"
1183 "INCORRECT_PASSWORD\\0"
1184 "KEYGEN_FAILURE\\0"
1185 "KEY_GEN_ERROR\\0"
1186 "METHOD_NOT_SUPPORTED\\0"
1187 "MISSING_MAC\\0"
1188 "MULTIPLE_PRIVATE_KEYS_IN_PKCS12\\0"
1189 "PKCS12_PUBLIC_KEY_INTEGRITY_NOT_SUPPORTED\\0"
1190 "PKCS12_TOO_DEEPLY_NESTED\\0"
1191 "PRIVATE_KEY_DECODE_ERROR\\0"
1192 "PRIVATE_KEY_ENCODE_ERROR\\0"
1193 "UNKNOWN_ALGORITHM\\0"
1194 "UNKNOWN_CIPHER\\0"
1195 "UNKNOWN_CIPHER_ALGORITHM\\0"
Jorge Canizales714d3fc2016-06-28 16:18:41 -07001196 "UNKNOWN_DIGEST\\0"
Muxi Yane1e939e2018-01-29 15:40:14 -08001197 "UNSUPPORTED_KEYLENGTH\\0"
1198 "UNSUPPORTED_KEY_DERIVATION_FUNCTION\\0"
1199 "UNSUPPORTED_PRF\\0"
Jorge Canizales22851862015-11-18 19:03:04 -08001200 "UNSUPPORTED_PRIVATE_KEY_ALGORITHM\\0"
Muxi Yane1e939e2018-01-29 15:40:14 -08001201 "UNSUPPORTED_SALT_TYPE\\0"
Jorge Canizales22851862015-11-18 19:03:04 -08001202 "BAD_E_VALUE\\0"
1203 "BAD_FIXED_HEADER_DECRYPT\\0"
1204 "BAD_PAD_BYTE_COUNT\\0"
1205 "BAD_RSA_PARAMETERS\\0"
Jorge Canizales22851862015-11-18 19:03:04 -08001206 "BLOCK_TYPE_IS_NOT_01\\0"
1207 "BN_NOT_INITIALIZED\\0"
1208 "CANNOT_RECOVER_MULTI_PRIME_KEY\\0"
1209 "CRT_PARAMS_ALREADY_GIVEN\\0"
1210 "CRT_VALUES_INCORRECT\\0"
1211 "DATA_LEN_NOT_EQUAL_TO_MOD_LEN\\0"
1212 "DATA_TOO_LARGE\\0"
1213 "DATA_TOO_LARGE_FOR_KEY_SIZE\\0"
1214 "DATA_TOO_LARGE_FOR_MODULUS\\0"
1215 "DATA_TOO_SMALL\\0"
1216 "DATA_TOO_SMALL_FOR_KEY_SIZE\\0"
1217 "DIGEST_TOO_BIG_FOR_RSA_KEY\\0"
1218 "D_E_NOT_CONGRUENT_TO_1\\0"
1219 "EMPTY_PUBLIC_KEY\\0"
1220 "FIRST_OCTET_INVALID\\0"
1221 "INCONSISTENT_SET_OF_CRT_VALUES\\0"
1222 "INTERNAL_ERROR\\0"
1223 "INVALID_MESSAGE_LENGTH\\0"
1224 "KEY_SIZE_TOO_SMALL\\0"
1225 "LAST_OCTET_INVALID\\0"
1226 "MUST_HAVE_AT_LEAST_TWO_PRIMES\\0"
1227 "NO_PUBLIC_EXPONENT\\0"
1228 "NULL_BEFORE_BLOCK_MISSING\\0"
1229 "N_NOT_EQUAL_P_Q\\0"
1230 "OAEP_DECODING_ERROR\\0"
1231 "ONLY_ONE_OF_P_Q_GIVEN\\0"
1232 "OUTPUT_BUFFER_TOO_SMALL\\0"
1233 "PADDING_CHECK_FAILED\\0"
1234 "PKCS_DECODING_ERROR\\0"
1235 "SLEN_CHECK_FAILED\\0"
1236 "SLEN_RECOVERY_FAILED\\0"
1237 "UNKNOWN_ALGORITHM_TYPE\\0"
1238 "UNKNOWN_PADDING_TYPE\\0"
1239 "VALUE_MISSING\\0"
1240 "WRONG_SIGNATURE_LENGTH\\0"
Muxi Yane1e939e2018-01-29 15:40:14 -08001241 "ALPN_MISMATCH_ON_EARLY_DATA\\0"
1242 "APPLICATION_DATA_INSTEAD_OF_HANDSHAKE\\0"
Jorge Canizales22851862015-11-18 19:03:04 -08001243 "APP_DATA_IN_HANDSHAKE\\0"
1244 "ATTEMPT_TO_REUSE_SESSION_IN_DIFFERENT_CONTEXT\\0"
1245 "BAD_ALERT\\0"
1246 "BAD_CHANGE_CIPHER_SPEC\\0"
1247 "BAD_DATA_RETURNED_BY_CALLBACK\\0"
1248 "BAD_DH_P_LENGTH\\0"
1249 "BAD_DIGEST_LENGTH\\0"
1250 "BAD_ECC_CERT\\0"
1251 "BAD_ECPOINT\\0"
Jorge Canizales22851862015-11-18 19:03:04 -08001252 "BAD_HANDSHAKE_RECORD\\0"
1253 "BAD_HELLO_REQUEST\\0"
1254 "BAD_LENGTH\\0"
1255 "BAD_PACKET_LENGTH\\0"
1256 "BAD_RSA_ENCRYPT\\0"
1257 "BAD_SRTP_MKI_VALUE\\0"
1258 "BAD_SRTP_PROTECTION_PROFILE_LIST\\0"
1259 "BAD_SSL_FILETYPE\\0"
1260 "BAD_WRITE_RETRY\\0"
1261 "BIO_NOT_SET\\0"
Muxi Yana507de32016-10-17 20:57:25 -07001262 "BLOCK_CIPHER_PAD_IS_WRONG\\0"
Jorge Canizales4a18c672016-08-18 13:26:25 -07001263 "BUFFERED_MESSAGES_ON_CIPHER_CHANGE\\0"
Muxi Yane1e939e2018-01-29 15:40:14 -08001264 "CANNOT_HAVE_BOTH_PRIVKEY_AND_METHOD\\0"
Muxi Yanc0d3bab2017-07-10 11:21:37 -07001265 "CANNOT_PARSE_LEAF_CERT\\0"
Jorge Canizales22851862015-11-18 19:03:04 -08001266 "CA_DN_LENGTH_MISMATCH\\0"
1267 "CA_DN_TOO_LONG\\0"
1268 "CCS_RECEIVED_EARLY\\0"
Muxi Yane1e939e2018-01-29 15:40:14 -08001269 "CERTIFICATE_AND_PRIVATE_KEY_MISMATCH\\0"
Jorge Canizales22851862015-11-18 19:03:04 -08001270 "CERTIFICATE_VERIFY_FAILED\\0"
1271 "CERT_CB_ERROR\\0"
1272 "CERT_LENGTH_MISMATCH\\0"
1273 "CHANNEL_ID_NOT_P256\\0"
1274 "CHANNEL_ID_SIGNATURE_INVALID\\0"
Jorge Canizales22851862015-11-18 19:03:04 -08001275 "CIPHER_OR_HASH_UNAVAILABLE\\0"
1276 "CLIENTHELLO_PARSE_FAILED\\0"
1277 "CLIENTHELLO_TLSEXT\\0"
1278 "CONNECTION_REJECTED\\0"
1279 "CONNECTION_TYPE_NOT_SET\\0"
Jorge Canizales22851862015-11-18 19:03:04 -08001280 "CUSTOM_EXTENSION_ERROR\\0"
Jorge Canizales22851862015-11-18 19:03:04 -08001281 "DATA_LENGTH_TOO_LONG\\0"
1282 "DECRYPTION_FAILED\\0"
1283 "DECRYPTION_FAILED_OR_BAD_RECORD_MAC\\0"
1284 "DH_PUBLIC_VALUE_LENGTH_IS_WRONG\\0"
1285 "DH_P_TOO_LONG\\0"
1286 "DIGEST_CHECK_FAILED\\0"
Jorge Canizales0af0ae42016-07-18 12:08:19 -07001287 "DOWNGRADE_DETECTED\\0"
Jorge Canizales22851862015-11-18 19:03:04 -08001288 "DTLS_MESSAGE_TOO_BIG\\0"
Jorge Canizales4a18c672016-08-18 13:26:25 -07001289 "DUPLICATE_EXTENSION\\0"
Muxi Yana507de32016-10-17 20:57:25 -07001290 "DUPLICATE_KEY_SHARE\\0"
Jorge Canizales22851862015-11-18 19:03:04 -08001291 "ECC_CERT_NOT_FOR_SIGNING\\0"
Jorge Canizales22851862015-11-18 19:03:04 -08001292 "EMS_STATE_INCONSISTENT\\0"
1293 "ENCRYPTED_LENGTH_TOO_LONG\\0"
1294 "ERROR_ADDING_EXTENSION\\0"
1295 "ERROR_IN_RECEIVED_CIPHER_LIST\\0"
1296 "ERROR_PARSING_EXTENSION\\0"
Jorge Canizales22851862015-11-18 19:03:04 -08001297 "EXCESSIVE_MESSAGE_SIZE\\0"
1298 "EXTRA_DATA_IN_MESSAGE\\0"
1299 "FRAGMENT_MISMATCH\\0"
Jorge Canizales22851862015-11-18 19:03:04 -08001300 "GOT_NEXT_PROTO_WITHOUT_EXTENSION\\0"
1301 "HANDSHAKE_FAILURE_ON_CLIENT_HELLO\\0"
Jorge Canizales22851862015-11-18 19:03:04 -08001302 "HTTPS_PROXY_REQUEST\\0"
1303 "HTTP_REQUEST\\0"
1304 "INAPPROPRIATE_FALLBACK\\0"
Jorge Canizales4a18c672016-08-18 13:26:25 -07001305 "INVALID_ALPN_PROTOCOL\\0"
Jorge Canizales22851862015-11-18 19:03:04 -08001306 "INVALID_COMMAND\\0"
Jorge Canizales4a18c672016-08-18 13:26:25 -07001307 "INVALID_COMPRESSION_LIST\\0"
Jorge Canizales22851862015-11-18 19:03:04 -08001308 "INVALID_MESSAGE\\0"
Jorge Canizales714d3fc2016-06-28 16:18:41 -07001309 "INVALID_OUTER_RECORD_TYPE\\0"
Muxi Yanc0d3bab2017-07-10 11:21:37 -07001310 "INVALID_SCT_LIST\\0"
Jorge Canizales22851862015-11-18 19:03:04 -08001311 "INVALID_SSL_SESSION\\0"
1312 "INVALID_TICKET_KEYS_LENGTH\\0"
1313 "LENGTH_MISMATCH\\0"
Jorge Canizales22851862015-11-18 19:03:04 -08001314 "MISSING_EXTENSION\\0"
Jorge Canizales4a18c672016-08-18 13:26:25 -07001315 "MISSING_KEY_SHARE\\0"
Jorge Canizales22851862015-11-18 19:03:04 -08001316 "MISSING_RSA_CERTIFICATE\\0"
Jorge Canizales22851862015-11-18 19:03:04 -08001317 "MISSING_TMP_DH_KEY\\0"
1318 "MISSING_TMP_ECDH_KEY\\0"
1319 "MIXED_SPECIAL_OPERATOR_WITH_GROUPS\\0"
1320 "MTU_TOO_SMALL\\0"
1321 "NEGOTIATED_BOTH_NPN_AND_ALPN\\0"
1322 "NESTED_GROUP\\0"
1323 "NO_CERTIFICATES_RETURNED\\0"
1324 "NO_CERTIFICATE_ASSIGNED\\0"
1325 "NO_CERTIFICATE_SET\\0"
1326 "NO_CIPHERS_AVAILABLE\\0"
1327 "NO_CIPHERS_PASSED\\0"
Muxi Yana507de32016-10-17 20:57:25 -07001328 "NO_CIPHERS_SPECIFIED\\0"
Jorge Canizales22851862015-11-18 19:03:04 -08001329 "NO_CIPHER_MATCH\\0"
Jorge Canizales0af0ae42016-07-18 12:08:19 -07001330 "NO_COMMON_SIGNATURE_ALGORITHMS\\0"
Jorge Canizales22851862015-11-18 19:03:04 -08001331 "NO_COMPRESSION_SPECIFIED\\0"
Muxi Yana507de32016-10-17 20:57:25 -07001332 "NO_GROUPS_SPECIFIED\\0"
Jorge Canizales22851862015-11-18 19:03:04 -08001333 "NO_METHOD_SPECIFIED\\0"
1334 "NO_P256_SUPPORT\\0"
1335 "NO_PRIVATE_KEY_ASSIGNED\\0"
1336 "NO_RENEGOTIATION\\0"
1337 "NO_REQUIRED_DIGEST\\0"
1338 "NO_SHARED_CIPHER\\0"
Muxi Yanc0d3bab2017-07-10 11:21:37 -07001339 "NO_SHARED_GROUP\\0"
Muxi Yane1e939e2018-01-29 15:40:14 -08001340 "NO_SUPPORTED_VERSIONS_ENABLED\\0"
Jorge Canizales22851862015-11-18 19:03:04 -08001341 "NULL_SSL_CTX\\0"
1342 "NULL_SSL_METHOD_PASSED\\0"
1343 "OLD_SESSION_CIPHER_NOT_RETURNED\\0"
Muxi Yanc0d3bab2017-07-10 11:21:37 -07001344 "OLD_SESSION_PRF_HASH_MISMATCH\\0"
Jorge Canizales22851862015-11-18 19:03:04 -08001345 "OLD_SESSION_VERSION_NOT_RETURNED\\0"
Jorge Canizales22851862015-11-18 19:03:04 -08001346 "PARSE_TLSEXT\\0"
1347 "PATH_TOO_LONG\\0"
1348 "PEER_DID_NOT_RETURN_A_CERTIFICATE\\0"
1349 "PEER_ERROR_UNSUPPORTED_CERTIFICATE_TYPE\\0"
Muxi Yanc0d3bab2017-07-10 11:21:37 -07001350 "PRE_SHARED_KEY_MUST_BE_LAST\\0"
Jorge Canizales22851862015-11-18 19:03:04 -08001351 "PROTOCOL_IS_SHUTDOWN\\0"
Muxi Yanc0d3bab2017-07-10 11:21:37 -07001352 "PSK_IDENTITY_BINDER_COUNT_MISMATCH\\0"
Jorge Canizales22851862015-11-18 19:03:04 -08001353 "PSK_IDENTITY_NOT_FOUND\\0"
1354 "PSK_NO_CLIENT_CB\\0"
1355 "PSK_NO_SERVER_CB\\0"
Jorge Canizales22851862015-11-18 19:03:04 -08001356 "READ_TIMEOUT_EXPIRED\\0"
1357 "RECORD_LENGTH_MISMATCH\\0"
1358 "RECORD_TOO_LARGE\\0"
Muxi Yana507de32016-10-17 20:57:25 -07001359 "RENEGOTIATION_EMS_MISMATCH\\0"
Jorge Canizales22851862015-11-18 19:03:04 -08001360 "RENEGOTIATION_ENCODING_ERR\\0"
1361 "RENEGOTIATION_MISMATCH\\0"
1362 "REQUIRED_CIPHER_MISSING\\0"
1363 "RESUMED_EMS_SESSION_WITHOUT_EMS_EXTENSION\\0"
1364 "RESUMED_NON_EMS_SESSION_WITH_EMS_EXTENSION\\0"
1365 "SCSV_RECEIVED_WHEN_RENEGOTIATING\\0"
1366 "SERVERHELLO_TLSEXT\\0"
Muxi Yane1e939e2018-01-29 15:40:14 -08001367 "SERVER_CERT_CHANGED\\0"
Jorge Canizales22851862015-11-18 19:03:04 -08001368 "SESSION_ID_CONTEXT_UNINITIALIZED\\0"
1369 "SESSION_MAY_NOT_BE_CREATED\\0"
Jorge Canizales714d3fc2016-06-28 16:18:41 -07001370 "SHUTDOWN_WHILE_IN_INIT\\0"
Jorge Canizales22851862015-11-18 19:03:04 -08001371 "SIGNATURE_ALGORITHMS_EXTENSION_SENT_BY_SERVER\\0"
1372 "SRTP_COULD_NOT_ALLOCATE_PROFILES\\0"
Jorge Canizales22851862015-11-18 19:03:04 -08001373 "SRTP_UNKNOWN_PROTECTION_PROFILE\\0"
1374 "SSL3_EXT_INVALID_SERVERNAME\\0"
Jorge Canizales22851862015-11-18 19:03:04 -08001375 "SSLV3_ALERT_BAD_CERTIFICATE\\0"
1376 "SSLV3_ALERT_BAD_RECORD_MAC\\0"
1377 "SSLV3_ALERT_CERTIFICATE_EXPIRED\\0"
1378 "SSLV3_ALERT_CERTIFICATE_REVOKED\\0"
1379 "SSLV3_ALERT_CERTIFICATE_UNKNOWN\\0"
1380 "SSLV3_ALERT_CLOSE_NOTIFY\\0"
1381 "SSLV3_ALERT_DECOMPRESSION_FAILURE\\0"
1382 "SSLV3_ALERT_HANDSHAKE_FAILURE\\0"
1383 "SSLV3_ALERT_ILLEGAL_PARAMETER\\0"
1384 "SSLV3_ALERT_NO_CERTIFICATE\\0"
1385 "SSLV3_ALERT_UNEXPECTED_MESSAGE\\0"
1386 "SSLV3_ALERT_UNSUPPORTED_CERTIFICATE\\0"
1387 "SSL_CTX_HAS_NO_DEFAULT_SSL_VERSION\\0"
1388 "SSL_HANDSHAKE_FAILURE\\0"
Jorge Canizales22851862015-11-18 19:03:04 -08001389 "SSL_SESSION_ID_CONTEXT_TOO_LONG\\0"
Muxi Yane1e939e2018-01-29 15:40:14 -08001390 "TICKET_ENCRYPTION_FAILED\\0"
Jorge Canizales22851862015-11-18 19:03:04 -08001391 "TLSV1_ALERT_ACCESS_DENIED\\0"
1392 "TLSV1_ALERT_DECODE_ERROR\\0"
1393 "TLSV1_ALERT_DECRYPTION_FAILED\\0"
1394 "TLSV1_ALERT_DECRYPT_ERROR\\0"
1395 "TLSV1_ALERT_EXPORT_RESTRICTION\\0"
1396 "TLSV1_ALERT_INAPPROPRIATE_FALLBACK\\0"
1397 "TLSV1_ALERT_INSUFFICIENT_SECURITY\\0"
1398 "TLSV1_ALERT_INTERNAL_ERROR\\0"
1399 "TLSV1_ALERT_NO_RENEGOTIATION\\0"
1400 "TLSV1_ALERT_PROTOCOL_VERSION\\0"
1401 "TLSV1_ALERT_RECORD_OVERFLOW\\0"
1402 "TLSV1_ALERT_UNKNOWN_CA\\0"
1403 "TLSV1_ALERT_USER_CANCELLED\\0"
1404 "TLSV1_BAD_CERTIFICATE_HASH_VALUE\\0"
1405 "TLSV1_BAD_CERTIFICATE_STATUS_RESPONSE\\0"
Muxi Yanc0d3bab2017-07-10 11:21:37 -07001406 "TLSV1_CERTIFICATE_REQUIRED\\0"
Jorge Canizales22851862015-11-18 19:03:04 -08001407 "TLSV1_CERTIFICATE_UNOBTAINABLE\\0"
Muxi Yanc0d3bab2017-07-10 11:21:37 -07001408 "TLSV1_UNKNOWN_PSK_IDENTITY\\0"
Jorge Canizales22851862015-11-18 19:03:04 -08001409 "TLSV1_UNRECOGNIZED_NAME\\0"
1410 "TLSV1_UNSUPPORTED_EXTENSION\\0"
Jorge Canizales22851862015-11-18 19:03:04 -08001411 "TLS_PEER_DID_NOT_RESPOND_WITH_CERTIFICATE_LIST\\0"
1412 "TLS_RSA_ENCRYPTED_VALUE_LENGTH_IS_WRONG\\0"
1413 "TOO_MANY_EMPTY_FRAGMENTS\\0"
Muxi Yana507de32016-10-17 20:57:25 -07001414 "TOO_MANY_KEY_UPDATES\\0"
Jorge Canizales22851862015-11-18 19:03:04 -08001415 "TOO_MANY_WARNING_ALERTS\\0"
Muxi Yane1e939e2018-01-29 15:40:14 -08001416 "TOO_MUCH_READ_EARLY_DATA\\0"
Muxi Yanc0d3bab2017-07-10 11:21:37 -07001417 "TOO_MUCH_SKIPPED_EARLY_DATA\\0"
Jorge Canizales22851862015-11-18 19:03:04 -08001418 "UNABLE_TO_FIND_ECDH_PARAMETERS\\0"
Jorge Canizales22851862015-11-18 19:03:04 -08001419 "UNEXPECTED_EXTENSION\\0"
Muxi Yane1e939e2018-01-29 15:40:14 -08001420 "UNEXPECTED_EXTENSION_ON_EARLY_DATA\\0"
Jorge Canizales22851862015-11-18 19:03:04 -08001421 "UNEXPECTED_MESSAGE\\0"
1422 "UNEXPECTED_OPERATOR_IN_GROUP\\0"
1423 "UNEXPECTED_RECORD\\0"
1424 "UNKNOWN_ALERT_TYPE\\0"
1425 "UNKNOWN_CERTIFICATE_TYPE\\0"
1426 "UNKNOWN_CIPHER_RETURNED\\0"
1427 "UNKNOWN_CIPHER_TYPE\\0"
1428 "UNKNOWN_KEY_EXCHANGE_TYPE\\0"
1429 "UNKNOWN_PROTOCOL\\0"
1430 "UNKNOWN_SSL_VERSION\\0"
1431 "UNKNOWN_STATE\\0"
Jorge Canizales22851862015-11-18 19:03:04 -08001432 "UNSAFE_LEGACY_RENEGOTIATION_DISABLED\\0"
1433 "UNSUPPORTED_COMPRESSION_ALGORITHM\\0"
1434 "UNSUPPORTED_ELLIPTIC_CURVE\\0"
1435 "UNSUPPORTED_PROTOCOL\\0"
Jorge Canizales0af0ae42016-07-18 12:08:19 -07001436 "UNSUPPORTED_PROTOCOL_FOR_CUSTOM_KEY\\0"
Jorge Canizales22851862015-11-18 19:03:04 -08001437 "WRONG_CERTIFICATE_TYPE\\0"
1438 "WRONG_CIPHER_RETURNED\\0"
1439 "WRONG_CURVE\\0"
1440 "WRONG_MESSAGE_TYPE\\0"
1441 "WRONG_SIGNATURE_TYPE\\0"
1442 "WRONG_SSL_VERSION\\0"
1443 "WRONG_VERSION_NUMBER\\0"
Muxi Yane1e939e2018-01-29 15:40:14 -08001444 "WRONG_VERSION_ON_EARLY_DATA\\0"
Jorge Canizales22851862015-11-18 19:03:04 -08001445 "X509_LIB\\0"
1446 "X509_VERIFICATION_SETUP_PROBLEMS\\0"
1447 "AKID_MISMATCH\\0"
Jorge Canizales22851862015-11-18 19:03:04 -08001448 "BAD_X509_FILETYPE\\0"
1449 "BASE64_DECODE_ERROR\\0"
1450 "CANT_CHECK_DH_KEY\\0"
1451 "CERT_ALREADY_IN_HASH_TABLE\\0"
1452 "CRL_ALREADY_DELTA\\0"
1453 "CRL_VERIFY_FAILURE\\0"
1454 "IDP_MISMATCH\\0"
1455 "INVALID_DIRECTORY\\0"
1456 "INVALID_FIELD_NAME\\0"
Muxi Yane1e939e2018-01-29 15:40:14 -08001457 "INVALID_PARAMETER\\0"
Jorge Canizales714d3fc2016-06-28 16:18:41 -07001458 "INVALID_PSS_PARAMETERS\\0"
Jorge Canizales22851862015-11-18 19:03:04 -08001459 "INVALID_TRUST\\0"
1460 "ISSUER_MISMATCH\\0"
1461 "KEY_TYPE_MISMATCH\\0"
1462 "KEY_VALUES_MISMATCH\\0"
1463 "LOADING_CERT_DIR\\0"
1464 "LOADING_DEFAULTS\\0"
Jorge Canizales714d3fc2016-06-28 16:18:41 -07001465 "NAME_TOO_LONG\\0"
Jorge Canizales22851862015-11-18 19:03:04 -08001466 "NEWER_CRL_NOT_NEWER\\0"
Jorge Canizales22851862015-11-18 19:03:04 -08001467 "NO_CERT_SET_FOR_US_TO_VERIFY\\0"
Jorge Canizales22851862015-11-18 19:03:04 -08001468 "NO_CRL_NUMBER\\0"
1469 "PUBLIC_KEY_DECODE_ERROR\\0"
1470 "PUBLIC_KEY_ENCODE_ERROR\\0"
1471 "SHOULD_RETRY\\0"
Jorge Canizales22851862015-11-18 19:03:04 -08001472 "UNKNOWN_KEY_TYPE\\0"
1473 "UNKNOWN_PURPOSE_ID\\0"
1474 "UNKNOWN_TRUST_ID\\0"
1475 "WRONG_LOOKUP_TYPE\\0"
1476 "BAD_IP_ADDRESS\\0"
1477 "BAD_OBJECT\\0"
1478 "BN_DEC2BN_ERROR\\0"
1479 "BN_TO_ASN1_INTEGER_ERROR\\0"
1480 "CANNOT_FIND_FREE_FUNCTION\\0"
1481 "DIRNAME_ERROR\\0"
1482 "DISTPOINT_ALREADY_SET\\0"
1483 "DUPLICATE_ZONE_ID\\0"
1484 "ERROR_CONVERTING_ZONE\\0"
1485 "ERROR_CREATING_EXTENSION\\0"
1486 "ERROR_IN_EXTENSION\\0"
1487 "EXPECTED_A_SECTION_NAME\\0"
1488 "EXTENSION_EXISTS\\0"
1489 "EXTENSION_NAME_ERROR\\0"
1490 "EXTENSION_NOT_FOUND\\0"
1491 "EXTENSION_SETTING_NOT_SUPPORTED\\0"
1492 "EXTENSION_VALUE_ERROR\\0"
1493 "ILLEGAL_EMPTY_EXTENSION\\0"
1494 "ILLEGAL_HEX_DIGIT\\0"
1495 "INCORRECT_POLICY_SYNTAX_TAG\\0"
1496 "INVALID_BOOLEAN_STRING\\0"
1497 "INVALID_EXTENSION_STRING\\0"
1498 "INVALID_MULTIPLE_RDNS\\0"
1499 "INVALID_NAME\\0"
1500 "INVALID_NULL_ARGUMENT\\0"
1501 "INVALID_NULL_NAME\\0"
1502 "INVALID_NULL_VALUE\\0"
1503 "INVALID_NUMBERS\\0"
1504 "INVALID_OBJECT_IDENTIFIER\\0"
1505 "INVALID_OPTION\\0"
1506 "INVALID_POLICY_IDENTIFIER\\0"
1507 "INVALID_PROXY_POLICY_SETTING\\0"
1508 "INVALID_PURPOSE\\0"
1509 "INVALID_SECTION\\0"
1510 "INVALID_SYNTAX\\0"
1511 "ISSUER_DECODE_ERROR\\0"
1512 "NEED_ORGANIZATION_AND_NUMBERS\\0"
1513 "NO_CONFIG_DATABASE\\0"
1514 "NO_ISSUER_CERTIFICATE\\0"
1515 "NO_ISSUER_DETAILS\\0"
1516 "NO_POLICY_IDENTIFIER\\0"
1517 "NO_PROXY_CERT_POLICY_LANGUAGE_DEFINED\\0"
1518 "NO_PUBLIC_KEY\\0"
1519 "NO_SUBJECT_DETAILS\\0"
1520 "ODD_NUMBER_OF_DIGITS\\0"
1521 "OPERATION_NOT_DEFINED\\0"
1522 "OTHERNAME_ERROR\\0"
1523 "POLICY_LANGUAGE_ALREADY_DEFINED\\0"
1524 "POLICY_PATH_LENGTH\\0"
1525 "POLICY_PATH_LENGTH_ALREADY_DEFINED\\0"
1526 "POLICY_WHEN_PROXY_LANGUAGE_REQUIRES_NO_POLICY\\0"
1527 "SECTION_NOT_FOUND\\0"
1528 "UNABLE_TO_GET_ISSUER_DETAILS\\0"
1529 "UNABLE_TO_GET_ISSUER_KEYID\\0"
1530 "UNKNOWN_BIT_STRING_ARGUMENT\\0"
1531 "UNKNOWN_EXTENSION\\0"
1532 "UNKNOWN_EXTENSION_NAME\\0"
1533 "UNKNOWN_OPTION\\0"
1534 "UNSUPPORTED_OPTION\\0"
1535 "USER_TOO_LONG\\0"
1536 "";
1537 EOF
1538 END_OF_COMMAND
1539end