File tree Expand file tree Collapse file tree 2 files changed +55
-1
lines changed Expand file tree Collapse file tree 2 files changed +55
-1
lines changed Original file line number Diff line number Diff line change 1
1
/* File generated by Tools/ssl/make_ssl_data.py */
2
- /* Generated on 2020-04-11T14:59:43.709585 */
2
+ /* Generated on 2020-04-12T13:38:13.871723 */
3
3
4
4
static struct py_ssl_library_code library_codes [] = {
5
+ #ifdef ERR_LIB_ASN1
5
6
{"ASN1" , ERR_LIB_ASN1 },
7
+ #endif
8
+ #ifdef ERR_LIB_ASYNC
6
9
{"ASYNC" , ERR_LIB_ASYNC },
10
+ #endif
11
+ #ifdef ERR_LIB_BIO
7
12
{"BIO" , ERR_LIB_BIO },
13
+ #endif
14
+ #ifdef ERR_LIB_BN
8
15
{"BN" , ERR_LIB_BN },
16
+ #endif
17
+ #ifdef ERR_LIB_CMS
9
18
{"CMS" , ERR_LIB_CMS },
19
+ #endif
20
+ #ifdef ERR_LIB_COMP
10
21
{"COMP" , ERR_LIB_COMP },
22
+ #endif
23
+ #ifdef ERR_LIB_CONF
11
24
{"CONF" , ERR_LIB_CONF },
25
+ #endif
26
+ #ifdef ERR_LIB_CRYPTO
12
27
{"CRYPTO" , ERR_LIB_CRYPTO },
28
+ #endif
29
+ #ifdef ERR_LIB_CT
13
30
{"CT" , ERR_LIB_CT },
31
+ #endif
32
+ #ifdef ERR_LIB_DH
14
33
{"DH" , ERR_LIB_DH },
34
+ #endif
35
+ #ifdef ERR_LIB_DSA
15
36
{"DSA" , ERR_LIB_DSA },
37
+ #endif
38
+ #ifdef ERR_LIB_EC
16
39
{"EC" , ERR_LIB_EC },
40
+ #endif
41
+ #ifdef ERR_LIB_ENGINE
17
42
{"ENGINE" , ERR_LIB_ENGINE },
43
+ #endif
44
+ #ifdef ERR_LIB_EVP
18
45
{"EVP" , ERR_LIB_EVP },
46
+ #endif
47
+ #ifdef ERR_LIB_KDF
19
48
{"KDF" , ERR_LIB_KDF },
49
+ #endif
50
+ #ifdef ERR_LIB_OCSP
20
51
{"OCSP" , ERR_LIB_OCSP },
52
+ #endif
53
+ #ifdef ERR_LIB_PEM
21
54
{"PEM" , ERR_LIB_PEM },
55
+ #endif
56
+ #ifdef ERR_LIB_PKCS12
22
57
{"PKCS12" , ERR_LIB_PKCS12 },
58
+ #endif
59
+ #ifdef ERR_LIB_PKCS7
23
60
{"PKCS7" , ERR_LIB_PKCS7 },
61
+ #endif
62
+ #ifdef ERR_LIB_RAND
24
63
{"RAND" , ERR_LIB_RAND },
64
+ #endif
65
+ #ifdef ERR_LIB_RSA
25
66
{"RSA" , ERR_LIB_RSA },
67
+ #endif
68
+ #ifdef ERR_LIB_SSL
26
69
{"SSL" , ERR_LIB_SSL },
70
+ #endif
71
+ #ifdef ERR_LIB_TS
27
72
{"TS" , ERR_LIB_TS },
73
+ #endif
74
+ #ifdef ERR_LIB_UI
28
75
{"UI" , ERR_LIB_UI },
76
+ #endif
77
+ #ifdef ERR_LIB_X509
29
78
{"X509" , ERR_LIB_X509 },
79
+ #endif
80
+ #ifdef ERR_LIB_X509V3
30
81
{"X509V3" , ERR_LIB_X509V3 },
82
+ #endif
31
83
{ NULL }
32
84
};
33
85
Original file line number Diff line number Diff line change @@ -76,7 +76,9 @@ def w(l):
76
76
77
77
w ("static struct py_ssl_library_code library_codes[] = {" )
78
78
for mnemo , (libcode , _ , _ ) in sorted (error_libraries .items ()):
79
+ w (f'#ifdef { libcode } ' )
79
80
w (' {"%s", %s},' % (mnemo , libcode ))
81
+ w ('#endif' )
80
82
w (' { NULL }' )
81
83
w ('};' )
82
84
w ("" )
You can’t perform that action at this time.
0 commit comments