Line | Source | Count |
1 | | - |
2 | static struct stack_st_CONF_VALUE *i2v_BASIC_CONSTRAINTS(X509V3_EXT_METHOD *method, | - |
3 | BASIC_CONSTRAINTS *bcons, | - |
4 | struct stack_st_CONF_VALUE | - |
5 | *extlist); | - |
6 | static BASIC_CONSTRAINTS *v2i_BASIC_CONSTRAINTS(X509V3_EXT_METHOD *method, | - |
7 | X509V3_CTX *ctx, | - |
8 | struct stack_st_CONF_VALUE *values); | - |
9 | | - |
10 | const X509V3_EXT_METHOD v3_bcons = { | - |
11 | 87, 0, | - |
12 | (&(BASIC_CONSTRAINTS_it)), | - |
13 | 0, 0, 0, 0, | - |
14 | 0, 0, | - |
15 | (X509V3_EXT_I2V) i2v_BASIC_CONSTRAINTS, | - |
16 | (X509V3_EXT_V2I)v2i_BASIC_CONSTRAINTS, | - |
17 | | - |
18 | ((void *)0) | - |
19 | , | - |
20 | ((void *)0) | - |
21 | , | - |
22 | | - |
23 | ((void *)0) | - |
24 | | - |
25 | }; | - |
26 | | - |
27 | static const ASN1_TEMPLATE BASIC_CONSTRAINTS_seq_tt[] = { | - |
28 | { ((0x1)), (0), | - |
29 | __builtin_offsetof ( | - |
30 | BASIC_CONSTRAINTS | - |
31 | , | - |
32 | ca | - |
33 | ) | - |
34 | , "ca", (&(ASN1_FBOOLEAN_it)) }, | - |
35 | { ((0x1)), (0), | - |
36 | __builtin_offsetof ( | - |
37 | BASIC_CONSTRAINTS | - |
38 | , | - |
39 | pathlen | - |
40 | ) | - |
41 | , "pathlen", (&(ASN1_INTEGER_it)) } | - |
42 | } ; const ASN1_ITEM BASIC_CONSTRAINTS_it = { 0x1, 16, BASIC_CONSTRAINTS_seq_tt, sizeof(BASIC_CONSTRAINTS_seq_tt) / sizeof(ASN1_TEMPLATE), | - |
43 | ((void *)0) | - |
44 | , sizeof(BASIC_CONSTRAINTS), "BASIC_CONSTRAINTS" }; | - |
45 | | - |
46 | BASIC_CONSTRAINTS *d2i_BASIC_CONSTRAINTS(BASIC_CONSTRAINTS **a, const unsigned char **in, long len) { return never executed: return (BASIC_CONSTRAINTS *)ASN1_item_d2i((ASN1_VALUE **)a, in, len, (&(BASIC_CONSTRAINTS_it))); (BASIC_CONSTRAINTS *)ASN1_item_d2i((ASN1_VALUE **)a, in, len, (&(BASIC_CONSTRAINTS_it)));never executed: return (BASIC_CONSTRAINTS *)ASN1_item_d2i((ASN1_VALUE **)a, in, len, (&(BASIC_CONSTRAINTS_it))); } int i2d_BASIC_CONSTRAINTS(BASIC_CONSTRAINTS *a, unsigned char **out) { returnnever executed: return ASN1_item_i2d((ASN1_VALUE *)a, out, (&(BASIC_CONSTRAINTS_it))); ASN1_item_i2d((ASN1_VALUE *)a, out, (&(BASIC_CONSTRAINTS_it)));never executed: return ASN1_item_i2d((ASN1_VALUE *)a, out, (&(BASIC_CONSTRAINTS_it))); } BASIC_CONSTRAINTS *BASIC_CONSTRAINTS_new(void) { returnexecuted 32 times by 1 test: return (BASIC_CONSTRAINTS *)ASN1_item_new((&(BASIC_CONSTRAINTS_it))); (BASIC_CONSTRAINTS *)ASN1_item_new((&(BASIC_CONSTRAINTS_it)));executed 32 times by 1 test: return (BASIC_CONSTRAINTS *)ASN1_item_new((&(BASIC_CONSTRAINTS_it))); } void BASIC_CONSTRAINTS_free(BASIC_CONSTRAINTS *a) { ASN1_item_free((ASN1_VALUE *)a, (&(BASIC_CONSTRAINTS_it))); }executed 11988 times by 1 test: end of block | 0-11988 |
47 | | - |
48 | static struct stack_st_CONF_VALUE *i2v_BASIC_CONSTRAINTS(X509V3_EXT_METHOD *method, | - |
49 | BASIC_CONSTRAINTS *bcons, | - |
50 | struct stack_st_CONF_VALUE | - |
51 | *extlist) | - |
52 | { | - |
53 | X509V3_add_value_bool("CA", bcons->ca, &extlist); | - |
54 | X509V3_add_value_int("pathlen", bcons->pathlen, &extlist); | - |
55 | returnexecuted 765 times by 1 test: return extlist; extlist;executed 765 times by 1 test: return extlist; | 765 |
56 | } | - |
57 | | - |
58 | static BASIC_CONSTRAINTS *v2i_BASIC_CONSTRAINTS(X509V3_EXT_METHOD *method, | - |
59 | X509V3_CTX *ctx, | - |
60 | struct stack_st_CONF_VALUE *values) | - |
61 | { | - |
62 | BASIC_CONSTRAINTS *bcons = | - |
63 | ((void *)0) | - |
64 | ; | - |
65 | CONF_VALUE *val; | - |
66 | int i; | - |
67 | | - |
68 | if ((TRUE | never evaluated | FALSE | evaluated 32 times by 1 test |
bcons = BASIC_CONSTRAINTS_new()) == TRUE | never evaluated | FALSE | evaluated 32 times by 1 test |
| 0-32 |
69 | ((void *)0)TRUE | never evaluated | FALSE | evaluated 32 times by 1 test |
| 0-32 |
70 | ) { | - |
71 | ERR_put_error(34,(102),((1|64)),__FILE__,63); | - |
72 | return never executed: return ((void *)0) ; never executed: return ((void *)0) ; | 0 |
73 | ((void *)0) never executed: return ((void *)0) ; | 0 |
74 | ; never executed: return ((void *)0) ; | 0 |
75 | } | - |
76 | for (i = 0; i < sk_CONF_VALUE_num(values)TRUE | evaluated 36 times by 1 test | FALSE | evaluated 32 times by 1 test |
; i++) { | 32-36 |
77 | val = sk_CONF_VALUE_value(values, i); | - |
78 | if ( | - |
79 | __extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p (TRUE | evaluated 32 times by 1 test | FALSE | evaluated 4 times by 1 test |
| 4-32 |
80 | val->nameTRUE | evaluated 32 times by 1 test | FALSE | evaluated 4 times by 1 test |
| 4-32 |
81 | ) && __builtin_constant_p (TRUE | evaluated 32 times by 1 test | FALSE | evaluated 4 times by 1 test |
| 4-32 |
82 | "CA"TRUE | evaluated 32 times by 1 test | FALSE | evaluated 4 times by 1 test |
| 4-32 |
83 | ) && (__s1_len = __builtin_strlen (TRUE | evaluated 32 times by 1 test | FALSE | evaluated 4 times by 1 test |
| 4-32 |
84 | val->nameTRUE | evaluated 32 times by 1 test | FALSE | evaluated 4 times by 1 test |
| 4-32 |
85 | ), __s2_len = __builtin_strlen (TRUE | evaluated 32 times by 1 test | FALSE | evaluated 4 times by 1 test |
| 4-32 |
86 | "CA"TRUE | evaluated 32 times by 1 test | FALSE | evaluated 4 times by 1 test |
| 4-32 |
87 | ), (!((size_t)(const void *)((TRUE | evaluated 32 times by 1 test | FALSE | evaluated 4 times by 1 test |
| 4-32 |
88 | val->nameTRUE | evaluated 32 times by 1 test | FALSE | evaluated 4 times by 1 test |
| 4-32 |
89 | ) + 1) - (size_t)(const void *)(TRUE | evaluated 32 times by 1 test | FALSE | evaluated 4 times by 1 test |
| 4-32 |
90 | val->nameTRUE | evaluated 32 times by 1 test | FALSE | evaluated 4 times by 1 test |
| 4-32 |
91 | ) == 1) || __s1_len >= 4) && (!((size_t)(const void *)((TRUE | evaluated 32 times by 1 test | FALSE | evaluated 4 times by 1 test |
| 4-32 |
92 | "CA"TRUE | evaluated 32 times by 1 test | FALSE | evaluated 4 times by 1 test |
| 4-32 |
93 | ) + 1) - (size_t)(const void *)(TRUE | evaluated 32 times by 1 test | FALSE | evaluated 4 times by 1 test |
| 4-32 |
94 | "CA"TRUE | evaluated 32 times by 1 test | FALSE | evaluated 4 times by 1 test |
| 4-32 |
95 | ) == 1) || __s2_len >= 4)) ? __builtin_strcmp (TRUE | evaluated 32 times by 1 test | FALSE | evaluated 4 times by 1 test |
| 4-32 |
96 | val->nameTRUE | evaluated 32 times by 1 test | FALSE | evaluated 4 times by 1 test |
| 4-32 |
97 | , TRUE | evaluated 32 times by 1 test | FALSE | evaluated 4 times by 1 test |
| 4-32 |
98 | "CA"TRUE | evaluated 32 times by 1 test | FALSE | evaluated 4 times by 1 test |
| 4-32 |
99 | ) : (__builtin_constant_p (TRUE | evaluated 32 times by 1 test | FALSE | evaluated 4 times by 1 test |
| 4-32 |
100 | val->nameTRUE | evaluated 32 times by 1 test | FALSE | evaluated 4 times by 1 test |
| 4-32 |
101 | ) && ((size_t)(const void *)((TRUE | evaluated 32 times by 1 test | FALSE | evaluated 4 times by 1 test |
| 4-32 |
102 | val->nameTRUE | evaluated 32 times by 1 test | FALSE | evaluated 4 times by 1 test |
| 4-32 |
103 | ) + 1) - (size_t)(const void *)(TRUE | evaluated 32 times by 1 test | FALSE | evaluated 4 times by 1 test |
| 4-32 |
104 | val->nameTRUE | evaluated 32 times by 1 test | FALSE | evaluated 4 times by 1 test |
| 4-32 |
105 | ) == 1) && (__s1_len = __builtin_strlen (TRUE | evaluated 32 times by 1 test | FALSE | evaluated 4 times by 1 test |
| 4-32 |
106 | val->nameTRUE | evaluated 32 times by 1 test | FALSE | evaluated 4 times by 1 test |
| 4-32 |
107 | ), __s1_len < 4) ? (__builtin_constant_p (TRUE | evaluated 32 times by 1 test | FALSE | evaluated 4 times by 1 test |
| 4-32 |
108 | "CA"TRUE | evaluated 32 times by 1 test | FALSE | evaluated 4 times by 1 test |
| 4-32 |
109 | ) && ((size_t)(const void *)((TRUE | evaluated 32 times by 1 test | FALSE | evaluated 4 times by 1 test |
| 4-32 |
110 | "CA"TRUE | evaluated 32 times by 1 test | FALSE | evaluated 4 times by 1 test |
| 4-32 |
111 | ) + 1) - (size_t)(const void *)(TRUE | evaluated 32 times by 1 test | FALSE | evaluated 4 times by 1 test |
| 4-32 |
112 | "CA"TRUE | evaluated 32 times by 1 test | FALSE | evaluated 4 times by 1 test |
| 4-32 |
113 | ) == 1) ? __builtin_strcmp (TRUE | evaluated 32 times by 1 test | FALSE | evaluated 4 times by 1 test |
| 4-32 |
114 | val->nameTRUE | evaluated 32 times by 1 test | FALSE | evaluated 4 times by 1 test |
| 4-32 |
115 | , TRUE | evaluated 32 times by 1 test | FALSE | evaluated 4 times by 1 test |
| 4-32 |
116 | "CA"TRUE | evaluated 32 times by 1 test | FALSE | evaluated 4 times by 1 test |
| 4-32 |
117 | ) : (__extension__ ({ const unsigned char *__s2 = (const unsigned char *) (const char *) (TRUE | evaluated 32 times by 1 test | FALSE | evaluated 4 times by 1 test |
| 4-32 |
118 | "CA"TRUE | evaluated 32 times by 1 test | FALSE | evaluated 4 times by 1 test |
| 4-32 |
119 | ); int __result = (((const unsigned char *) (const char *) (TRUE | evaluated 32 times by 1 test | FALSE | evaluated 4 times by 1 test |
| 4-32 |
120 | val->nameTRUE | evaluated 32 times by 1 test | FALSE | evaluated 4 times by 1 test |
| 4-32 |
121 | ))[0] - __s2[0]); if (__s1_len > 0TRUE | never evaluated | FALSE | never evaluated |
&& __result == 0TRUE | never evaluated | FALSE | never evaluated |
) { __result = (((const unsigned char *) (const char *) (TRUE | evaluated 32 times by 1 test | FALSE | evaluated 4 times by 1 test |
| 0-32 |
122 | val->nameTRUE | evaluated 32 times by 1 test | FALSE | evaluated 4 times by 1 test |
| 4-32 |
123 | ))[1] - __s2[1]); if (__s1_len > 1TRUE | never evaluated | FALSE | never evaluated |
&& __result == 0TRUE | never evaluated | FALSE | never evaluated |
) { __result = (((const unsigned char *) (const char *) (TRUE | evaluated 32 times by 1 test | FALSE | evaluated 4 times by 1 test |
| 0-32 |
124 | val->nameTRUE | evaluated 32 times by 1 test | FALSE | evaluated 4 times by 1 test |
| 4-32 |
125 | ))[2] - __s2[2]); if (__s1_len > 2TRUE | never evaluated | FALSE | never evaluated |
&& __result == 0TRUE | never evaluated | FALSE | never evaluated |
) __result = (((const unsigned char *) (const char *) (never executed: __result = (((const unsigned char *) (const char *) ( val->name ))[3] - __s2[3]); TRUE | evaluated 32 times by 1 test | FALSE | evaluated 4 times by 1 test |
| 0-32 |
126 | val->nameTRUE | evaluated 32 times by 1 test | FALSE | evaluated 4 times by 1 test |
never executed: __result = (((const unsigned char *) (const char *) ( val->name ))[3] - __s2[3]); | 0-32 |
127 | ))[3] - __s2[3]);TRUE | evaluated 32 times by 1 test | FALSE | evaluated 4 times by 1 test |
never executed: __result = (((const unsigned char *) (const char *) ( val->name ))[3] - __s2[3]); }never executed: end of block }never executed: end of block __result; }))) : (__builtin_constant_p (TRUE | evaluated 32 times by 1 test | FALSE | evaluated 4 times by 1 test |
| 0-32 |
128 | "CA"TRUE | evaluated 32 times by 1 test | FALSE | evaluated 4 times by 1 test |
| 4-32 |
129 | ) && ((size_t)(const void *)((TRUE | evaluated 32 times by 1 test | FALSE | evaluated 4 times by 1 test |
| 4-32 |
130 | "CA"TRUE | evaluated 32 times by 1 test | FALSE | evaluated 4 times by 1 test |
| 4-32 |
131 | ) + 1) - (size_t)(const void *)(TRUE | evaluated 32 times by 1 test | FALSE | evaluated 4 times by 1 test |
| 4-32 |
132 | "CA"TRUE | evaluated 32 times by 1 test | FALSE | evaluated 4 times by 1 test |
| 4-32 |
133 | ) == 1) && (__s2_len = __builtin_strlen (TRUE | evaluated 32 times by 1 test | FALSE | evaluated 4 times by 1 test |
| 4-32 |
134 | "CA"TRUE | evaluated 32 times by 1 test | FALSE | evaluated 4 times by 1 test |
| 4-32 |
135 | ), __s2_len < 4) ? (__builtin_constant_p (TRUE | evaluated 32 times by 1 test | FALSE | evaluated 4 times by 1 test |
| 4-32 |
136 | val->nameTRUE | evaluated 32 times by 1 test | FALSE | evaluated 4 times by 1 test |
| 4-32 |
137 | ) && ((size_t)(const void *)((TRUE | evaluated 32 times by 1 test | FALSE | evaluated 4 times by 1 test |
| 4-32 |
138 | val->nameTRUE | evaluated 32 times by 1 test | FALSE | evaluated 4 times by 1 test |
| 4-32 |
139 | ) + 1) - (size_t)(const void *)(TRUE | evaluated 32 times by 1 test | FALSE | evaluated 4 times by 1 test |
| 4-32 |
140 | val->nameTRUE | evaluated 32 times by 1 test | FALSE | evaluated 4 times by 1 test |
| 4-32 |
141 | ) == 1) ? __builtin_strcmp (TRUE | evaluated 32 times by 1 test | FALSE | evaluated 4 times by 1 test |
| 4-32 |
142 | val->nameTRUE | evaluated 32 times by 1 test | FALSE | evaluated 4 times by 1 test |
| 4-32 |
143 | , TRUE | evaluated 32 times by 1 test | FALSE | evaluated 4 times by 1 test |
| 4-32 |
144 | "CA"TRUE | evaluated 32 times by 1 test | FALSE | evaluated 4 times by 1 test |
| 4-32 |
145 | ) : -(__extension__ ({ const unsigned char *__s2 = (const unsigned char *) (const char *) (TRUE | evaluated 32 times by 1 test | FALSE | evaluated 4 times by 1 test |
| 4-32 |
146 | val->nameTRUE | evaluated 32 times by 1 test | FALSE | evaluated 4 times by 1 test |
| 4-32 |
147 | ); int __result = (((const unsigned char *) (const char *) (TRUE | evaluated 32 times by 1 test | FALSE | evaluated 4 times by 1 test |
| 4-32 |
148 | "CA"TRUE | evaluated 32 times by 1 test | FALSE | evaluated 4 times by 1 test |
| 4-32 |
149 | ))[0] - __s2[0]); if (__s2_len > 0TRUE | evaluated 36 times by 1 test | FALSE | never evaluated |
&& __result == 0TRUE | evaluated 32 times by 1 test | FALSE | evaluated 4 times by 1 test |
) { __result = (((const unsigned char *) (const char *) (TRUE | evaluated 32 times by 1 test | FALSE | evaluated 4 times by 1 test |
| 0-36 |
150 | "CA"TRUE | evaluated 32 times by 1 test | FALSE | evaluated 4 times by 1 test |
| 4-32 |
151 | ))[1] - __s2[1]); if (__s2_len > 1TRUE | evaluated 32 times by 1 test | FALSE | never evaluated |
&& __result == 0TRUE | evaluated 32 times by 1 test | FALSE | never evaluated |
) { __result = (((const unsigned char *) (const char *) (TRUE | evaluated 32 times by 1 test | FALSE | evaluated 4 times by 1 test |
| 0-32 |
152 | "CA"TRUE | evaluated 32 times by 1 test | FALSE | evaluated 4 times by 1 test |
| 4-32 |
153 | ))[2] - __s2[2]); if (__s2_len > 2TRUE | never evaluated | FALSE | evaluated 32 times by 1 test |
&& __result == 0TRUE | never evaluated | FALSE | never evaluated |
) __result = (((const unsigned char *) (const char *) (never executed: __result = (((const unsigned char *) (const char *) ( "CA" ))[3] - __s2[3]); TRUE | evaluated 32 times by 1 test | FALSE | evaluated 4 times by 1 test |
| 0-32 |
154 | "CA"TRUE | evaluated 32 times by 1 test | FALSE | evaluated 4 times by 1 test |
never executed: __result = (((const unsigned char *) (const char *) ( "CA" ))[3] - __s2[3]); | 0-32 |
155 | ))[3] - __s2[3]);TRUE | evaluated 32 times by 1 test | FALSE | evaluated 4 times by 1 test |
never executed: __result = (((const unsigned char *) (const char *) ( "CA" ))[3] - __s2[3]); } } __result; }))) : __builtin_strcmp (TRUE | evaluated 32 times by 1 test | FALSE | evaluated 4 times by 1 test |
| 0-32 |
156 | val->nameTRUE | evaluated 32 times by 1 test | FALSE | evaluated 4 times by 1 test |
| 4-32 |
157 | , TRUE | evaluated 32 times by 1 test | FALSE | evaluated 4 times by 1 test |
| 4-32 |
158 | "CA"TRUE | evaluated 32 times by 1 test | FALSE | evaluated 4 times by 1 test |
| 4-32 |
159 | )))); }) TRUE | evaluated 32 times by 1 test | FALSE | evaluated 4 times by 1 test |
| 4-32 |
160 | == 0TRUE | evaluated 32 times by 1 test | FALSE | evaluated 4 times by 1 test |
) { | 4-32 |
161 | if (!X509V3_get_value_bool(val, &bcons->ca)TRUE | never evaluated | FALSE | evaluated 32 times by 1 test |
) | 0-32 |
162 | goto never executed: goto err; err;never executed: goto err; | 0 |
163 | }executed 32 times by 1 test: end of block else if ( | 32 |
164 | __extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p (TRUE | evaluated 4 times by 1 test | FALSE | never evaluated |
| 0-4 |
165 | val->nameTRUE | evaluated 4 times by 1 test | FALSE | never evaluated |
| 0-4 |
166 | ) && __builtin_constant_p (TRUE | evaluated 4 times by 1 test | FALSE | never evaluated |
| 0-4 |
167 | "pathlen"TRUE | evaluated 4 times by 1 test | FALSE | never evaluated |
| 0-4 |
168 | ) && (__s1_len = __builtin_strlen (TRUE | evaluated 4 times by 1 test | FALSE | never evaluated |
| 0-4 |
169 | val->nameTRUE | evaluated 4 times by 1 test | FALSE | never evaluated |
| 0-4 |
170 | ), __s2_len = __builtin_strlen (TRUE | evaluated 4 times by 1 test | FALSE | never evaluated |
| 0-4 |
171 | "pathlen"TRUE | evaluated 4 times by 1 test | FALSE | never evaluated |
| 0-4 |
172 | ), (!((size_t)(const void *)((TRUE | evaluated 4 times by 1 test | FALSE | never evaluated |
| 0-4 |
173 | val->nameTRUE | evaluated 4 times by 1 test | FALSE | never evaluated |
| 0-4 |
174 | ) + 1) - (size_t)(const void *)(TRUE | evaluated 4 times by 1 test | FALSE | never evaluated |
| 0-4 |
175 | val->nameTRUE | evaluated 4 times by 1 test | FALSE | never evaluated |
| 0-4 |
176 | ) == 1) || __s1_len >= 4) && (!((size_t)(const void *)((TRUE | evaluated 4 times by 1 test | FALSE | never evaluated |
| 0-4 |
177 | "pathlen"TRUE | evaluated 4 times by 1 test | FALSE | never evaluated |
| 0-4 |
178 | ) + 1) - (size_t)(const void *)(TRUE | evaluated 4 times by 1 test | FALSE | never evaluated |
| 0-4 |
179 | "pathlen"TRUE | evaluated 4 times by 1 test | FALSE | never evaluated |
| 0-4 |
180 | ) == 1) || __s2_len >= 4)) ? __builtin_strcmp (TRUE | evaluated 4 times by 1 test | FALSE | never evaluated |
| 0-4 |
181 | val->nameTRUE | evaluated 4 times by 1 test | FALSE | never evaluated |
| 0-4 |
182 | , TRUE | evaluated 4 times by 1 test | FALSE | never evaluated |
| 0-4 |
183 | "pathlen"TRUE | evaluated 4 times by 1 test | FALSE | never evaluated |
| 0-4 |
184 | ) : (__builtin_constant_p (TRUE | evaluated 4 times by 1 test | FALSE | never evaluated |
| 0-4 |
185 | val->nameTRUE | evaluated 4 times by 1 test | FALSE | never evaluated |
| 0-4 |
186 | ) && ((size_t)(const void *)((TRUE | evaluated 4 times by 1 test | FALSE | never evaluated |
| 0-4 |
187 | val->nameTRUE | evaluated 4 times by 1 test | FALSE | never evaluated |
| 0-4 |
188 | ) + 1) - (size_t)(const void *)(TRUE | evaluated 4 times by 1 test | FALSE | never evaluated |
| 0-4 |
189 | val->nameTRUE | evaluated 4 times by 1 test | FALSE | never evaluated |
| 0-4 |
190 | ) == 1) && (__s1_len = __builtin_strlen (TRUE | evaluated 4 times by 1 test | FALSE | never evaluated |
| 0-4 |
191 | val->nameTRUE | evaluated 4 times by 1 test | FALSE | never evaluated |
| 0-4 |
192 | ), __s1_len < 4) ? (__builtin_constant_p (TRUE | evaluated 4 times by 1 test | FALSE | never evaluated |
| 0-4 |
193 | "pathlen"TRUE | evaluated 4 times by 1 test | FALSE | never evaluated |
| 0-4 |
194 | ) && ((size_t)(const void *)((TRUE | evaluated 4 times by 1 test | FALSE | never evaluated |
| 0-4 |
195 | "pathlen"TRUE | evaluated 4 times by 1 test | FALSE | never evaluated |
| 0-4 |
196 | ) + 1) - (size_t)(const void *)(TRUE | evaluated 4 times by 1 test | FALSE | never evaluated |
| 0-4 |
197 | "pathlen"TRUE | evaluated 4 times by 1 test | FALSE | never evaluated |
| 0-4 |
198 | ) == 1) ? __builtin_strcmp (TRUE | evaluated 4 times by 1 test | FALSE | never evaluated |
| 0-4 |
199 | val->nameTRUE | evaluated 4 times by 1 test | FALSE | never evaluated |
| 0-4 |
200 | , TRUE | evaluated 4 times by 1 test | FALSE | never evaluated |
| 0-4 |
201 | "pathlen"TRUE | evaluated 4 times by 1 test | FALSE | never evaluated |
| 0-4 |
202 | ) : (__extension__ ({ const unsigned char *__s2 = (const unsigned char *) (const char *) (TRUE | evaluated 4 times by 1 test | FALSE | never evaluated |
| 0-4 |
203 | "pathlen"TRUE | evaluated 4 times by 1 test | FALSE | never evaluated |
| 0-4 |
204 | ); int __result = (((const unsigned char *) (const char *) (TRUE | evaluated 4 times by 1 test | FALSE | never evaluated |
| 0-4 |
205 | val->nameTRUE | evaluated 4 times by 1 test | FALSE | never evaluated |
| 0-4 |
206 | ))[0] - __s2[0]); if (__s1_len > 0TRUE | never evaluated | FALSE | never evaluated |
&& __result == 0TRUE | never evaluated | FALSE | never evaluated |
) { __result = (((const unsigned char *) (const char *) (TRUE | evaluated 4 times by 1 test | FALSE | never evaluated |
| 0-4 |
207 | val->nameTRUE | evaluated 4 times by 1 test | FALSE | never evaluated |
| 0-4 |
208 | ))[1] - __s2[1]); if (__s1_len > 1TRUE | never evaluated | FALSE | never evaluated |
&& __result == 0TRUE | never evaluated | FALSE | never evaluated |
) { __result = (((const unsigned char *) (const char *) (TRUE | evaluated 4 times by 1 test | FALSE | never evaluated |
| 0-4 |
209 | val->nameTRUE | evaluated 4 times by 1 test | FALSE | never evaluated |
| 0-4 |
210 | ))[2] - __s2[2]); if (__s1_len > 2TRUE | never evaluated | FALSE | never evaluated |
&& __result == 0TRUE | never evaluated | FALSE | never evaluated |
) __result = (((const unsigned char *) (const char *) (never executed: __result = (((const unsigned char *) (const char *) ( val->name ))[3] - __s2[3]); TRUE | evaluated 4 times by 1 test | FALSE | never evaluated |
| 0-4 |
211 | val->nameTRUE | evaluated 4 times by 1 test | FALSE | never evaluated |
never executed: __result = (((const unsigned char *) (const char *) ( val->name ))[3] - __s2[3]); | 0-4 |
212 | ))[3] - __s2[3]);TRUE | evaluated 4 times by 1 test | FALSE | never evaluated |
never executed: __result = (((const unsigned char *) (const char *) ( val->name ))[3] - __s2[3]); }never executed: end of block }never executed: end of block __result; }))) : (__builtin_constant_p (TRUE | evaluated 4 times by 1 test | FALSE | never evaluated |
| 0-4 |
213 | "pathlen"TRUE | evaluated 4 times by 1 test | FALSE | never evaluated |
| 0-4 |
214 | ) && ((size_t)(const void *)((TRUE | evaluated 4 times by 1 test | FALSE | never evaluated |
| 0-4 |
215 | "pathlen"TRUE | evaluated 4 times by 1 test | FALSE | never evaluated |
| 0-4 |
216 | ) + 1) - (size_t)(const void *)(TRUE | evaluated 4 times by 1 test | FALSE | never evaluated |
| 0-4 |
217 | "pathlen"TRUE | evaluated 4 times by 1 test | FALSE | never evaluated |
| 0-4 |
218 | ) == 1) && (__s2_len = __builtin_strlen (TRUE | evaluated 4 times by 1 test | FALSE | never evaluated |
| 0-4 |
219 | "pathlen"TRUE | evaluated 4 times by 1 test | FALSE | never evaluated |
| 0-4 |
220 | ), __s2_len < 4) ? (__builtin_constant_p (TRUE | evaluated 4 times by 1 test | FALSE | never evaluated |
| 0-4 |
221 | val->nameTRUE | evaluated 4 times by 1 test | FALSE | never evaluated |
| 0-4 |
222 | ) && ((size_t)(const void *)((TRUE | evaluated 4 times by 1 test | FALSE | never evaluated |
| 0-4 |
223 | val->nameTRUE | evaluated 4 times by 1 test | FALSE | never evaluated |
| 0-4 |
224 | ) + 1) - (size_t)(const void *)(TRUE | evaluated 4 times by 1 test | FALSE | never evaluated |
| 0-4 |
225 | val->nameTRUE | evaluated 4 times by 1 test | FALSE | never evaluated |
| 0-4 |
226 | ) == 1) ? __builtin_strcmp (TRUE | evaluated 4 times by 1 test | FALSE | never evaluated |
| 0-4 |
227 | val->nameTRUE | evaluated 4 times by 1 test | FALSE | never evaluated |
| 0-4 |
228 | , TRUE | evaluated 4 times by 1 test | FALSE | never evaluated |
| 0-4 |
229 | "pathlen"TRUE | evaluated 4 times by 1 test | FALSE | never evaluated |
| 0-4 |
230 | ) : -(__extension__ ({ const unsigned char *__s2 = (const unsigned char *) (const char *) (TRUE | evaluated 4 times by 1 test | FALSE | never evaluated |
| 0-4 |
231 | val->nameTRUE | evaluated 4 times by 1 test | FALSE | never evaluated |
| 0-4 |
232 | ); int __result = (((const unsigned char *) (const char *) (TRUE | evaluated 4 times by 1 test | FALSE | never evaluated |
| 0-4 |
233 | "pathlen"TRUE | evaluated 4 times by 1 test | FALSE | never evaluated |
| 0-4 |
234 | ))[0] - __s2[0]); if (__s2_len > 0TRUE | never evaluated | FALSE | never evaluated |
&& __result == 0TRUE | never evaluated | FALSE | never evaluated |
) { __result = (((const unsigned char *) (const char *) (TRUE | evaluated 4 times by 1 test | FALSE | never evaluated |
| 0-4 |
235 | "pathlen"TRUE | evaluated 4 times by 1 test | FALSE | never evaluated |
| 0-4 |
236 | ))[1] - __s2[1]); if (__s2_len > 1TRUE | never evaluated | FALSE | never evaluated |
&& __result == 0TRUE | never evaluated | FALSE | never evaluated |
) { __result = (((const unsigned char *) (const char *) (TRUE | evaluated 4 times by 1 test | FALSE | never evaluated |
| 0-4 |
237 | "pathlen"TRUE | evaluated 4 times by 1 test | FALSE | never evaluated |
| 0-4 |
238 | ))[2] - __s2[2]); if (__s2_len > 2TRUE | never evaluated | FALSE | never evaluated |
&& __result == 0TRUE | never evaluated | FALSE | never evaluated |
) __result = (((const unsigned char *) (const char *) (never executed: __result = (((const unsigned char *) (const char *) ( "pathlen" ))[3] - __s2[3]); TRUE | evaluated 4 times by 1 test | FALSE | never evaluated |
| 0-4 |
239 | "pathlen"TRUE | evaluated 4 times by 1 test | FALSE | never evaluated |
never executed: __result = (((const unsigned char *) (const char *) ( "pathlen" ))[3] - __s2[3]); | 0-4 |
240 | ))[3] - __s2[3]);TRUE | evaluated 4 times by 1 test | FALSE | never evaluated |
never executed: __result = (((const unsigned char *) (const char *) ( "pathlen" ))[3] - __s2[3]); }never executed: end of block }never executed: end of block __result; }))) : __builtin_strcmp (TRUE | evaluated 4 times by 1 test | FALSE | never evaluated |
| 0-4 |
241 | val->nameTRUE | evaluated 4 times by 1 test | FALSE | never evaluated |
| 0-4 |
242 | , TRUE | evaluated 4 times by 1 test | FALSE | never evaluated |
| 0-4 |
243 | "pathlen"TRUE | evaluated 4 times by 1 test | FALSE | never evaluated |
| 0-4 |
244 | )))); }) TRUE | evaluated 4 times by 1 test | FALSE | never evaluated |
| 0-4 |
245 | == 0TRUE | evaluated 4 times by 1 test | FALSE | never evaluated |
) { | 0-4 |
246 | if (!X509V3_get_value_int(val, &bcons->pathlen)TRUE | never evaluated | FALSE | evaluated 4 times by 1 test |
) | 0-4 |
247 | goto never executed: goto err; err;never executed: goto err; | 0 |
248 | }executed 4 times by 1 test: end of block else { | 4 |
249 | ERR_put_error(34,(102),(106),__FILE__,75); | - |
250 | ERR_add_error_data(6, "section:", (val)->section, ",name:", (val)->name, ",value:", (val)->value); | - |
251 | goto never executed: goto err; err;never executed: goto err; | 0 |
252 | } | - |
253 | } | - |
254 | returnexecuted 32 times by 1 test: return bcons; bcons;executed 32 times by 1 test: return bcons; | 32 |
255 | err: | - |
256 | BASIC_CONSTRAINTS_free(bcons); | - |
257 | return never executed: return ((void *)0) ; never executed: return ((void *)0) ; | 0 |
258 | ((void *)0) never executed: return ((void *)0) ; | 0 |
259 | ; never executed: return ((void *)0) ; | 0 |
260 | } | - |
| | |