constants.c

filter: Statementstmt 79.0% 2189 / 2768 Branchbran 64.4% 991 / 1538 Conditioncond n/a MC/DCmcdc n/a Subroutinesub n/a Podpod n/a totaltotal 73.8% 3180 / 4306 CC 0 SCAR 0
CC
0
Cov
0%
CRAP 0
« SSLeay.xs ↑ Summary
1 /*
2 * This file is automatically generated - do not manually modify it.
3 *
4 * To add or remove a constant, edit helper_script/constants.txt, then run
5 * helper_script/update-exported-constants.
6 */
7  
8 #ifdef NET_SSLEAY_32BIT_CONSTANTS
9 static double
10 #else
11 static uint64_t
12 #endif
13 1341 constant (const char *name, size_t len) {
14 /* Initially switch on the length of the name. */
15 1341 switch (len) {
16 2 case 5:
17 /* Names all of length 5. */
18 /* RSA_3 ST_OK */
19 /* Offset 0 gives the best switch position. */
20 2 switch (*name++) {
21 1 case 'R':
22 1 ▶ if (!memcmp(name, "SA_3", 4)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "SA_3", 4)) { 1 0 1
23 /* R */
24
25 #ifdef RSA_3
26 1 return RSA_3;
27 #else
28 goto not_there;
29 #endif
30  
31 }
32 0 break;
33 1 case 'S':
34 1 ▶ if (!memcmp(name, "T_OK", 4)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "T_OK", 4)) { 1 0 1
35 /* S */
36
37 #ifdef SSL_ST_OK
38 return SSL_ST_OK;
39 #else
40 1 goto not_there;
41 #endif
42  
43 }
44 0 break;
45 }
46 0 break;
47 18 case 6:
48 /* Names all of length 6. */
49 /* OP_ALL RSA_F4 */
50 /* Offset 0 gives the best switch position. */
51 18 switch (*name++) {
52 14 case 'O':
53 14 ▶ if (!memcmp(name, "P_ALL", 5)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "P_ALL", 5)) { 14 0 14
54 /* O */
55
56 #ifdef SSL_OP_ALL
57 14 return SSL_OP_ALL;
58 #else
59 goto not_there;
60 #endif
61  
62 }
63 0 break;
64 2 case 'R':
65 2 ▶ if (!memcmp(name, "SA_F4", 5)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "SA_F4", 5)) { 2 0 2
66 /* R */
67
68 #ifdef RSA_F4
69 2 return RSA_F4;
70 #else
71 goto not_there;
72 #endif
73  
74 }
75 0 break;
76 }
77 2 break;
78 22 case 7:
79 /* Names all of length 7. */
80 /* CB_EXIT CB_LOOP CB_READ GEN_DNS GEN_RID GEN_URI NID_dsa NID_md2 NID_md5
81 NID_rc4 NID_rsa NID_sha NOTHING READING ST_INIT WRITING */
82 /* Offset 4 gives the best switch position. */
83 22 switch (name[4]) {
84 2 case 'D':
85 2 ▶ if (!memcmp(name, "GEN_DNS", 7)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "GEN_DNS", 7)) { 2 0 2
86 /* ^ */
87
88 #ifdef GEN_DNS
89 2 return GEN_DNS;
90 #else
91 goto not_there;
92 #endif
93  
94 }
95 0 break;
96 2 case 'E':
97 2 ▶ if (!memcmp(name, "CB_READ", 7)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "CB_READ", 7)) { 2 0 2
98 /* ^ */
99
100 #ifdef SSL_CB_READ
101 2 return SSL_CB_READ;
102 #else
103 goto not_there;
104 #endif
105  
106 }
107 0 break;
108 3 case 'I':
109 3 ▶ if (!memcmp(name, "NOTHING", 7)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "NOTHING", 7)) { 1 2 3
110 /* ^ */
111
112 #ifdef SSL_NOTHING
113 1 return SSL_NOTHING;
114 #else
115 goto not_there;
116 #endif
117  
118 }
119 2 ▶ if (!memcmp(name, "READING", 7)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "READING", 7)) { 1 1 2
120 /* ^ */
121
122 #ifdef SSL_READING
123 1 return SSL_READING;
124 #else
125 goto not_there;
126 #endif
127  
128 }
129 1 ▶ if (!memcmp(name, "WRITING", 7)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "WRITING", 7)) { 1 0 1
130 /* ^ */
131
132 #ifdef SSL_WRITING
133 1 return SSL_WRITING;
134 #else
135 goto not_there;
136 #endif
137  
138 }
139 0 break;
140 1 case 'N':
141 1 ▶ if (!memcmp(name, "ST_INIT", 7)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "ST_INIT", 7)) { 1 0 1
142 /* ^ */
143
144 #ifdef SSL_ST_INIT
145 return SSL_ST_INIT;
146 #else
147 1 goto not_there;
148 #endif
149  
150 }
151 0 break;
152 2 case 'O':
153 2 ▶ if (!memcmp(name, "CB_LOOP", 7)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "CB_LOOP", 7)) { 2 0 2
154 /* ^ */
155
156 #ifdef SSL_CB_LOOP
157 2 return SSL_CB_LOOP;
158 #else
159 goto not_there;
160 #endif
161  
162 }
163 0 break;
164 2 case 'R':
165 2 ▶ if (!memcmp(name, "GEN_RID", 7)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "GEN_RID", 7)) { 2 0 2
166 /* ^ */
167
168 #ifdef GEN_RID
169 2 return GEN_RID;
170 #else
171 goto not_there;
172 #endif
173  
174 }
175 0 break;
176 2 case 'U':
177 2 ▶ if (!memcmp(name, "GEN_URI", 7)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "GEN_URI", 7)) { 2 0 2
178 /* ^ */
179
180 #ifdef GEN_URI
181 2 return GEN_URI;
182 #else
183 goto not_there;
184 #endif
185  
186 }
187 0 break;
188 2 case 'X':
189 2 ▶ if (!memcmp(name, "CB_EXIT", 7)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "CB_EXIT", 7)) { 2 0 2
190 /* ^ */
191
192 #ifdef SSL_CB_EXIT
193 2 return SSL_CB_EXIT;
194 #else
195 goto not_there;
196 #endif
197  
198 }
199 0 break;
200 1 case 'd':
201 1 ▶ if (!memcmp(name, "NID_dsa", 7)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "NID_dsa", 7)) { 1 0 1
202 /* ^ */
203
204 #ifdef NID_dsa
205 1 return NID_dsa;
206 #else
207 goto not_there;
208 #endif
209  
210 }
211 0 break;
212 2 case 'm':
213 2 ▶ if (!memcmp(name, "NID_md2", 7)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "NID_md2", 7)) { 1 1 2
214 /* ^ */
215
216 #ifdef NID_md2
217 1 return NID_md2;
218 #else
219 goto not_there;
220 #endif
221  
222 }
223 1 ▶ if (!memcmp(name, "NID_md5", 7)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "NID_md5", 7)) { 1 0 1
224 /* ^ */
225
226 #ifdef NID_md5
227 1 return NID_md5;
228 #else
229 goto not_there;
230 #endif
231  
232 }
233 0 break;
234 2 case 'r':
235 2 ▶ if (!memcmp(name, "NID_rc4", 7)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "NID_rc4", 7)) { 1 1 2
236 /* ^ */
237
238 #ifdef NID_rc4
239 1 return NID_rc4;
240 #else
241 goto not_there;
242 #endif
243  
244 }
245 1 ▶ if (!memcmp(name, "NID_rsa", 7)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "NID_rsa", 7)) { 1 0 1
246 /* ^ */
247
248 #ifdef NID_rsa
249 1 return NID_rsa;
250 #else
251 goto not_there;
252 #endif
253  
254 }
255 0 break;
256 1 case 's':
257 1 ▶ if (!memcmp(name, "NID_sha", 7)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "NID_sha", 7)) { 1 0 1
258 /* ^ */
259
260 #ifdef NID_sha
261 1 return NID_sha;
262 #else
263 goto not_there;
264 #endif
265  
266 }
267 0 break;
268 }
269 0 break;
270 13 case 8:
271 /* Names all of length 8. */
272 /* CB_ALERT CB_WRITE F_READ_N GEN_X400 NID_X500 NID_X509 NID_mdc2 NID_name
273 NID_pkcs NID_sha1 */
274 /* Offset 5 gives the best switch position. */
275 13 switch (name[5]) {
276 1 case '4':
277 1 ▶ if (!memcmp(name, "GEN_X400", 8)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "GEN_X400", 8)) { 1 0 1
278 /* ^ */
279
280 #ifdef GEN_X400
281 1 return GEN_X400;
282 #else
283 goto not_there;
284 #endif
285  
286 }
287 0 break;
288 2 case '5':
289 2 ▶ if (!memcmp(name, "NID_X500", 8)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "NID_X500", 8)) { 1 1 2
290 /* ^ */
291
292 #ifdef NID_X500
293 1 return NID_X500;
294 #else
295 goto not_there;
296 #endif
297  
298 }
299 1 ▶ if (!memcmp(name, "NID_X509", 8)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "NID_X509", 8)) { 1 0 1
300 /* ^ */
301
302 #ifdef NID_X509
303 1 return NID_X509;
304 #else
305 goto not_there;
306 #endif
307  
308 }
309 0 break;
310 1 case 'D':
311 1 ▶ if (!memcmp(name, "F_READ_N", 8)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "F_READ_N", 8)) { 1 0 1
312 /* ^ */
313
314 #ifdef SSL_F_READ_N
315 return SSL_F_READ_N;
316 #else
317 1 goto not_there;
318 #endif
319  
320 }
321 0 break;
322 3 case 'E':
323 3 ▶ if (!memcmp(name, "CB_ALERT", 8)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "CB_ALERT", 8)) { 3 0 3
324 /* ^ */
325
326 #ifdef SSL_CB_ALERT
327 3 return SSL_CB_ALERT;
328 #else
329 goto not_there;
330 #endif
331  
332 }
333 0 break;
334 2 case 'I':
335 2 ▶ if (!memcmp(name, "CB_WRITE", 8)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "CB_WRITE", 8)) { 2 0 2
336 /* ^ */
337
338 #ifdef SSL_CB_WRITE
339 2 return SSL_CB_WRITE;
340 #else
341 goto not_there;
342 #endif
343  
344 }
345 0 break;
346 1 case 'a':
347 1 ▶ if (!memcmp(name, "NID_name", 8)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "NID_name", 8)) { 1 0 1
348 /* ^ */
349
350 #ifdef NID_name
351 1 return NID_name;
352 #else
353 goto not_there;
354 #endif
355  
356 }
357 0 break;
358 1 case 'd':
359 1 ▶ if (!memcmp(name, "NID_mdc2", 8)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "NID_mdc2", 8)) { 1 0 1
360 /* ^ */
361
362 #ifdef NID_mdc2
363 1 return NID_mdc2;
364 #else
365 goto not_there;
366 #endif
367  
368 }
369 0 break;
370 1 case 'h':
371 1 ▶ if (!memcmp(name, "NID_sha1", 8)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "NID_sha1", 8)) { 1 0 1
372 /* ^ */
373
374 #ifdef NID_sha1
375 1 return NID_sha1;
376 #else
377 goto not_there;
378 #endif
379  
380 }
381 0 break;
382 1 case 'k':
383 1 ▶ if (!memcmp(name, "NID_pkcs", 8)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "NID_pkcs", 8)) { 1 0 1
384 /* ^ */
385
386 #ifdef NID_pkcs
387 1 return NID_pkcs;
388 #else
389 goto not_there;
390 #endif
391  
392 }
393 0 break;
394 }
395 0 break;
396 77 case 9:
397 /* Names all of length 9. */
398 /* ERROR_SSL EVP_PK_DH EVP_PK_EC F_SSL_NEW GEN_EMAIL GEN_IPADD NID_dsa_2
399 NID_id_ad NID_id_ce NID_id_kp NID_id_pe NID_pbes2 NID_pkcs3 NID_pkcs7
400 NID_pkcs9 NID_sxnet NID_title NID_undef ST_ACCEPT ST_BEFORE X509_V_OK */
401 /* Offset 8 gives the best switch position. */
402 77 switch (name[8]) {
403 2 case '2':
404 2 ▶ if (!memcmp(name, "NID_dsa_", 8)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "NID_dsa_", 8)) { 1 1 2
405 /* 2 */
406
407 #ifdef NID_dsa_2
408 1 return NID_dsa_2;
409 #else
410 goto not_there;
411 #endif
412  
413 }
414 1 ▶ if (!memcmp(name, "NID_pbes", 8)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "NID_pbes", 8)) { 1 0 1
415 /* 2 */
416
417 #ifdef NID_pbes2
418 1 return NID_pbes2;
419 #else
420 goto not_there;
421 #endif
422  
423 }
424 0 break;
425 1 case '3':
426 1 ▶ if (!memcmp(name, "NID_pkcs", 8)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "NID_pkcs", 8)) { 1 0 1
427 /* 3 */
428
429 #ifdef NID_pkcs3
430 1 return NID_pkcs3;
431 #else
432 goto not_there;
433 #endif
434  
435 }
436 0 break;
437 1 case '7':
438 1 ▶ if (!memcmp(name, "NID_pkcs", 8)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "NID_pkcs", 8)) { 1 0 1
439 /* 7 */
440
441 #ifdef NID_pkcs7
442 1 return NID_pkcs7;
443 #else
444 goto not_there;
445 #endif
446  
447 }
448 0 break;
449 1 case '9':
450 1 ▶ if (!memcmp(name, "NID_pkcs", 8)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "NID_pkcs", 8)) { 1 0 1
451 /* 9 */
452
453 #ifdef NID_pkcs9
454 1 return NID_pkcs9;
455 #else
456 goto not_there;
457 #endif
458  
459 }
460 0 break;
461 1 case 'C':
462 1 ▶ if (!memcmp(name, "EVP_PK_E", 8)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "EVP_PK_E", 8)) { 1 0 1
463 /* C */
464
465 #ifdef EVP_PK_EC
466 1 return EVP_PK_EC;
467 #else
468 goto not_there;
469 #endif
470  
471 }
472 0 break;
473 2 case 'D':
474 2 ▶ if (!memcmp(name, "GEN_IPAD", 8)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "GEN_IPAD", 8)) { 2 0 2
475 /* D */
476
477 #ifdef GEN_IPADD
478 2 return GEN_IPADD;
479 #else
480 goto not_there;
481 #endif
482  
483 }
484 0 break;
485 1 case 'E':
486 1 ▶ if (!memcmp(name, "ST_BEFOR", 8)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "ST_BEFOR", 8)) { 1 0 1
487 /* E */
488
489 #ifdef SSL_ST_BEFORE
490 return SSL_ST_BEFORE;
491 #else
492 1 goto not_there;
493 #endif
494  
495 }
496 0 break;
497 1 case 'H':
498 1 ▶ if (!memcmp(name, "EVP_PK_D", 8)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "EVP_PK_D", 8)) { 1 0 1
499 /* H */
500
501 #ifdef EVP_PK_DH
502 1 return EVP_PK_DH;
503 #else
504 goto not_there;
505 #endif
506  
507 }
508 0 break;
509 2 case 'K':
510 2 ▶ if (!memcmp(name, "X509_V_O", 8)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "X509_V_O", 8)) { 2 0 2
511 /* K */
512
513 #ifdef X509_V_OK
514 2 return X509_V_OK;
515 #else
516 goto not_there;
517 #endif
518  
519 }
520 0 break;
521 5 case 'L':
522 5 ▶ if (!memcmp(name, "ERROR_SS", 8)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "ERROR_SS", 8)) { 3 2 5
523 /* L */
524
525 #ifdef SSL_ERROR_SSL
526 3 return SSL_ERROR_SSL;
527 #else
528 goto not_there;
529 #endif
530  
531 }
532 2 ▶ if (!memcmp(name, "GEN_EMAI", 8)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "GEN_EMAI", 8)) { 2 0 2
533 /* L */
534
535 #ifdef GEN_EMAIL
536 2 return GEN_EMAIL;
537 #else
538 goto not_there;
539 #endif
540  
541 }
542 0 break;
543 1 case 'T':
544 1 ▶ if (!memcmp(name, "ST_ACCEP", 8)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "ST_ACCEP", 8)) { 1 0 1
545 /* T */
546
547 #ifdef SSL_ST_ACCEPT
548 1 return SSL_ST_ACCEPT;
549 #else
550 goto not_there;
551 #endif
552  
553 }
554 0 break;
555 1 case 'W':
556 1 ▶ if (!memcmp(name, "F_SSL_NE", 8)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "F_SSL_NE", 8)) { 1 0 1
557 /* W */
558
559 #ifdef SSL_F_SSL_NEW
560 1 return SSL_F_SSL_NEW;
561 #else
562 goto not_there;
563 #endif
564  
565 }
566 0 break;
567 1 case 'd':
568 1 ▶ if (!memcmp(name, "NID_id_a", 8)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "NID_id_a", 8)) { 1 0 1
569 /* d */
570
571 #ifdef NID_id_ad
572 1 return NID_id_ad;
573 #else
574 goto not_there;
575 #endif
576  
577 }
578 0 break;
579 52 case 'e':
580 52 ▶ if (!memcmp(name, "NID_id_c", 8)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "NID_id_c", 8)) { 1 51 52
581 /* e */
582
583 #ifdef NID_id_ce
584 1 return NID_id_ce;
585 #else
586 goto not_there;
587 #endif
588  
589 }
590 51 ▶ if (!memcmp(name, "NID_id_p", 8)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "NID_id_p", 8)) { 1 50 51
591 /* e */
592
593 #ifdef NID_id_pe
594 1 return NID_id_pe;
595 #else
596 goto not_there;
597 #endif
598  
599 }
600 50 ▶ if (!memcmp(name, "NID_titl", 8)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "NID_titl", 8)) { 1 49 50
601 /* e */
602
603 #ifdef NID_title
604 1 return NID_title;
605 #else
606 goto not_there;
607 #endif
608  
609 }
610 49 break;
611 2 case 'f':
612 2 ▶ if (!memcmp(name, "NID_unde", 8)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "NID_unde", 8)) { 2 0 2
613 /* f */
614
615 #ifdef NID_undef
616 2 return NID_undef;
617 #else
618 goto not_there;
619 #endif
620  
621 }
622 0 break;
623 1 case 'p':
624 1 ▶ if (!memcmp(name, "NID_id_k", 8)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "NID_id_k", 8)) { 1 0 1
625 /* p */
626
627 #ifdef NID_id_kp
628 1 return NID_id_kp;
629 #else
630 goto not_there;
631 #endif
632  
633 }
634 0 break;
635 1 case 't':
636 1 ▶ if (!memcmp(name, "NID_sxne", 8)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "NID_sxne", 8)) { 1 0 1
637 /* t */
638
639 #ifdef NID_sxnet
640 1 return NID_sxnet;
641 #else
642 goto not_there;
643 #endif
644  
645 }
646 0 break;
647 }
648 50 break;
649 30 case 10:
650 /* Names all of length 10. */
651 /* ERROR_NONE EVP_PKS_EC EVP_PK_DSA EVP_PK_RSA F_SSL_READ MODE_ASYNC
652 NID_bf_cbc NID_bf_ecb NID_crlBag NID_keyBag NID_ms_efs NID_ms_sgc
653 NID_ns_sgc NID_pbmac1 NID_rc4_40 NID_rsadsi NID_sha224 NID_sha256
654 NID_sha384 NID_sha512 R_X509_LIB SSLEAY_DIR ST_CONNECT */
655 /* Offset 8 gives the best switch position. */
656 30 switch (name[8]) {
657 2 case '1':
658 2 ▶ if (!memcmp(name, "NID_sha512", 10)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "NID_sha512", 10)) { 2 0 2
659 /* ^ */
660
661 #ifdef NID_sha512
662 2 return NID_sha512;
663 #else
664 goto not_there;
665 #endif
666  
667 }
668 0 break;
669 1 case '2':
670 1 ▶ if (!memcmp(name, "NID_sha224", 10)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "NID_sha224", 10)) { 1 0 1
671 /* ^ */
672
673 #ifdef NID_sha224
674 1 return NID_sha224;
675 #else
676 goto not_there;
677 #endif
678  
679 }
680 0 break;
681 1 case '4':
682 1 ▶ if (!memcmp(name, "NID_rc4_40", 10)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "NID_rc4_40", 10)) { 1 0 1
683 /* ^ */
684
685 #ifdef NID_rc4_40
686 1 return NID_rc4_40;
687 #else
688 goto not_there;
689 #endif
690  
691 }
692 0 break;
693 1 case '5':
694 1 ▶ if (!memcmp(name, "NID_sha256", 10)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "NID_sha256", 10)) { 1 0 1
695 /* ^ */
696
697 #ifdef NID_sha256
698 1 return NID_sha256;
699 #else
700 goto not_there;
701 #endif
702  
703 }
704 0 break;
705 1 case '8':
706 1 ▶ if (!memcmp(name, "NID_sha384", 10)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "NID_sha384", 10)) { 1 0 1
707 /* ^ */
708
709 #ifdef NID_sha384
710 1 return NID_sha384;
711 #else
712 goto not_there;
713 #endif
714  
715 }
716 0 break;
717 1 case 'A':
718 1 ▶ if (!memcmp(name, "F_SSL_READ", 10)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "F_SSL_READ", 10)) { 1 0 1
719 /* ^ */
720
721 #ifdef SSL_F_SSL_READ
722 1 return SSL_F_SSL_READ;
723 #else
724 goto not_there;
725 #endif
726  
727 }
728 0 break;
729 1 case 'C':
730 1 ▶ if (!memcmp(name, "ST_CONNECT", 10)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "ST_CONNECT", 10)) { 1 0 1
731 /* ^ */
732
733 #ifdef SSL_ST_CONNECT
734 1 return SSL_ST_CONNECT;
735 #else
736 goto not_there;
737 #endif
738  
739 }
740 0 break;
741 1 case 'E':
742 1 ▶ if (!memcmp(name, "EVP_PKS_EC", 10)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "EVP_PKS_EC", 10)) { 1 0 1
743 /* ^ */
744
745 #ifdef EVP_PKS_EC
746 1 return EVP_PKS_EC;
747 #else
748 goto not_there;
749 #endif
750  
751 }
752 0 break;
753 4 case 'I':
754 4 ▶ if (!memcmp(name, "R_X509_LIB", 10)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "R_X509_LIB", 10)) { 1 3 4
755 /* ^ */
756
757 #ifdef SSL_R_X509_LIB
758 1 return SSL_R_X509_LIB;
759 #else
760 goto not_there;
761 #endif
762  
763 }
764 3 ▶ if (!memcmp(name, "SSLEAY_DIR", 10)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "SSLEAY_DIR", 10)) { 3 0 3
765 /* ^ */
766
767 #ifdef SSLEAY_DIR
768 3 return SSLEAY_DIR;
769 #else
770 goto not_there;
771 #endif
772  
773 }
774 0 break;
775 4 case 'N':
776 4 ▶ if (!memcmp(name, "ERROR_NONE", 10)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "ERROR_NONE", 10)) { 3 1 4
777 /* ^ */
778
779 #ifdef SSL_ERROR_NONE
780 3 return SSL_ERROR_NONE;
781 #else
782 goto not_there;
783 #endif
784  
785 }
786 1 ▶ if (!memcmp(name, "MODE_ASYNC", 10)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "MODE_ASYNC", 10)) { 1 0 1
787 /* ^ */
788
789 #ifdef SSL_MODE_ASYNC
790 1 return SSL_MODE_ASYNC;
791 #else
792 goto not_there;
793 #endif
794  
795 }
796 0 break;
797 3 case 'S':
798 3 ▶ if (!memcmp(name, "EVP_PK_DSA", 10)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "EVP_PK_DSA", 10)) { 1 2 3
799 /* ^ */
800
801 #ifdef EVP_PK_DSA
802 1 return EVP_PK_DSA;
803 #else
804 goto not_there;
805 #endif
806  
807 }
808 2 ▶ if (!memcmp(name, "EVP_PK_RSA", 10)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "EVP_PK_RSA", 10)) { 2 0 2
809 /* ^ */
810
811 #ifdef EVP_PK_RSA
812 2 return EVP_PK_RSA;
813 #else
814 goto not_there;
815 #endif
816  
817 }
818 0 break;
819 2 case 'a':
820 2 ▶ if (!memcmp(name, "NID_crlBag", 10)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "NID_crlBag", 10)) { 1 1 2
821 /* ^ */
822
823 #ifdef NID_crlBag
824 1 return NID_crlBag;
825 #else
826 goto not_there;
827 #endif
828  
829 }
830 1 ▶ if (!memcmp(name, "NID_keyBag", 10)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "NID_keyBag", 10)) { 1 0 1
831 /* ^ */
832
833 #ifdef NID_keyBag
834 1 return NID_keyBag;
835 #else
836 goto not_there;
837 #endif
838  
839 }
840 0 break;
841 1 case 'b':
842 1 ▶ if (!memcmp(name, "NID_bf_cbc", 10)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "NID_bf_cbc", 10)) { 1 0 1
843 /* ^ */
844
845 #ifdef NID_bf_cbc
846 1 return NID_bf_cbc;
847 #else
848 goto not_there;
849 #endif
850  
851 }
852 0 break;
853 2 case 'c':
854 2 ▶ if (!memcmp(name, "NID_bf_ecb", 10)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "NID_bf_ecb", 10)) { 1 1 2
855 /* ^ */
856
857 #ifdef NID_bf_ecb
858 1 return NID_bf_ecb;
859 #else
860 goto not_there;
861 #endif
862  
863 }
864 1 ▶ if (!memcmp(name, "NID_pbmac1", 10)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "NID_pbmac1", 10)) { 1 0 1
865 /* ^ */
866
867 #ifdef NID_pbmac1
868 1 return NID_pbmac1;
869 #else
870 goto not_there;
871 #endif
872  
873 }
874 0 break;
875 1 case 'f':
876 1 ▶ if (!memcmp(name, "NID_ms_efs", 10)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "NID_ms_efs", 10)) { 1 0 1
877 /* ^ */
878
879 #ifdef NID_ms_efs
880 1 return NID_ms_efs;
881 #else
882 goto not_there;
883 #endif
884  
885 }
886 0 break;
887 2 case 'g':
888 2 ▶ if (!memcmp(name, "NID_ms_sgc", 10)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "NID_ms_sgc", 10)) { 1 1 2
889 /* ^ */
890
891 #ifdef NID_ms_sgc
892 1 return NID_ms_sgc;
893 #else
894 goto not_there;
895 #endif
896  
897 }
898 1 ▶ if (!memcmp(name, "NID_ns_sgc", 10)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "NID_ns_sgc", 10)) { 1 0 1
899 /* ^ */
900
901 #ifdef NID_ns_sgc
902 1 return NID_ns_sgc;
903 #else
904 goto not_there;
905 #endif
906  
907 }
908 0 break;
909 1 case 's':
910 1 ▶ if (!memcmp(name, "NID_rsadsi", 10)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "NID_rsadsi", 10)) { 1 0 1
911 /* ^ */
912
913 #ifdef NID_rsadsi
914 1 return NID_rsadsi;
915 #else
916 goto not_there;
917 #endif
918  
919 }
920 0 break;
921 }
922 1 break;
923 32 case 11:
924 /* Names all of length 11. */
925 /* EVP_PKS_DSA EVP_PKS_RSA EVP_PKT_ENC EVP_PKT_EXP GEN_DIRNAME NID_ad_OCSP
926 NID_certBag NID_des_cbc NID_des_ecb NID_des_ede NID_ext_req NID_id_pkix
927 NID_rc2_cbc NID_rc2_ecb NID_rc5_cbc NID_rc5_ecb NID_surname NID_x509Crl
928 OPENSSL_DIR OP_NO_SSLv2 OP_NO_SSLv3 OP_NO_TLSv1 R_BAD_STATE SSL3_MT_CCS
929 VERIFY_NONE VERIFY_PEER X509_LOOKUP */
930 /* Offset 9 gives the best switch position. */
931 32 switch (name[9]) {
932 1 case 'C':
933 1 ▶ if (!memcmp(name, "SSL3_MT_CCS", 11)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "SSL3_MT_CCS", 11)) { 1 0 1
934 /* ^ */
935
936 #ifdef SSL3_MT_CCS
937 1 return SSL3_MT_CCS;
938 #else
939 goto not_there;
940 #endif
941  
942 }
943 0 break;
944 4 case 'E':
945 4 ▶ if (!memcmp(name, "VERIFY_PEER", 11)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "VERIFY_PEER", 11)) { 4 0 4
946 /* ^ */
947
948 #ifdef SSL_VERIFY_PEER
949 4 return SSL_VERIFY_PEER;
950 #else
951 goto not_there;
952 #endif
953  
954 }
955 0 break;
956 2 case 'I':
957 2 ▶ if (!memcmp(name, "OPENSSL_DIR", 11)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "OPENSSL_DIR", 11)) { 2 0 2
958 /* ^ */
959
960 #ifdef OPENSSL_DIR
961 2 return OPENSSL_DIR;
962 #else
963 goto not_there;
964 #endif
965  
966 }
967 0 break;
968 1 case 'M':
969 1 ▶ if (!memcmp(name, "GEN_DIRNAME", 11)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "GEN_DIRNAME", 11)) { 1 0 1
970 /* ^ */
971
972 #ifdef GEN_DIRNAME
973 1 return GEN_DIRNAME;
974 #else
975 goto not_there;
976 #endif
977  
978 }
979 0 break;
980 3 case 'N':
981 3 ▶ if (!memcmp(name, "EVP_PKT_ENC", 11)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "EVP_PKT_ENC", 11)) { 2 1 3
982 /* ^ */
983
984 #ifdef EVP_PKT_ENC
985 2 return EVP_PKT_ENC;
986 #else
987 goto not_there;
988 #endif
989  
990 }
991 1 ▶ if (!memcmp(name, "VERIFY_NONE", 11)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "VERIFY_NONE", 11)) { 1 0 1
992 /* ^ */
993
994 #ifdef SSL_VERIFY_NONE
995 1 return SSL_VERIFY_NONE;
996 #else
997 goto not_there;
998 #endif
999  
1000 }
1001 0 break;
1002 3 case 'S':
1003 3 ▶ if (!memcmp(name, "EVP_PKS_DSA", 11)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "EVP_PKS_DSA", 11)) { 1 2 3
1004 /* ^ */
1005
1006 #ifdef EVP_PKS_DSA
1007 1 return EVP_PKS_DSA;
1008 #else
1009 goto not_there;
1010 #endif
1011  
1012 }
1013 2 ▶ if (!memcmp(name, "EVP_PKS_RSA", 11)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "EVP_PKS_RSA", 11)) { 1 1 2
1014 /* ^ */
1015
1016 #ifdef EVP_PKS_RSA
1017 1 return EVP_PKS_RSA;
1018 #else
1019 goto not_there;
1020 #endif
1021  
1022 }
1023 1 ▶ if (!memcmp(name, "NID_ad_OCSP", 11)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "NID_ad_OCSP", 11)) { 1 0 1
1024 /* ^ */
1025
1026 #ifdef NID_ad_OCSP
1027 1 return NID_ad_OCSP;
1028 #else
1029 goto not_there;
1030 #endif
1031  
1032 }
1033 0 break;
1034 1 case 'T':
1035 1 ▶ if (!memcmp(name, "R_BAD_STATE", 11)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "R_BAD_STATE", 11)) { 1 0 1
1036 /* ^ */
1037
1038 #ifdef SSL_R_BAD_STATE
1039 return SSL_R_BAD_STATE;
1040 #else
1041 1 goto not_there;
1042 #endif
1043  
1044 }
1045 0 break;
1046 1 case 'U':
1047 1 ▶ if (!memcmp(name, "X509_LOOKUP", 11)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "X509_LOOKUP", 11)) { 1 0 1
1048 /* ^ */
1049
1050 #ifdef SSL_X509_LOOKUP
1051 1 return SSL_X509_LOOKUP;
1052 #else
1053 goto not_there;
1054 #endif
1055  
1056 }
1057 0 break;
1058 1 case 'X':
1059 1 ▶ if (!memcmp(name, "EVP_PKT_EXP", 11)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "EVP_PKT_EXP", 11)) { 1 0 1
1060 /* ^ */
1061
1062 #ifdef EVP_PKT_EXP
1063 return EVP_PKT_EXP;
1064 #else
1065 1 goto not_there;
1066 #endif
1067  
1068 }
1069 0 break;
1070 1 case 'a':
1071 1 ▶ if (!memcmp(name, "NID_certBag", 11)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "NID_certBag", 11)) { 1 0 1
1072 /* ^ */
1073
1074 #ifdef NID_certBag
1075 1 return NID_certBag;
1076 #else
1077 goto not_there;
1078 #endif
1079  
1080 }
1081 0 break;
1082 3 case 'b':
1083 3 ▶ if (!memcmp(name, "NID_des_cbc", 11)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "NID_des_cbc", 11)) { 1 2 3
1084 /* ^ */
1085
1086 #ifdef NID_des_cbc
1087 1 return NID_des_cbc;
1088 #else
1089 goto not_there;
1090 #endif
1091  
1092 }
1093 2 ▶ if (!memcmp(name, "NID_rc2_cbc", 11)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "NID_rc2_cbc", 11)) { 1 1 2
1094 /* ^ */
1095
1096 #ifdef NID_rc2_cbc
1097 1 return NID_rc2_cbc;
1098 #else
1099 goto not_there;
1100 #endif
1101  
1102 }
1103 1 ▶ if (!memcmp(name, "NID_rc5_cbc", 11)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "NID_rc5_cbc", 11)) { 1 0 1
1104 /* ^ */
1105
1106 #ifdef NID_rc5_cbc
1107 1 return NID_rc5_cbc;
1108 #else
1109 goto not_there;
1110 #endif
1111  
1112 }
1113 0 break;
1114 3 case 'c':
1115 3 ▶ if (!memcmp(name, "NID_des_ecb", 11)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "NID_des_ecb", 11)) { 1 2 3
1116 /* ^ */
1117
1118 #ifdef NID_des_ecb
1119 1 return NID_des_ecb;
1120 #else
1121 goto not_there;
1122 #endif
1123  
1124 }
1125 2 ▶ if (!memcmp(name, "NID_rc2_ecb", 11)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "NID_rc2_ecb", 11)) { 1 1 2
1126 /* ^ */
1127
1128 #ifdef NID_rc2_ecb
1129 1 return NID_rc2_ecb;
1130 #else
1131 goto not_there;
1132 #endif
1133  
1134 }
1135 1 ▶ if (!memcmp(name, "NID_rc5_ecb", 11)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "NID_rc5_ecb", 11)) { 1 0 1
1136 /* ^ */
1137
1138 #ifdef NID_rc5_ecb
1139 1 return NID_rc5_ecb;
1140 #else
1141 goto not_there;
1142 #endif
1143  
1144 }
1145 0 break;
1146 1 case 'd':
1147 1 ▶ if (!memcmp(name, "NID_des_ede", 11)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "NID_des_ede", 11)) { 1 0 1
1148 /* ^ */
1149
1150 #ifdef NID_des_ede
1151 return NID_des_ede;
1152 #else
1153 1 goto not_there;
1154 #endif
1155  
1156 }
1157 0 break;
1158 1 case 'e':
1159 1 ▶ if (!memcmp(name, "NID_ext_req", 11)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "NID_ext_req", 11)) { 1 0 1
1160 /* ^ */
1161
1162 #ifdef NID_ext_req
1163 1 return NID_ext_req;
1164 #else
1165 goto not_there;
1166 #endif
1167  
1168 }
1169 0 break;
1170 1 case 'i':
1171 1 ▶ if (!memcmp(name, "NID_id_pkix", 11)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "NID_id_pkix", 11)) { 1 0 1
1172 /* ^ */
1173
1174 #ifdef NID_id_pkix
1175 1 return NID_id_pkix;
1176 #else
1177 goto not_there;
1178 #endif
1179  
1180 }
1181 0 break;
1182 1 case 'm':
1183 1 ▶ if (!memcmp(name, "NID_surname", 11)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "NID_surname", 11)) { 1 0 1
1184 /* ^ */
1185
1186 #ifdef NID_surname
1187 1 return NID_surname;
1188 #else
1189 goto not_there;
1190 #endif
1191  
1192 }
1193 0 break;
1194 1 case 'r':
1195 1 ▶ if (!memcmp(name, "NID_x509Crl", 11)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "NID_x509Crl", 11)) { 1 0 1
1196 /* ^ */
1197
1198 #ifdef NID_x509Crl
1199 1 return NID_x509Crl;
1200 #else
1201 goto not_there;
1202 #endif
1203  
1204 }
1205 0 break;
1206 3 case 'v':
1207 3 ▶ if (!memcmp(name, "OP_NO_SSLv2", 11)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "OP_NO_SSLv2", 11)) { 1 2 3
1208 /* ^ */
1209
1210 #ifdef SSL_OP_NO_SSLv2
1211 1 return SSL_OP_NO_SSLv2;
1212 #else
1213 goto not_there;
1214 #endif
1215  
1216 }
1217 2 ▶ if (!memcmp(name, "OP_NO_SSLv3", 11)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "OP_NO_SSLv3", 11)) { 1 1 2
1218 /* ^ */
1219
1220 #ifdef SSL_OP_NO_SSLv3
1221 1 return SSL_OP_NO_SSLv3;
1222 #else
1223 goto not_there;
1224 #endif
1225  
1226 }
1227 1 ▶ if (!memcmp(name, "OP_NO_TLSv1", 11)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "OP_NO_TLSv1", 11)) { 1 0 1
1228 /* ^ */
1229
1230 #ifdef SSL_OP_NO_TLSv1
1231 1 return SSL_OP_NO_TLSv1;
1232 #else
1233 goto not_there;
1234 #endif
1235  
1236 }
1237 0 break;
1238 }
1239 0 break;
1240 66 case 12:
1241 /* Names all of length 12. */
1242 /* ASYNC_PAUSED EVP_PKT_EXCH EVP_PKT_SIGN FILETYPE_PEM F_SSL_SET_FD
1243 GEN_EDIPARTY MBSTRING_ASC MBSTRING_BMP NID_bf_cfb64 NID_bf_ofb64
1244 NID_des_ede3 NID_desx_cbc NID_idea_cbc NID_idea_ecb NID_initials
1245 NID_md5_sha1 NID_netscape NID_sha3_224 NID_sha3_256 NID_sha3_384
1246 NID_sha3_512 NID_shake128 NID_shake256 OP_NO_TICKET RETRY_VERIFY
1247 R_PEER_ERROR R_SHORT_READ SSL2_VERSION SSL3_VERSION ST_READ_BODY
1248 TLS1_VERSION */
1249 /* Offset 10 gives the best switch position. */
1250 66 switch (name[10]) {
1251 1 case '1':
1252 1 ▶ if (!memcmp(name, "NID_sha3_512", 12)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "NID_sha3_512", 12)) { 1 0 1
1253 /* ^ */
1254
1255 #ifdef NID_sha3_512
1256 1 return NID_sha3_512;
1257 #else
1258 goto not_there;
1259 #endif
1260  
1261 }
1262 0 break;
1263 2 case '2':
1264 2 ▶ if (!memcmp(name, "NID_sha3_224", 12)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "NID_sha3_224", 12)) { 1 1 2
1265 /* ^ */
1266
1267 #ifdef NID_sha3_224
1268 1 return NID_sha3_224;
1269 #else
1270 goto not_there;
1271 #endif
1272  
1273 }
1274 1 ▶ if (!memcmp(name, "NID_shake128", 12)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "NID_shake128", 12)) { 1 0 1
1275 /* ^ */
1276
1277 #ifdef NID_shake128
1278 1 return NID_shake128;
1279 #else
1280 goto not_there;
1281 #endif
1282  
1283 }
1284 0 break;
1285 2 case '5':
1286 2 ▶ if (!memcmp(name, "NID_sha3_256", 12)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "NID_sha3_256", 12)) { 1 1 2
1287 /* ^ */
1288
1289 #ifdef NID_sha3_256
1290 1 return NID_sha3_256;
1291 #else
1292 goto not_there;
1293 #endif
1294  
1295 }
1296 1 ▶ if (!memcmp(name, "NID_shake256", 12)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "NID_shake256", 12)) { 1 0 1
1297 /* ^ */
1298
1299 #ifdef NID_shake256
1300 1 return NID_shake256;
1301 #else
1302 goto not_there;
1303 #endif
1304  
1305 }
1306 0 break;
1307 2 case '6':
1308 2 ▶ if (!memcmp(name, "NID_bf_cfb64", 12)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "NID_bf_cfb64", 12)) { 1 1 2
1309 /* ^ */
1310
1311 #ifdef NID_bf_cfb64
1312 1 return NID_bf_cfb64;
1313 #else
1314 goto not_there;
1315 #endif
1316  
1317 }
1318 1 ▶ if (!memcmp(name, "NID_bf_ofb64", 12)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "NID_bf_ofb64", 12)) { 1 0 1
1319 /* ^ */
1320
1321 #ifdef NID_bf_ofb64
1322 1 return NID_bf_ofb64;
1323 #else
1324 goto not_there;
1325 #endif
1326  
1327 }
1328 0 break;
1329 1 case '8':
1330 1 ▶ if (!memcmp(name, "NID_sha3_384", 12)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "NID_sha3_384", 12)) { 1 0 1
1331 /* ^ */
1332
1333 #ifdef NID_sha3_384
1334 1 return NID_sha3_384;
1335 #else
1336 goto not_there;
1337 #endif
1338  
1339 }
1340 0 break;
1341 1 case 'A':
1342 1 ▶ if (!memcmp(name, "R_SHORT_READ", 12)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "R_SHORT_READ", 12)) { 1 0 1
1343 /* ^ */
1344
1345 #ifdef SSL_R_SHORT_READ
1346 return SSL_R_SHORT_READ;
1347 #else
1348 1 goto not_there;
1349 #endif
1350  
1351 }
1352 0 break;
1353 1 case 'C':
1354 1 ▶ if (!memcmp(name, "EVP_PKT_EXCH", 12)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "EVP_PKT_EXCH", 12)) { 1 0 1
1355 /* ^ */
1356
1357 #ifdef EVP_PKT_EXCH
1358 1 return EVP_PKT_EXCH;
1359 #else
1360 goto not_there;
1361 #endif
1362  
1363 }
1364 0 break;
1365 1 case 'D':
1366 1 ▶ if (!memcmp(name, "ST_READ_BODY", 12)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "ST_READ_BODY", 12)) { 1 0 1
1367 /* ^ */
1368
1369 #ifdef SSL_ST_READ_BODY
1370 1 return SSL_ST_READ_BODY;
1371 #else
1372 goto not_there;
1373 #endif
1374  
1375 }
1376 0 break;
1377 24 case 'E':
1378 24 ▶ if (!memcmp(name, "ASYNC_PAUSED", 12)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "ASYNC_PAUSED", 12)) { 1 23 24
1379 /* ^ */
1380
1381 #ifdef SSL_ASYNC_PAUSED
1382 1 return SSL_ASYNC_PAUSED;
1383 #else
1384 goto not_there;
1385 #endif
1386  
1387 }
1388 23 ▶ if (!memcmp(name, "FILETYPE_PEM", 12)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "FILETYPE_PEM", 12)) { 21 2 23
1389 /* ^ */
1390
1391 #ifdef SSL_FILETYPE_PEM
1392 21 return SSL_FILETYPE_PEM;
1393 #else
1394 goto not_there;
1395 #endif
1396  
1397 }
1398 2 ▶ if (!memcmp(name, "OP_NO_TICKET", 12)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "OP_NO_TICKET", 12)) { 2 0 2
1399 /* ^ */
1400
1401 #ifdef SSL_OP_NO_TICKET
1402 2 return SSL_OP_NO_TICKET;
1403 #else
1404 goto not_there;
1405 #endif
1406  
1407 }
1408 0 break;
1409 2 case 'F':
1410 2 ▶ if (!memcmp(name, "F_SSL_SET_FD", 12)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "F_SSL_SET_FD", 12)) { 1 1 2
1411 /* ^ */
1412
1413 #ifdef SSL_F_SSL_SET_FD
1414 1 return SSL_F_SSL_SET_FD;
1415 #else
1416 goto not_there;
1417 #endif
1418  
1419 }
1420 1 ▶ if (!memcmp(name, "RETRY_VERIFY", 12)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "RETRY_VERIFY", 12)) { 1 0 1
1421 /* ^ */
1422
1423 #ifdef SSL_RETRY_VERIFY
1424 1 return SSL_RETRY_VERIFY;
1425 #else
1426 goto not_there;
1427 #endif
1428  
1429 }
1430 0 break;
1431 2 case 'G':
1432 2 ▶ if (!memcmp(name, "EVP_PKT_SIGN", 12)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "EVP_PKT_SIGN", 12)) { 2 0 2
1433 /* ^ */
1434
1435 #ifdef EVP_PKT_SIGN
1436 2 return EVP_PKT_SIGN;
1437 #else
1438 goto not_there;
1439 #endif
1440  
1441 }
1442 0 break;
1443 1 case 'M':
1444 1 ▶ if (!memcmp(name, "MBSTRING_BMP", 12)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "MBSTRING_BMP", 12)) { 1 0 1
1445 /* ^ */
1446
1447 #ifdef MBSTRING_BMP
1448 1 return MBSTRING_BMP;
1449 #else
1450 goto not_there;
1451 #endif
1452  
1453 }
1454 0 break;
1455 5 case 'O':
1456 5 ▶ if (!memcmp(name, "R_PEER_ERROR", 12)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "R_PEER_ERROR", 12)) { 1 4 5
1457 /* ^ */
1458
1459 #ifdef SSL_R_PEER_ERROR
1460 return SSL_R_PEER_ERROR;
1461 #else
1462 1 goto not_there;
1463 #endif
1464  
1465 }
1466 4 ▶ if (!memcmp(name, "SSL2_VERSION", 12)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "SSL2_VERSION", 12)) { 1 3 4
1467 /* ^ */
1468
1469 #ifdef SSL2_VERSION
1470 1 return SSL2_VERSION;
1471 #else
1472 goto not_there;
1473 #endif
1474  
1475 }
1476 3 ▶ if (!memcmp(name, "SSL3_VERSION", 12)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "SSL3_VERSION", 12)) { 1 2 3
1477 /* ^ */
1478
1479 #ifdef SSL3_VERSION
1480 1 return SSL3_VERSION;
1481 #else
1482 goto not_there;
1483 #endif
1484  
1485 }
1486 2 ▶ if (!memcmp(name, "TLS1_VERSION", 12)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "TLS1_VERSION", 12)) { 2 0 2
1487 /* ^ */
1488
1489 #ifdef TLS1_VERSION
1490 2 return TLS1_VERSION;
1491 #else
1492 goto not_there;
1493 #endif
1494  
1495 }
1496 0 break;
1497 2 case 'S':
1498 2 ▶ if (!memcmp(name, "MBSTRING_ASC", 12)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "MBSTRING_ASC", 12)) { 2 0 2
1499 /* ^ */
1500
1501 #ifdef MBSTRING_ASC
1502 2 return MBSTRING_ASC;
1503 #else
1504 goto not_there;
1505 #endif
1506  
1507 }
1508 0 break;
1509 1 case 'T':
1510 1 ▶ if (!memcmp(name, "GEN_EDIPARTY", 12)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "GEN_EDIPARTY", 12)) { 1 0 1
1511 /* ^ */
1512
1513 #ifdef GEN_EDIPARTY
1514 1 return GEN_EDIPARTY;
1515 #else
1516 goto not_there;
1517 #endif
1518  
1519 }
1520 0 break;
1521 1 case 'a':
1522 1 ▶ if (!memcmp(name, "NID_md5_sha1", 12)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "NID_md5_sha1", 12)) { 1 0 1
1523 /* ^ */
1524
1525 #ifdef NID_md5_sha1
1526 1 return NID_md5_sha1;
1527 #else
1528 goto not_there;
1529 #endif
1530  
1531 }
1532 0 break;
1533 2 case 'b':
1534 2 ▶ if (!memcmp(name, "NID_desx_cbc", 12)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "NID_desx_cbc", 12)) { 1 1 2
1535 /* ^ */
1536
1537 #ifdef NID_desx_cbc
1538 1 return NID_desx_cbc;
1539 #else
1540 goto not_there;
1541 #endif
1542  
1543 }
1544 1 ▶ if (!memcmp(name, "NID_idea_cbc", 12)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "NID_idea_cbc", 12)) { 1 0 1
1545 /* ^ */
1546
1547 #ifdef NID_idea_cbc
1548 1 return NID_idea_cbc;
1549 #else
1550 goto not_there;
1551 #endif
1552  
1553 }
1554 0 break;
1555 1 case 'c':
1556 1 ▶ if (!memcmp(name, "NID_idea_ecb", 12)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "NID_idea_ecb", 12)) { 1 0 1
1557 /* ^ */
1558
1559 #ifdef NID_idea_ecb
1560 1 return NID_idea_ecb;
1561 #else
1562 goto not_there;
1563 #endif
1564  
1565 }
1566 0 break;
1567 1 case 'e':
1568 1 ▶ if (!memcmp(name, "NID_des_ede3", 12)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "NID_des_ede3", 12)) { 1 0 1
1569 /* ^ */
1570
1571 #ifdef NID_des_ede3
1572 return NID_des_ede3;
1573 #else
1574 1 goto not_there;
1575 #endif
1576  
1577 }
1578 0 break;
1579 11 case 'l':
1580 11 ▶ if (!memcmp(name, "NID_initials", 12)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "NID_initials", 12)) { 1 10 11
1581 /* ^ */
1582
1583 #ifdef NID_initials
1584 1 return NID_initials;
1585 #else
1586 goto not_there;
1587 #endif
1588  
1589 }
1590 10 break;
1591 1 case 'p':
1592 1 ▶ if (!memcmp(name, "NID_netscape", 12)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "NID_netscape", 12)) { 1 0 1
1593 /* ^ */
1594
1595 #ifdef NID_netscape
1596 1 return NID_netscape;
1597 #else
1598 goto not_there;
1599 #endif
1600  
1601 }
1602 0 break;
1603 }
1604 11 break;
1605 61 case 13:
1606 /* Names all of length 13. */
1607 /* AD_UNKNOWN_CA ASYNC_NO_JOBS CB_READ_ALERT ERROR_SYSCALL FILETYPE_ASN1
1608 F_SSL_SET_RFD F_SSL_SET_WFD GEN_OTHERNAME MBSTRING_FLAG MBSTRING_UNIV
1609 MBSTRING_UTF8 NID_OCSP_sign NID_algorithm NID_cast5_cbc NID_cast5_ecb
1610 NID_code_sign NID_delta_crl NID_des_cfb64 NID_des_ofb64 NID_givenName
1611 NID_id_pbkdf2 NID_id_qt_cps NID_key_usage NID_rc2_cfb64 NID_rc2_ofb64
1612 NID_rc5_cfb64 NID_rc5_ofb64 NID_ripemd160 NID_secretBag OP_NO_TLSv1_1
1613 OP_NO_TLSv1_2 OP_NO_TLSv1_3 OP_TLS_D5_BUG SENT_SHUTDOWN SSL2_MT_ERROR
1614 SSL3_RT_ALERT SSLEAY_CFLAGS XN_FLAG_FN_LN XN_FLAG_FN_SN */
1615 /* Offset 12 gives the best switch position. */
1616 61 switch (name[12]) {
1617 1 case '0':
1618 1 ▶ if (!memcmp(name, "NID_ripemd16", 12)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "NID_ripemd16", 12)) { 1 0 1
1619 /* 0 */
1620
1621 #ifdef NID_ripemd160
1622 1 return NID_ripemd160;
1623 #else
1624 goto not_there;
1625 #endif
1626  
1627 }
1628 0 break;
1629 2 case '1':
1630 2 ▶ if (!memcmp(name, "FILETYPE_ASN", 12)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "FILETYPE_ASN", 12)) { 1 1 2
1631 /* 1 */
1632
1633 #ifdef SSL_FILETYPE_ASN1
1634 1 return SSL_FILETYPE_ASN1;
1635 #else
1636 goto not_there;
1637 #endif
1638  
1639 }
1640 1 ▶ if (!memcmp(name, "OP_NO_TLSv1_", 12)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "OP_NO_TLSv1_", 12)) { 1 0 1
1641 /* 1 */
1642
1643 #ifdef SSL_OP_NO_TLSv1_1
1644 1 return SSL_OP_NO_TLSv1_1;
1645 #else
1646 goto not_there;
1647 #endif
1648  
1649 }
1650 0 break;
1651 2 case '2':
1652 2 ▶ if (!memcmp(name, "NID_id_pbkdf", 12)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "NID_id_pbkdf", 12)) { 1 1 2
1653 /* 2 */
1654
1655 #ifdef NID_id_pbkdf2
1656 1 return NID_id_pbkdf2;
1657 #else
1658 goto not_there;
1659 #endif
1660  
1661 }
1662 1 ▶ if (!memcmp(name, "OP_NO_TLSv1_", 12)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "OP_NO_TLSv1_", 12)) { 1 0 1
1663 /* 2 */
1664
1665 #ifdef SSL_OP_NO_TLSv1_2
1666 1 return SSL_OP_NO_TLSv1_2;
1667 #else
1668 goto not_there;
1669 #endif
1670  
1671 }
1672 0 break;
1673 2 case '3':
1674 2 ▶ if (!memcmp(name, "OP_NO_TLSv1_", 12)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "OP_NO_TLSv1_", 12)) { 2 0 2
1675 /* 3 */
1676
1677 #ifdef SSL_OP_NO_TLSv1_3
1678 2 return SSL_OP_NO_TLSv1_3;
1679 #else
1680 goto not_there;
1681 #endif
1682  
1683 }
1684 0 break;
1685 6 case '4':
1686 6 ▶ if (!memcmp(name, "NID_des_cfb6", 12)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "NID_des_cfb6", 12)) { 1 5 6
1687 /* 4 */
1688
1689 #ifdef NID_des_cfb64
1690 1 return NID_des_cfb64;
1691 #else
1692 goto not_there;
1693 #endif
1694  
1695 }
1696 5 ▶ if (!memcmp(name, "NID_des_ofb6", 12)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "NID_des_ofb6", 12)) { 1 4 5
1697 /* 4 */
1698
1699 #ifdef NID_des_ofb64
1700 1 return NID_des_ofb64;
1701 #else
1702 goto not_there;
1703 #endif
1704  
1705 }
1706 4 ▶ if (!memcmp(name, "NID_rc2_cfb6", 12)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "NID_rc2_cfb6", 12)) { 1 3 4
1707 /* 4 */
1708
1709 #ifdef NID_rc2_cfb64
1710 1 return NID_rc2_cfb64;
1711 #else
1712 goto not_there;
1713 #endif
1714  
1715 }
1716 3 ▶ if (!memcmp(name, "NID_rc2_ofb6", 12)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "NID_rc2_ofb6", 12)) { 1 2 3
1717 /* 4 */
1718
1719 #ifdef NID_rc2_ofb64
1720 1 return NID_rc2_ofb64;
1721 #else
1722 goto not_there;
1723 #endif
1724  
1725 }
1726 2 ▶ if (!memcmp(name, "NID_rc5_cfb6", 12)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "NID_rc5_cfb6", 12)) { 1 1 2
1727 /* 4 */
1728
1729 #ifdef NID_rc5_cfb64
1730 1 return NID_rc5_cfb64;
1731 #else
1732 goto not_there;
1733 #endif
1734  
1735 }
1736 1 ▶ if (!memcmp(name, "NID_rc5_ofb6", 12)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "NID_rc5_ofb6", 12)) { 1 0 1
1737 /* 4 */
1738
1739 #ifdef NID_rc5_ofb64
1740 1 return NID_rc5_ofb64;
1741 #else
1742 goto not_there;
1743 #endif
1744  
1745 }
1746 0 break;
1747 2 case '8':
1748 2 ▶ if (!memcmp(name, "MBSTRING_UTF", 12)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "MBSTRING_UTF", 12)) { 2 0 2
1749 /* 8 */
1750
1751 #ifdef MBSTRING_UTF8
1752 2 return MBSTRING_UTF8;
1753 #else
1754 goto not_there;
1755 #endif
1756  
1757 }
1758 0 break;
1759 1 case 'A':
1760 1 ▶ if (!memcmp(name, "AD_UNKNOWN_C", 12)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "AD_UNKNOWN_C", 12)) { 1 0 1
1761 /* A */
1762
1763 #ifdef SSL_AD_UNKNOWN_CA
1764 1 return SSL_AD_UNKNOWN_CA;
1765 #else
1766 goto not_there;
1767 #endif
1768  
1769 }
1770 0 break;
1771 2 case 'D':
1772 2 ▶ if (!memcmp(name, "F_SSL_SET_RF", 12)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "F_SSL_SET_RF", 12)) { 1 1 2
1773 /* D */
1774
1775 #ifdef SSL_F_SSL_SET_RFD
1776 1 return SSL_F_SSL_SET_RFD;
1777 #else
1778 goto not_there;
1779 #endif
1780  
1781 }
1782 1 ▶ if (!memcmp(name, "F_SSL_SET_WF", 12)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "F_SSL_SET_WF", 12)) { 1 0 1
1783 /* D */
1784
1785 #ifdef SSL_F_SSL_SET_WFD
1786 1 return SSL_F_SSL_SET_WFD;
1787 #else
1788 goto not_there;
1789 #endif
1790  
1791 }
1792 0 break;
1793 2 case 'E':
1794 2 ▶ if (!memcmp(name, "GEN_OTHERNAM", 12)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "GEN_OTHERNAM", 12)) { 2 0 2
1795 /* E */
1796
1797 #ifdef GEN_OTHERNAME
1798 2 return GEN_OTHERNAME;
1799 #else
1800 goto not_there;
1801 #endif
1802  
1803 }
1804 0 break;
1805 2 case 'G':
1806 2 ▶ if (!memcmp(name, "MBSTRING_FLA", 12)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "MBSTRING_FLA", 12)) { 1 1 2
1807 /* G */
1808
1809 #ifdef MBSTRING_FLAG
1810 1 return MBSTRING_FLAG;
1811 #else
1812 goto not_there;
1813 #endif
1814  
1815 }
1816 1 ▶ if (!memcmp(name, "OP_TLS_D5_BU", 12)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "OP_TLS_D5_BU", 12)) { 1 0 1
1817 /* G */
1818
1819 #ifdef SSL_OP_TLS_D5_BUG
1820 1 return SSL_OP_TLS_D5_BUG;
1821 #else
1822 goto not_there;
1823 #endif
1824  
1825 }
1826 0 break;
1827 4 case 'L':
1828 4 ▶ if (!memcmp(name, "ERROR_SYSCAL", 12)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "ERROR_SYSCAL", 12)) { 4 0 4
1829 /* L */
1830
1831 #ifdef SSL_ERROR_SYSCALL
1832 4 return SSL_ERROR_SYSCALL;
1833 #else
1834 goto not_there;
1835 #endif
1836  
1837 }
1838 0 break;
1839 3 case 'N':
1840 3 ▶ if (!memcmp(name, "SENT_SHUTDOW", 12)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "SENT_SHUTDOW", 12)) { 1 2 3
1841 /* N */
1842
1843 #ifdef SSL_SENT_SHUTDOWN
1844 1 return SSL_SENT_SHUTDOWN;
1845 #else
1846 goto not_there;
1847 #endif
1848  
1849 }
1850 2 ▶ if (!memcmp(name, "XN_FLAG_FN_L", 12)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "XN_FLAG_FN_L", 12)) { 1 1 2
1851 /* N */
1852
1853 #ifdef XN_FLAG_FN_LN
1854 1 return XN_FLAG_FN_LN;
1855 #else
1856 goto not_there;
1857 #endif
1858  
1859 }
1860 1 ▶ if (!memcmp(name, "XN_FLAG_FN_S", 12)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "XN_FLAG_FN_S", 12)) { 1 0 1
1861 /* N */
1862
1863 #ifdef XN_FLAG_FN_SN
1864 1 return XN_FLAG_FN_SN;
1865 #else
1866 goto not_there;
1867 #endif
1868  
1869 }
1870 0 break;
1871 1 case 'R':
1872 1 ▶ if (!memcmp(name, "SSL2_MT_ERRO", 12)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "SSL2_MT_ERRO", 12)) { 1 0 1
1873 /* R */
1874
1875 #ifdef SSL2_MT_ERROR
1876 return SSL2_MT_ERROR;
1877 #else
1878 1 goto not_there;
1879 #endif
1880  
1881 }
1882 0 break;
1883 4 case 'S':
1884 4 ▶ if (!memcmp(name, "ASYNC_NO_JOB", 12)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "ASYNC_NO_JOB", 12)) { 1 3 4
1885 /* S */
1886
1887 #ifdef SSL_ASYNC_NO_JOBS
1888 1 return SSL_ASYNC_NO_JOBS;
1889 #else
1890 goto not_there;
1891 #endif
1892  
1893 }
1894 3 ▶ if (!memcmp(name, "SSLEAY_CFLAG", 12)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "SSLEAY_CFLAG", 12)) { 3 0 3
1895 /* S */
1896
1897 #ifdef SSLEAY_CFLAGS
1898 3 return SSLEAY_CFLAGS;
1899 #else
1900 goto not_there;
1901 #endif
1902  
1903 }
1904 0 break;
1905 3 case 'T':
1906 3 ▶ if (!memcmp(name, "CB_READ_ALER", 12)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "CB_READ_ALER", 12)) { 2 1 3
1907 /* T */
1908
1909 #ifdef SSL_CB_READ_ALERT
1910 2 return SSL_CB_READ_ALERT;
1911 #else
1912 goto not_there;
1913 #endif
1914  
1915 }
1916 1 ▶ if (!memcmp(name, "SSL3_RT_ALER", 12)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "SSL3_RT_ALER", 12)) { 1 0 1
1917 /* T */
1918
1919 #ifdef SSL3_RT_ALERT
1920 1 return SSL3_RT_ALERT;
1921 #else
1922 goto not_there;
1923 #endif
1924  
1925 }
1926 0 break;
1927 1 case 'V':
1928 1 ▶ if (!memcmp(name, "MBSTRING_UNI", 12)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "MBSTRING_UNI", 12)) { 1 0 1
1929 /* V */
1930
1931 #ifdef MBSTRING_UNIV
1932 1 return MBSTRING_UNIV;
1933 #else
1934 goto not_there;
1935 #endif
1936  
1937 }
1938 0 break;
1939 1 case 'b':
1940 1 ▶ if (!memcmp(name, "NID_cast5_ec", 12)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "NID_cast5_ec", 12)) { 1 0 1
1941 /* b */
1942
1943 #ifdef NID_cast5_ecb
1944 1 return NID_cast5_ecb;
1945 #else
1946 goto not_there;
1947 #endif
1948  
1949 }
1950 0 break;
1951 1 case 'c':
1952 1 ▶ if (!memcmp(name, "NID_cast5_cb", 12)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "NID_cast5_cb", 12)) { 1 0 1
1953 /* c */
1954
1955 #ifdef NID_cast5_cbc
1956 1 return NID_cast5_cbc;
1957 #else
1958 goto not_there;
1959 #endif
1960  
1961 }
1962 0 break;
1963 3 case 'e':
1964 3 ▶ if (!memcmp(name, "NID_givenNam", 12)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "NID_givenNam", 12)) { 1 2 3
1965 /* e */
1966
1967 #ifdef NID_givenName
1968 1 return NID_givenName;
1969 #else
1970 goto not_there;
1971 #endif
1972  
1973 }
1974 2 ▶ if (!memcmp(name, "NID_key_usag", 12)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "NID_key_usag", 12)) { 2 0 2
1975 /* e */
1976
1977 #ifdef NID_key_usage
1978 2 return NID_key_usage;
1979 #else
1980 goto not_there;
1981 #endif
1982  
1983 }
1984 0 break;
1985 1 case 'g':
1986 1 ▶ if (!memcmp(name, "NID_secretBa", 12)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "NID_secretBa", 12)) { 1 0 1
1987 /* g */
1988
1989 #ifdef NID_secretBag
1990 1 return NID_secretBag;
1991 #else
1992 goto not_there;
1993 #endif
1994  
1995 }
1996 0 break;
1997 13 case 'l':
1998 13 ▶ if (!memcmp(name, "NID_delta_cr", 12)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "NID_delta_cr", 12)) { 1 12 13
1999 /* l */
2000
2001 #ifdef NID_delta_crl
2002 1 return NID_delta_crl;
2003 #else
2004 goto not_there;
2005 #endif
2006  
2007 }
2008 12 break;
2009 1 case 'm':
2010 1 ▶ if (!memcmp(name, "NID_algorith", 12)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "NID_algorith", 12)) { 1 0 1
2011 /* m */
2012
2013 #ifdef NID_algorithm
2014 1 return NID_algorithm;
2015 #else
2016 goto not_there;
2017 #endif
2018  
2019 }
2020 0 break;
2021 2 case 'n':
2022 2 ▶ if (!memcmp(name, "NID_OCSP_sig", 12)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "NID_OCSP_sig", 12)) { 1 1 2
2023 /* n */
2024
2025 #ifdef NID_OCSP_sign
2026 1 return NID_OCSP_sign;
2027 #else
2028 goto not_there;
2029 #endif
2030  
2031 }
2032 1 ▶ if (!memcmp(name, "NID_code_sig", 12)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "NID_code_sig", 12)) { 1 0 1
2033 /* n */
2034
2035 #ifdef NID_code_sign
2036 1 return NID_code_sign;
2037 #else
2038 goto not_there;
2039 #endif
2040  
2041 }
2042 0 break;
2043 1 case 's':
2044 1 ▶ if (!memcmp(name, "NID_id_qt_cp", 12)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "NID_id_qt_cp", 12)) { 1 0 1
2045 /* s */
2046
2047 #ifdef NID_id_qt_cps
2048 1 return NID_id_qt_cps;
2049 #else
2050 goto not_there;
2051 #endif
2052  
2053 }
2054 0 break;
2055 }
2056 12 break;
2057 79 case 14:
2058 /* Names all of length 14. */
2059 /* CB_ACCEPT_EXIT CB_ACCEPT_LOOP CB_WRITE_ALERT F_CLIENT_HELLO
2060 F_SERVER_HELLO F_SSL_CERT_NEW NID_commonName NID_crl_number
2061 NID_crl_reason NID_dsaWithSHA NID_idea_cfb64 NID_idea_ofb64
2062 NID_localKeyID NID_md5WithRSA NID_ms_ext_req NID_pkcs7_data
2063 NID_rc2_40_cbc NID_rc2_64_cbc NID_sha512_224 NID_sha512_256
2064 NID_time_stamp OPENSSL_CFLAGS OP_ENABLE_KTLS OP_NO_SSL_MASK
2065 R_BAD_CHECKSUM R_NO_PUBLICKEY R_NULL_SSL_CTX SESS_CACHE_OFF
2066 SSL3_RT_HEADER SSLEAY_VERSION ST_READ_HEADER TLS1_1_VERSION
2067 TLS1_2_VERSION TLS1_3_VERSION X509_TRUST_TSA X509_VERSION_1
2068 X509_VERSION_2 X509_VERSION_3 XN_FLAG_COMPAT XN_FLAG_DN_REV
2069 XN_FLAG_FN_OID XN_FLAG_SPC_EQ */
2070 /* Offset 13 gives the best switch position. */
2071 79 switch (name[13]) {
2072 1 case '1':
2073 1 ▶ if (!memcmp(name, "X509_VERSION_", 13)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "X509_VERSION_", 13)) { 1 0 1
2074 /* 1 */
2075
2076 #ifdef X509_VERSION_1
2077 1 return X509_VERSION_1;
2078 #else
2079 goto not_there;
2080 #endif
2081  
2082 }
2083 0 break;
2084 1 case '2':
2085 1 ▶ if (!memcmp(name, "X509_VERSION_", 13)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "X509_VERSION_", 13)) { 1 0 1
2086 /* 2 */
2087
2088 #ifdef X509_VERSION_2
2089 1 return X509_VERSION_2;
2090 #else
2091 goto not_there;
2092 #endif
2093  
2094 }
2095 0 break;
2096 1 case '3':
2097 1 ▶ if (!memcmp(name, "X509_VERSION_", 13)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "X509_VERSION_", 13)) { 1 0 1
2098 /* 3 */
2099
2100 #ifdef X509_VERSION_3
2101 1 return X509_VERSION_3;
2102 #else
2103 goto not_there;
2104 #endif
2105  
2106 }
2107 0 break;
2108 3 case '4':
2109 3 ▶ if (!memcmp(name, "NID_idea_cfb6", 13)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "NID_idea_cfb6", 13)) { 1 2 3
2110 /* 4 */
2111
2112 #ifdef NID_idea_cfb64
2113 1 return NID_idea_cfb64;
2114 #else
2115 goto not_there;
2116 #endif
2117  
2118 }
2119 2 ▶ if (!memcmp(name, "NID_idea_ofb6", 13)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "NID_idea_ofb6", 13)) { 1 1 2
2120 /* 4 */
2121
2122 #ifdef NID_idea_ofb64
2123 1 return NID_idea_ofb64;
2124 #else
2125 goto not_there;
2126 #endif
2127  
2128 }
2129 1 ▶ if (!memcmp(name, "NID_sha512_22", 13)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "NID_sha512_22", 13)) { 1 0 1
2130 /* 4 */
2131
2132 #ifdef NID_sha512_224
2133 1 return NID_sha512_224;
2134 #else
2135 goto not_there;
2136 #endif
2137  
2138 }
2139 0 break;
2140 1 case '6':
2141 1 ▶ if (!memcmp(name, "NID_sha512_25", 13)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "NID_sha512_25", 13)) { 1 0 1
2142 /* 6 */
2143
2144 #ifdef NID_sha512_256
2145 1 return NID_sha512_256;
2146 #else
2147 goto not_there;
2148 #endif
2149  
2150 }
2151 0 break;
2152 3 case 'A':
2153 3 ▶ if (!memcmp(name, "NID_dsaWithSH", 13)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "NID_dsaWithSH", 13)) { 1 2 3
2154 /* A */
2155
2156 #ifdef NID_dsaWithSHA
2157 1 return NID_dsaWithSHA;
2158 #else
2159 goto not_there;
2160 #endif
2161  
2162 }
2163 2 ▶ if (!memcmp(name, "NID_md5WithRS", 13)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "NID_md5WithRS", 13)) { 1 1 2
2164 /* A */
2165
2166 #ifdef NID_md5WithRSA
2167 1 return NID_md5WithRSA;
2168 #else
2169 goto not_there;
2170 #endif
2171  
2172 }
2173 1 ▶ if (!memcmp(name, "X509_TRUST_TS", 13)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "X509_TRUST_TS", 13)) { 1 0 1
2174 /* A */
2175
2176 #ifdef X509_TRUST_TSA
2177 1 return X509_TRUST_TSA;
2178 #else
2179 goto not_there;
2180 #endif
2181  
2182 }
2183 0 break;
2184 2 case 'D':
2185 2 ▶ if (!memcmp(name, "NID_localKeyI", 13)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "NID_localKeyI", 13)) { 1 1 2
2186 /* D */
2187
2188 #ifdef NID_localKeyID
2189 1 return NID_localKeyID;
2190 #else
2191 goto not_there;
2192 #endif
2193  
2194 }
2195 1 ▶ if (!memcmp(name, "XN_FLAG_FN_OI", 13)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "XN_FLAG_FN_OI", 13)) { 1 0 1
2196 /* D */
2197
2198 #ifdef XN_FLAG_FN_OID
2199 1 return XN_FLAG_FN_OID;
2200 #else
2201 goto not_there;
2202 #endif
2203  
2204 }
2205 0 break;
2206 1 case 'F':
2207 1 ▶ if (!memcmp(name, "SESS_CACHE_OF", 13)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "SESS_CACHE_OF", 13)) { 1 0 1
2208 /* F */
2209
2210 #ifdef SSL_SESS_CACHE_OFF
2211 1 return SSL_SESS_CACHE_OFF;
2212 #else
2213 goto not_there;
2214 #endif
2215  
2216 }
2217 0 break;
2218 1 case 'K':
2219 1 ▶ if (!memcmp(name, "OP_NO_SSL_MAS", 13)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "OP_NO_SSL_MAS", 13)) { 1 0 1
2220 /* K */
2221
2222 #ifdef SSL_OP_NO_SSL_MASK
2223 1 return SSL_OP_NO_SSL_MASK;
2224 #else
2225 goto not_there;
2226 #endif
2227  
2228 }
2229 0 break;
2230 1 case 'M':
2231 1 ▶ if (!memcmp(name, "R_BAD_CHECKSU", 13)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "R_BAD_CHECKSU", 13)) { 1 0 1
2232 /* M */
2233
2234 #ifdef SSL_R_BAD_CHECKSUM
2235 return SSL_R_BAD_CHECKSUM;
2236 #else
2237 1 goto not_there;
2238 #endif
2239  
2240 }
2241 0 break;
2242 35 case 'N':
2243 35 ▶ if (!memcmp(name, "SSLEAY_VERSIO", 13)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "SSLEAY_VERSIO", 13)) { 4 31 35
2244 /* N */
2245
2246 #ifdef SSLEAY_VERSION
2247 4 return SSLEAY_VERSION;
2248 #else
2249 goto not_there;
2250 #endif
2251  
2252 }
2253 31 ▶ if (!memcmp(name, "TLS1_1_VERSIO", 13)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "TLS1_1_VERSIO", 13)) { 2 29 31
2254 /* N */
2255
2256 #ifdef TLS1_1_VERSION
2257 2 return TLS1_1_VERSION;
2258 #else
2259 goto not_there;
2260 #endif
2261  
2262 }
2263 29 ▶ if (!memcmp(name, "TLS1_2_VERSIO", 13)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "TLS1_2_VERSIO", 13)) { 3 26 29
2264 /* N */
2265
2266 #ifdef TLS1_2_VERSION
2267 3 return TLS1_2_VERSION;
2268 #else
2269 goto not_there;
2270 #endif
2271  
2272 }
2273 26 ▶ if (!memcmp(name, "TLS1_3_VERSIO", 13)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "TLS1_3_VERSIO", 13)) { 26 0 26
2274 /* N */
2275
2276 #ifdef TLS1_3_VERSION
2277 26 return TLS1_3_VERSION;
2278 #else
2279 goto not_there;
2280 #endif
2281  
2282 }
2283 0 break;
2284 2 case 'O':
2285 2 ▶ if (!memcmp(name, "F_CLIENT_HELL", 13)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "F_CLIENT_HELL", 13)) { 1 1 2
2286 /* O */
2287
2288 #ifdef SSL_F_CLIENT_HELLO
2289 return SSL_F_CLIENT_HELLO;
2290 #else
2291 1 goto not_there;
2292 #endif
2293  
2294 }
2295 1 ▶ if (!memcmp(name, "F_SERVER_HELL", 13)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "F_SERVER_HELL", 13)) { 1 0 1
2296 /* O */
2297
2298 #ifdef SSL_F_SERVER_HELLO
2299 return SSL_F_SERVER_HELLO;
2300 #else
2301 1 goto not_there;
2302 #endif
2303  
2304 }
2305 0 break;
2306 2 case 'P':
2307 2 ▶ if (!memcmp(name, "CB_ACCEPT_LOO", 13)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "CB_ACCEPT_LOO", 13)) { 2 0 2
2308 /* P */
2309
2310 #ifdef SSL_CB_ACCEPT_LOOP
2311 2 return SSL_CB_ACCEPT_LOOP;
2312 #else
2313 goto not_there;
2314 #endif
2315  
2316 }
2317 0 break;
2318 1 case 'Q':
2319 1 ▶ if (!memcmp(name, "XN_FLAG_SPC_E", 13)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "XN_FLAG_SPC_E", 13)) { 1 0 1
2320 /* Q */
2321
2322 #ifdef XN_FLAG_SPC_EQ
2323 1 return XN_FLAG_SPC_EQ;
2324 #else
2325 goto not_there;
2326 #endif
2327  
2328 }
2329 0 break;
2330 2 case 'R':
2331 2 ▶ if (!memcmp(name, "SSL3_RT_HEADE", 13)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "SSL3_RT_HEADE", 13)) { 1 1 2
2332 /* R */
2333
2334 #ifdef SSL3_RT_HEADER
2335 1 return SSL3_RT_HEADER;
2336 #else
2337 goto not_there;
2338 #endif
2339  
2340 }
2341 1 ▶ if (!memcmp(name, "ST_READ_HEADE", 13)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "ST_READ_HEADE", 13)) { 1 0 1
2342 /* R */
2343
2344 #ifdef SSL_ST_READ_HEADER
2345 1 return SSL_ST_READ_HEADER;
2346 #else
2347 goto not_there;
2348 #endif
2349  
2350 }
2351 0 break;
2352 3 case 'S':
2353 3 ▶ if (!memcmp(name, "OPENSSL_CFLAG", 13)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "OPENSSL_CFLAG", 13)) { 2 1 3
2354 /* S */
2355
2356 #ifdef OPENSSL_CFLAGS
2357 2 return OPENSSL_CFLAGS;
2358 #else
2359 goto not_there;
2360 #endif
2361  
2362 }
2363 1 ▶ if (!memcmp(name, "OP_ENABLE_KTL", 13)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "OP_ENABLE_KTL", 13)) { 1 0 1
2364 /* S */
2365
2366 #ifdef SSL_OP_ENABLE_KTLS
2367 1 return SSL_OP_ENABLE_KTLS;
2368 #else
2369 goto not_there;
2370 #endif
2371  
2372 }
2373 0 break;
2374 5 case 'T':
2375 5 ▶ if (!memcmp(name, "CB_ACCEPT_EXI", 13)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "CB_ACCEPT_EXI", 13)) { 2 3 5
2376 /* T */
2377
2378 #ifdef SSL_CB_ACCEPT_EXIT
2379 2 return SSL_CB_ACCEPT_EXIT;
2380 #else
2381 goto not_there;
2382 #endif
2383  
2384 }
2385 3 ▶ if (!memcmp(name, "CB_WRITE_ALER", 13)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "CB_WRITE_ALER", 13)) { 2 1 3
2386 /* T */
2387
2388 #ifdef SSL_CB_WRITE_ALERT
2389 2 return SSL_CB_WRITE_ALERT;
2390 #else
2391 goto not_there;
2392 #endif
2393  
2394 }
2395 1 ▶ if (!memcmp(name, "XN_FLAG_COMPA", 13)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "XN_FLAG_COMPA", 13)) { 1 0 1
2396 /* T */
2397
2398 #ifdef XN_FLAG_COMPAT
2399 1 return XN_FLAG_COMPAT;
2400 #else
2401 goto not_there;
2402 #endif
2403  
2404 }
2405 0 break;
2406 1 case 'V':
2407 1 ▶ if (!memcmp(name, "XN_FLAG_DN_RE", 13)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "XN_FLAG_DN_RE", 13)) { 1 0 1
2408 /* V */
2409
2410 #ifdef XN_FLAG_DN_REV
2411 1 return XN_FLAG_DN_REV;
2412 #else
2413 goto not_there;
2414 #endif
2415  
2416 }
2417 0 break;
2418 1 case 'W':
2419 1 ▶ if (!memcmp(name, "F_SSL_CERT_NE", 13)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "F_SSL_CERT_NE", 13)) { 1 0 1
2420 /* W */
2421
2422 #ifdef SSL_F_SSL_CERT_NEW
2423 1 return SSL_F_SSL_CERT_NEW;
2424 #else
2425 goto not_there;
2426 #endif
2427  
2428 }
2429 0 break;
2430 1 case 'X':
2431 1 ▶ if (!memcmp(name, "R_NULL_SSL_CT", 13)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "R_NULL_SSL_CT", 13)) { 1 0 1
2432 /* X */
2433
2434 #ifdef SSL_R_NULL_SSL_CTX
2435 1 return SSL_R_NULL_SSL_CTX;
2436 #else
2437 goto not_there;
2438 #endif
2439  
2440 }
2441 0 break;
2442 1 case 'Y':
2443 1 ▶ if (!memcmp(name, "R_NO_PUBLICKE", 13)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "R_NO_PUBLICKE", 13)) { 1 0 1
2444 /* Y */
2445
2446 #ifdef SSL_R_NO_PUBLICKEY
2447 return SSL_R_NO_PUBLICKEY;
2448 #else
2449 1 goto not_there;
2450 #endif
2451  
2452 }
2453 0 break;
2454 1 case 'a':
2455 1 ▶ if (!memcmp(name, "NID_pkcs7_dat", 13)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "NID_pkcs7_dat", 13)) { 1 0 1
2456 /* a */
2457
2458 #ifdef NID_pkcs7_data
2459 1 return NID_pkcs7_data;
2460 #else
2461 goto not_there;
2462 #endif
2463  
2464 }
2465 0 break;
2466 2 case 'c':
2467 2 ▶ if (!memcmp(name, "NID_rc2_40_cb", 13)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "NID_rc2_40_cb", 13)) { 1 1 2
2468 /* c */
2469
2470 #ifdef NID_rc2_40_cbc
2471 1 return NID_rc2_40_cbc;
2472 #else
2473 goto not_there;
2474 #endif
2475  
2476 }
2477 1 ▶ if (!memcmp(name, "NID_rc2_64_cb", 13)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "NID_rc2_64_cb", 13)) { 1 0 1
2478 /* c */
2479
2480 #ifdef NID_rc2_64_cbc
2481 1 return NID_rc2_64_cbc;
2482 #else
2483 goto not_there;
2484 #endif
2485  
2486 }
2487 0 break;
2488 3 case 'e':
2489 3 ▶ if (!memcmp(name, "NID_commonNam", 13)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "NID_commonNam", 13)) { 3 0 3
2490 /* e */
2491
2492 #ifdef NID_commonName
2493 3 return NID_commonName;
2494 #else
2495 goto not_there;
2496 #endif
2497  
2498 }
2499 0 break;
2500 1 case 'n':
2501 1 ▶ if (!memcmp(name, "NID_crl_reaso", 13)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "NID_crl_reaso", 13)) { 1 0 1
2502 /* n */
2503
2504 #ifdef NID_crl_reason
2505 1 return NID_crl_reason;
2506 #else
2507 goto not_there;
2508 #endif
2509  
2510 }
2511 0 break;
2512 1 case 'p':
2513 1 ▶ if (!memcmp(name, "NID_time_stam", 13)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "NID_time_stam", 13)) { 1 0 1
2514 /* p */
2515
2516 #ifdef NID_time_stamp
2517 1 return NID_time_stamp;
2518 #else
2519 goto not_there;
2520 #endif
2521  
2522 }
2523 0 break;
2524 1 case 'q':
2525 1 ▶ if (!memcmp(name, "NID_ms_ext_re", 13)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "NID_ms_ext_re", 13)) { 1 0 1
2526 /* q */
2527
2528 #ifdef NID_ms_ext_req
2529 1 return NID_ms_ext_req;
2530 #else
2531 goto not_there;
2532 #endif
2533  
2534 }
2535 0 break;
2536 1 case 'r':
2537 1 ▶ if (!memcmp(name, "NID_crl_numbe", 13)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "NID_crl_numbe", 13)) { 1 0 1
2538 /* r */
2539
2540 #ifdef NID_crl_number
2541 1 return NID_crl_number;
2542 #else
2543 goto not_there;
2544 #endif
2545  
2546 }
2547 0 break;
2548 }
2549 0 break;
2550 105 case 15:
2551 /* Names all of length 15. */
2552 /* AD_CLOSE_NOTIFY AD_DECODE_ERROR CB_CONNECT_EXIT CB_CONNECT_LOOP
2553 CLIENT_HELLO_CB ERROR_WANT_READ F_WRITE_PENDING MODE_AUTO_RETRY
2554 NID_cast5_cfb64 NID_cast5_ofb64 NID_client_auth NID_countryName
2555 NID_des_ede_cbc NID_description NID_dnQualifier NID_dsaWithSHA1
2556 NID_info_access NID_mdc2WithRSA NID_ms_code_com NID_ms_code_ind
2557 NID_ms_ctl_sign NID_server_auth NID_sha1WithRSA OPENSSL_VERSION
2558 OP_NO_QUERY_MTU R_NO_PRIVATEKEY R_UNKNOWN_STATE SESS_CACHE_BOTH
2559 SSLEAY_BUILT_ON SSLEAY_PLATFORM TLSEXT_TYPE_psk TLSEXT_TYPE_srp
2560 XN_FLAG_FN_MASK XN_FLAG_FN_NONE XN_FLAG_ONELINE XN_FLAG_RFC2253 */
2561 /* Offset 14 gives the best switch position. */
2562 105 switch (name[14]) {
2563 1 case '1':
2564 1 ▶ if (!memcmp(name, "NID_dsaWithSHA", 14)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "NID_dsaWithSHA", 14)) { 1 0 1
2565 /* 1 */
2566
2567 #ifdef NID_dsaWithSHA1
2568 1 return NID_dsaWithSHA1;
2569 #else
2570 goto not_there;
2571 #endif
2572  
2573 }
2574 0 break;
2575 1 case '3':
2576 1 ▶ if (!memcmp(name, "XN_FLAG_RFC225", 14)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "XN_FLAG_RFC225", 14)) { 1 0 1
2577 /* 3 */
2578
2579 #ifdef XN_FLAG_RFC2253
2580 1 return XN_FLAG_RFC2253;
2581 #else
2582 goto not_there;
2583 #endif
2584  
2585 }
2586 0 break;
2587 2 case '4':
2588 2 ▶ if (!memcmp(name, "NID_cast5_cfb6", 14)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "NID_cast5_cfb6", 14)) { 1 1 2
2589 /* 4 */
2590
2591 #ifdef NID_cast5_cfb64
2592 1 return NID_cast5_cfb64;
2593 #else
2594 goto not_there;
2595 #endif
2596  
2597 }
2598 1 ▶ if (!memcmp(name, "NID_cast5_ofb6", 14)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "NID_cast5_ofb6", 14)) { 1 0 1
2599 /* 4 */
2600
2601 #ifdef NID_cast5_ofb64
2602 1 return NID_cast5_ofb64;
2603 #else
2604 goto not_there;
2605 #endif
2606  
2607 }
2608 0 break;
2609 2 case 'A':
2610 2 ▶ if (!memcmp(name, "NID_mdc2WithRS", 14)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "NID_mdc2WithRS", 14)) { 1 1 2
2611 /* A */
2612
2613 #ifdef NID_mdc2WithRSA
2614 1 return NID_mdc2WithRSA;
2615 #else
2616 goto not_there;
2617 #endif
2618  
2619 }
2620 1 ▶ if (!memcmp(name, "NID_sha1WithRS", 14)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "NID_sha1WithRS", 14)) { 1 0 1
2621 /* A */
2622
2623 #ifdef NID_sha1WithRSA
2624 1 return NID_sha1WithRSA;
2625 #else
2626 goto not_there;
2627 #endif
2628  
2629 }
2630 0 break;
2631 1 case 'B':
2632 1 ▶ if (!memcmp(name, "CLIENT_HELLO_C", 14)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "CLIENT_HELLO_C", 14)) { 1 0 1
2633 /* B */
2634
2635 #ifdef SSL_CLIENT_HELLO_CB
2636 1 return SSL_CLIENT_HELLO_CB;
2637 #else
2638 goto not_there;
2639 #endif
2640  
2641 }
2642 0 break;
2643 10 case 'D':
2644 10 ▶ if (!memcmp(name, "ERROR_WANT_REA", 14)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "ERROR_WANT_REA", 14)) { 10 0 10
2645 /* D */
2646
2647 #ifdef SSL_ERROR_WANT_READ
2648 10 return SSL_ERROR_WANT_READ;
2649 #else
2650 goto not_there;
2651 #endif
2652  
2653 }
2654 0 break;
2655 3 case 'E':
2656 3 ▶ if (!memcmp(name, "R_UNKNOWN_STAT", 14)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "R_UNKNOWN_STAT", 14)) { 1 2 3
2657 /* E */
2658
2659 #ifdef SSL_R_UNKNOWN_STATE
2660 1 return SSL_R_UNKNOWN_STATE;
2661 #else
2662 goto not_there;
2663 #endif
2664  
2665 }
2666 2 ▶ if (!memcmp(name, "XN_FLAG_FN_NON", 14)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "XN_FLAG_FN_NON", 14)) { 1 1 2
2667 /* E */
2668
2669 #ifdef XN_FLAG_FN_NONE
2670 1 return XN_FLAG_FN_NONE;
2671 #else
2672 goto not_there;
2673 #endif
2674  
2675 }
2676 1 ▶ if (!memcmp(name, "XN_FLAG_ONELIN", 14)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "XN_FLAG_ONELIN", 14)) { 1 0 1
2677 /* E */
2678
2679 #ifdef XN_FLAG_ONELINE
2680 1 return XN_FLAG_ONELINE;
2681 #else
2682 goto not_there;
2683 #endif
2684  
2685 }
2686 0 break;
2687 1 case 'G':
2688 1 ▶ if (!memcmp(name, "F_WRITE_PENDIN", 14)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "F_WRITE_PENDIN", 14)) { 1 0 1
2689 /* G */
2690
2691 #ifdef SSL_F_WRITE_PENDING
2692 return SSL_F_WRITE_PENDING;
2693 #else
2694 1 goto not_there;
2695 #endif
2696  
2697 }
2698 0 break;
2699 1 case 'H':
2700 1 ▶ if (!memcmp(name, "SESS_CACHE_BOT", 14)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "SESS_CACHE_BOT", 14)) { 1 0 1
2701 /* H */
2702
2703 #ifdef SSL_SESS_CACHE_BOTH
2704 1 return SSL_SESS_CACHE_BOTH;
2705 #else
2706 goto not_there;
2707 #endif
2708  
2709 }
2710 0 break;
2711 1 case 'K':
2712 1 ▶ if (!memcmp(name, "XN_FLAG_FN_MAS", 14)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "XN_FLAG_FN_MAS", 14)) { 1 0 1
2713 /* K */
2714
2715 #ifdef XN_FLAG_FN_MASK
2716 1 return XN_FLAG_FN_MASK;
2717 #else
2718 goto not_there;
2719 #endif
2720  
2721 }
2722 0 break;
2723 3 case 'M':
2724 3 ▶ if (!memcmp(name, "SSLEAY_PLATFOR", 14)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "SSLEAY_PLATFOR", 14)) { 3 0 3
2725 /* M */
2726
2727 #ifdef SSLEAY_PLATFORM
2728 3 return SSLEAY_PLATFORM;
2729 #else
2730 goto not_there;
2731 #endif
2732  
2733 }
2734 0 break;
2735 5 case 'N':
2736 5 ▶ if (!memcmp(name, "OPENSSL_VERSIO", 14)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "OPENSSL_VERSIO", 14)) { 2 3 5
2737 /* N */
2738
2739 #ifdef OPENSSL_VERSION
2740 2 return OPENSSL_VERSION;
2741 #else
2742 goto not_there;
2743 #endif
2744  
2745 }
2746 3 ▶ if (!memcmp(name, "SSLEAY_BUILT_O", 14)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "SSLEAY_BUILT_O", 14)) { 3 0 3
2747 /* N */
2748
2749 #ifdef SSLEAY_BUILT_ON
2750 3 return SSLEAY_BUILT_ON;
2751 #else
2752 goto not_there;
2753 #endif
2754  
2755 }
2756 0 break;
2757 28 case 'P':
2758 28 ▶ if (!memcmp(name, "CB_CONNECT_LOO", 14)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "CB_CONNECT_LOO", 14)) { 28 0 28
2759 /* P */
2760
2761 #ifdef SSL_CB_CONNECT_LOOP
2762 28 return SSL_CB_CONNECT_LOOP;
2763 #else
2764 goto not_there;
2765 #endif
2766  
2767 }
2768 0 break;
2769 1 case 'R':
2770 1 ▶ if (!memcmp(name, "AD_DECODE_ERRO", 14)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "AD_DECODE_ERRO", 14)) { 1 0 1
2771 /* R */
2772
2773 #ifdef SSL_AD_DECODE_ERROR
2774 1 return SSL_AD_DECODE_ERROR;
2775 #else
2776 goto not_there;
2777 #endif
2778  
2779 }
2780 0 break;
2781 28 case 'T':
2782 28 ▶ if (!memcmp(name, "CB_CONNECT_EXI", 14)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "CB_CONNECT_EXI", 14)) { 28 0 28
2783 /* T */
2784
2785 #ifdef SSL_CB_CONNECT_EXIT
2786 28 return SSL_CB_CONNECT_EXIT;
2787 #else
2788 goto not_there;
2789 #endif
2790  
2791 }
2792 0 break;
2793 1 case 'U':
2794 1 ▶ if (!memcmp(name, "OP_NO_QUERY_MT", 14)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "OP_NO_QUERY_MT", 14)) { 1 0 1
2795 /* U */
2796
2797 #ifdef SSL_OP_NO_QUERY_MTU
2798 1 return SSL_OP_NO_QUERY_MTU;
2799 #else
2800 goto not_there;
2801 #endif
2802  
2803 }
2804 0 break;
2805 3 case 'Y':
2806 3 ▶ if (!memcmp(name, "AD_CLOSE_NOTIF", 14)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "AD_CLOSE_NOTIF", 14)) { 1 2 3
2807 /* Y */
2808
2809 #ifdef SSL_AD_CLOSE_NOTIFY
2810 1 return SSL_AD_CLOSE_NOTIFY;
2811 #else
2812 goto not_there;
2813 #endif
2814  
2815 }
2816 2 ▶ if (!memcmp(name, "MODE_AUTO_RETR", 14)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "MODE_AUTO_RETR", 14)) { 1 1 2
2817 /* Y */
2818
2819 #ifdef SSL_MODE_AUTO_RETRY
2820 1 return SSL_MODE_AUTO_RETRY;
2821 #else
2822 goto not_there;
2823 #endif
2824  
2825 }
2826 1 ▶ if (!memcmp(name, "R_NO_PRIVATEKE", 14)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "R_NO_PRIVATEKE", 14)) { 1 0 1
2827 /* Y */
2828
2829 #ifdef SSL_R_NO_PRIVATEKEY
2830 return SSL_R_NO_PRIVATEKEY;
2831 #else
2832 1 goto not_there;
2833 #endif
2834  
2835 }
2836 0 break;
2837 1 case 'c':
2838 1 ▶ if (!memcmp(name, "NID_des_ede_cb", 14)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "NID_des_ede_cb", 14)) { 1 0 1
2839 /* c */
2840
2841 #ifdef NID_des_ede_cbc
2842 1 return NID_des_ede_cbc;
2843 #else
2844 goto not_there;
2845 #endif
2846  
2847 }
2848 0 break;
2849 1 case 'd':
2850 1 ▶ if (!memcmp(name, "NID_ms_code_in", 14)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "NID_ms_code_in", 14)) { 1 0 1
2851 /* d */
2852
2853 #ifdef NID_ms_code_ind
2854 1 return NID_ms_code_ind;
2855 #else
2856 goto not_there;
2857 #endif
2858  
2859 }
2860 0 break;
2861 2 case 'e':
2862 2 ▶ if (!memcmp(name, "NID_countryNam", 14)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "NID_countryNam", 14)) { 2 0 2
2863 /* e */
2864
2865 #ifdef NID_countryName
2866 2 return NID_countryName;
2867 #else
2868 goto not_there;
2869 #endif
2870  
2871 }
2872 0 break;
2873 2 case 'h':
2874 2 ▶ if (!memcmp(name, "NID_client_aut", 14)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "NID_client_aut", 14)) { 1 1 2
2875 /* h */
2876
2877 #ifdef NID_client_auth
2878 1 return NID_client_auth;
2879 #else
2880 goto not_there;
2881 #endif
2882  
2883 }
2884 1 ▶ if (!memcmp(name, "NID_server_aut", 14)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "NID_server_aut", 14)) { 1 0 1
2885 /* h */
2886
2887 #ifdef NID_server_auth
2888 1 return NID_server_auth;
2889 #else
2890 goto not_there;
2891 #endif
2892  
2893 }
2894 0 break;
2895 1 case 'k':
2896 1 ▶ if (!memcmp(name, "TLSEXT_TYPE_ps", 14)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "TLSEXT_TYPE_ps", 14)) { 1 0 1
2897 /* k */
2898
2899 #ifdef TLSEXT_TYPE_psk
2900 1 return TLSEXT_TYPE_psk;
2901 #else
2902 goto not_there;
2903 #endif
2904  
2905 }
2906 0 break;
2907 1 case 'm':
2908 1 ▶ if (!memcmp(name, "NID_ms_code_co", 14)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "NID_ms_code_co", 14)) { 1 0 1
2909 /* m */
2910
2911 #ifdef NID_ms_code_com
2912 1 return NID_ms_code_com;
2913 #else
2914 goto not_there;
2915 #endif
2916  
2917 }
2918 0 break;
2919 2 case 'n':
2920 2 ▶ if (!memcmp(name, "NID_descriptio", 14)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "NID_descriptio", 14)) { 1 1 2
2921 /* n */
2922
2923 #ifdef NID_description
2924 1 return NID_description;
2925 #else
2926 goto not_there;
2927 #endif
2928  
2929 }
2930 1 ▶ if (!memcmp(name, "NID_ms_ctl_sig", 14)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "NID_ms_ctl_sig", 14)) { 1 0 1
2931 /* n */
2932
2933 #ifdef NID_ms_ctl_sign
2934 1 return NID_ms_ctl_sign;
2935 #else
2936 goto not_there;
2937 #endif
2938  
2939 }
2940 0 break;
2941 1 case 'p':
2942 1 ▶ if (!memcmp(name, "TLSEXT_TYPE_sr", 14)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "TLSEXT_TYPE_sr", 14)) { 1 0 1
2943 /* p */
2944
2945 #ifdef TLSEXT_TYPE_srp
2946 1 return TLSEXT_TYPE_srp;
2947 #else
2948 goto not_there;
2949 #endif
2950  
2951 }
2952 0 break;
2953 1 case 'r':
2954 1 ▶ if (!memcmp(name, "NID_dnQualifie", 14)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "NID_dnQualifie", 14)) { 1 0 1
2955 /* r */
2956
2957 #ifdef NID_dnQualifier
2958 1 return NID_dnQualifier;
2959 #else
2960 goto not_there;
2961 #endif
2962  
2963 }
2964 0 break;
2965 1 case 's':
2966 1 ▶ if (!memcmp(name, "NID_info_acces", 14)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "NID_info_acces", 14)) { 1 0 1
2967 /* s */
2968
2969 #ifdef NID_info_access
2970 1 return NID_info_access;
2971 #else
2972 goto not_there;
2973 #endif
2974  
2975 }
2976 0 break;
2977 }
2978 0 break;
2979 56 case 16:
2980 /* Names all of length 16. */
2981 /* AD_ACCESS_DENIED AD_DECRYPT_ERROR ERROR_WANT_ASYNC ERROR_WANT_WRITE
2982 NID_des_ede3_cbc NID_friendlyName NID_hmacWithSHA1 NID_localityName
2983 NID_pkcs7_digest NID_pkcs7_signed NID_serialNumber OPENSSL_BUILT_ON
2984 OPENSSL_CPU_INFO OPENSSL_PLATFORM OP_EPHEMERAL_RSA OP_PKCS1_CHECK_1
2985 OP_PKCS1_CHECK_2 OP_SINGLE_DH_USE R_BAD_MAC_DECODE R_NO_CIPHER_LIST
2986 SSL3_MT_FINISHED X509_PURPOSE_ANY X509_TRUST_EMAIL XN_FLAG_FN_ALIGN
2987 XN_FLAG_SEP_MASK */
2988 /* Offset 15 gives the best switch position. */
2989 56 switch (name[15]) {
2990 2 case '1':
2991 2 ▶ if (!memcmp(name, "NID_hmacWithSHA", 15)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "NID_hmacWithSHA", 15)) { 1 1 2
2992 /* 1 */
2993
2994 #ifdef NID_hmacWithSHA1
2995 1 return NID_hmacWithSHA1;
2996 #else
2997 goto not_there;
2998 #endif
2999  
3000 }
3001 1 ▶ if (!memcmp(name, "OP_PKCS1_CHECK_", 15)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "OP_PKCS1_CHECK_", 15)) { 1 0 1
3002 /* 1 */
3003
3004 #ifdef SSL_OP_PKCS1_CHECK_1
3005 1 return SSL_OP_PKCS1_CHECK_1;
3006 #else
3007 goto not_there;
3008 #endif
3009  
3010 }
3011 0 break;
3012 1 case '2':
3013 1 ▶ if (!memcmp(name, "OP_PKCS1_CHECK_", 15)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "OP_PKCS1_CHECK_", 15)) { 1 0 1
3014 /* 2 */
3015
3016 #ifdef SSL_OP_PKCS1_CHECK_2
3017 1 return SSL_OP_PKCS1_CHECK_2;
3018 #else
3019 goto not_there;
3020 #endif
3021  
3022 }
3023 0 break;
3024 1 case 'A':
3025 1 ▶ if (!memcmp(name, "OP_EPHEMERAL_RS", 15)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "OP_EPHEMERAL_RS", 15)) { 1 0 1
3026 /* A */
3027
3028 #ifdef SSL_OP_EPHEMERAL_RSA
3029 1 return SSL_OP_EPHEMERAL_RSA;
3030 #else
3031 goto not_there;
3032 #endif
3033  
3034 }
3035 0 break;
3036 1 case 'C':
3037 1 ▶ if (!memcmp(name, "ERROR_WANT_ASYN", 15)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "ERROR_WANT_ASYN", 15)) { 1 0 1
3038 /* C */
3039
3040 #ifdef SSL_ERROR_WANT_ASYNC
3041 1 return SSL_ERROR_WANT_ASYNC;
3042 #else
3043 goto not_there;
3044 #endif
3045  
3046 }
3047 0 break;
3048 2 case 'D':
3049 2 ▶ if (!memcmp(name, "AD_ACCESS_DENIE", 15)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "AD_ACCESS_DENIE", 15)) { 1 1 2
3050 /* D */
3051
3052 #ifdef SSL_AD_ACCESS_DENIED
3053 1 return SSL_AD_ACCESS_DENIED;
3054 #else
3055 goto not_there;
3056 #endif
3057  
3058 }
3059 1 ▶ if (!memcmp(name, "SSL3_MT_FINISHE", 15)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "SSL3_MT_FINISHE", 15)) { 1 0 1
3060 /* D */
3061
3062 #ifdef SSL3_MT_FINISHED
3063 1 return SSL3_MT_FINISHED;
3064 #else
3065 goto not_there;
3066 #endif
3067  
3068 }
3069 0 break;
3070 10 case 'E':
3071 10 ▶ if (!memcmp(name, "ERROR_WANT_WRIT", 15)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "ERROR_WANT_WRIT", 15)) { 8 2 10
3072 /* E */
3073
3074 #ifdef SSL_ERROR_WANT_WRITE
3075 8 return SSL_ERROR_WANT_WRITE;
3076 #else
3077 goto not_there;
3078 #endif
3079  
3080 }
3081 2 ▶ if (!memcmp(name, "OP_SINGLE_DH_US", 15)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "OP_SINGLE_DH_US", 15)) { 1 1 2
3082 /* E */
3083
3084 #ifdef SSL_OP_SINGLE_DH_USE
3085 1 return SSL_OP_SINGLE_DH_USE;
3086 #else
3087 goto not_there;
3088 #endif
3089  
3090 }
3091 1 ▶ if (!memcmp(name, "R_BAD_MAC_DECOD", 15)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "R_BAD_MAC_DECOD", 15)) { 1 0 1
3092 /* E */
3093
3094 #ifdef SSL_R_BAD_MAC_DECODE
3095 return SSL_R_BAD_MAC_DECODE;
3096 #else
3097 1 goto not_there;
3098 #endif
3099  
3100 }
3101 0 break;
3102 1 case 'K':
3103 1 ▶ if (!memcmp(name, "XN_FLAG_SEP_MAS", 15)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "XN_FLAG_SEP_MAS", 15)) { 1 0 1
3104 /* K */
3105
3106 #ifdef XN_FLAG_SEP_MASK
3107 1 return XN_FLAG_SEP_MASK;
3108 #else
3109 goto not_there;
3110 #endif
3111  
3112 }
3113 0 break;
3114 3 case 'L':
3115 3 ▶ if (!memcmp(name, "X509_TRUST_EMAI", 15)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "X509_TRUST_EMAI", 15)) { 3 0 3
3116 /* L */
3117
3118 #ifdef X509_TRUST_EMAIL
3119 3 return X509_TRUST_EMAIL;
3120 #else
3121 goto not_there;
3122 #endif
3123  
3124 }
3125 0 break;
3126 2 case 'M':
3127 2 ▶ if (!memcmp(name, "OPENSSL_PLATFOR", 15)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "OPENSSL_PLATFOR", 15)) { 2 0 2
3128 /* M */
3129
3130 #ifdef OPENSSL_PLATFORM
3131 2 return OPENSSL_PLATFORM;
3132 #else
3133 goto not_there;
3134 #endif
3135  
3136 }
3137 0 break;
3138 3 case 'N':
3139 3 ▶ if (!memcmp(name, "OPENSSL_BUILT_O", 15)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "OPENSSL_BUILT_O", 15)) { 2 1 3
3140 /* N */
3141
3142 #ifdef OPENSSL_BUILT_ON
3143 2 return OPENSSL_BUILT_ON;
3144 #else
3145 goto not_there;
3146 #endif
3147  
3148 }
3149 1 ▶ if (!memcmp(name, "XN_FLAG_FN_ALIG", 15)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "XN_FLAG_FN_ALIG", 15)) { 1 0 1
3150 /* N */
3151
3152 #ifdef XN_FLAG_FN_ALIGN
3153 1 return XN_FLAG_FN_ALIGN;
3154 #else
3155 goto not_there;
3156 #endif
3157  
3158 }
3159 0 break;
3160 2 case 'O':
3161 2 ▶ if (!memcmp(name, "OPENSSL_CPU_INF", 15)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "OPENSSL_CPU_INF", 15)) { 2 0 2
3162 /* O */
3163
3164 #ifdef OPENSSL_CPU_INFO
3165 2 return OPENSSL_CPU_INFO;
3166 #else
3167 goto not_there;
3168 #endif
3169  
3170 }
3171 0 break;
3172 1 case 'R':
3173 1 ▶ if (!memcmp(name, "AD_DECRYPT_ERRO", 15)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "AD_DECRYPT_ERRO", 15)) { 1 0 1
3174 /* R */
3175
3176 #ifdef SSL_AD_DECRYPT_ERROR
3177 1 return SSL_AD_DECRYPT_ERROR;
3178 #else
3179 goto not_there;
3180 #endif
3181  
3182 }
3183 0 break;
3184 1 case 'T':
3185 1 ▶ if (!memcmp(name, "R_NO_CIPHER_LIS", 15)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "R_NO_CIPHER_LIS", 15)) { 1 0 1
3186 /* T */
3187
3188 #ifdef SSL_R_NO_CIPHER_LIST
3189 return SSL_R_NO_CIPHER_LIST;
3190 #else
3191 1 goto not_there;
3192 #endif
3193  
3194 }
3195 0 break;
3196 1 case 'Y':
3197 1 ▶ if (!memcmp(name, "X509_PURPOSE_AN", 15)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "X509_PURPOSE_AN", 15)) { 1 0 1
3198 /* Y */
3199
3200 #ifdef X509_PURPOSE_ANY
3201 1 return X509_PURPOSE_ANY;
3202 #else
3203 goto not_there;
3204 #endif
3205  
3206 }
3207 0 break;
3208 1 case 'c':
3209 1 ▶ if (!memcmp(name, "NID_des_ede3_cb", 15)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "NID_des_ede3_cb", 15)) { 1 0 1
3210 /* c */
3211
3212 #ifdef NID_des_ede3_cbc
3213 1 return NID_des_ede3_cbc;
3214 #else
3215 goto not_there;
3216 #endif
3217  
3218 }
3219 0 break;
3220 1 case 'd':
3221 1 ▶ if (!memcmp(name, "NID_pkcs7_signe", 15)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "NID_pkcs7_signe", 15)) { 1 0 1
3222 /* d */
3223
3224 #ifdef NID_pkcs7_signed
3225 1 return NID_pkcs7_signed;
3226 #else
3227 goto not_there;
3228 #endif
3229  
3230 }
3231 0 break;
3232 2 case 'e':
3233 2 ▶ if (!memcmp(name, "NID_friendlyNam", 15)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "NID_friendlyNam", 15)) { 1 1 2
3234 /* e */
3235
3236 #ifdef NID_friendlyName
3237 1 return NID_friendlyName;
3238 #else
3239 goto not_there;
3240 #endif
3241  
3242 }
3243 1 ▶ if (!memcmp(name, "NID_localityNam", 15)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "NID_localityNam", 15)) { 1 0 1
3244 /* e */
3245
3246 #ifdef NID_localityName
3247 1 return NID_localityName;
3248 #else
3249 goto not_there;
3250 #endif
3251  
3252 }
3253 0 break;
3254 1 case 'r':
3255 1 ▶ if (!memcmp(name, "NID_serialNumbe", 15)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "NID_serialNumbe", 15)) { 1 0 1
3256 /* r */
3257
3258 #ifdef NID_serialNumber
3259 1 return NID_serialNumber;
3260 #else
3261 goto not_there;
3262 #endif
3263  
3264 }
3265 0 break;
3266 1 case 't':
3267 1 ▶ if (!memcmp(name, "NID_pkcs7_diges", 15)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "NID_pkcs7_diges", 15)) { 1 0 1
3268 /* t */
3269
3270 #ifdef NID_pkcs7_digest
3271 1 return NID_pkcs7_digest;
3272 #else
3273 goto not_there;
3274 #endif
3275  
3276 }
3277 0 break;
3278 }
3279 19 break;
3280 41 case 17:
3281 /* Names all of length 17. */
3282 /* AD_BAD_RECORD_MAC AD_INTERNAL_ERROR AD_NO_CERTIFICATE AD_USER_CANCELLED
3283 CB_HANDSHAKE_DONE ERROR_WANT_ACCEPT ERROR_ZERO_RETURN F_D2I_SSL_SESSION
3284 F_I2D_SSL_SESSION F_SSL_SESSION_NEW NID_ad_ca_issuers NID_des_ede_cfb64
3285 NID_des_ede_ofb64 NID_dsaWithSHA1_2 NID_email_protect NID_ext_key_usage
3286 NID_id_qt_unotice NID_rsaEncryption OP_NO_ANTI_REPLAY OP_NO_COMPRESSION
3287 OP_TLSEXT_PADDING RECEIVED_SHUTDOWN R_BAD_WRITE_RETRY R_NO_CIPHER_MATCH
3288 SESS_CACHE_CLIENT SESS_CACHE_SERVER SSL3_RT_HANDSHAKE X509_FILETYPE_PEM
3289 X509_TRUST_COMPAT XN_FLAG_MULTILINE */
3290 /* Offset 8 gives the best switch position. */
3291 41 switch (name[8]) {
3292 1 case 'C':
3293 1 ▶ if (!memcmp(name, "AD_USER_CANCELLED", 17)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "AD_USER_CANCELLED", 17)) { 1 0 1
3294 /* ^ */
3295
3296 #ifdef SSL_AD_USER_CANCELLED
3297 1 return SSL_AD_USER_CANCELLED;
3298 #else
3299 goto not_there;
3300 #endif
3301  
3302 }
3303 0 break;
3304 2 case 'E':
3305 2 ▶ if (!memcmp(name, "AD_BAD_RECORD_MAC", 17)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "AD_BAD_RECORD_MAC", 17)) { 1 1 2
3306 /* ^ */
3307
3308 #ifdef SSL_AD_BAD_RECORD_MAC
3309 1 return SSL_AD_BAD_RECORD_MAC;
3310 #else
3311 goto not_there;
3312 #endif
3313  
3314 }
3315 1 ▶ if (!memcmp(name, "X509_FILETYPE_PEM", 17)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "X509_FILETYPE_PEM", 17)) { 1 0 1
3316 /* ^ */
3317
3318 #ifdef X509_FILETYPE_PEM
3319 1 return X509_FILETYPE_PEM;
3320 #else
3321 goto not_there;
3322 #endif
3323  
3324 }
3325 0 break;
3326 8 case 'H':
3327 8 ▶ if (!memcmp(name, "CB_HANDSHAKE_DONE", 17)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "CB_HANDSHAKE_DONE", 17)) { 2 6 8
3328 /* ^ */
3329
3330 #ifdef SSL_CB_HANDSHAKE_DONE
3331 2 return SSL_CB_HANDSHAKE_DONE;
3332 #else
3333 goto not_there;
3334 #endif
3335  
3336 }
3337 6 ▶ if (!memcmp(name, "R_NO_CIPHER_MATCH", 17)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "R_NO_CIPHER_MATCH", 17)) { 1 5 6
3338 /* ^ */
3339
3340 #ifdef SSL_R_NO_CIPHER_MATCH
3341 1 return SSL_R_NO_CIPHER_MATCH;
3342 #else
3343 goto not_there;
3344 #endif
3345  
3346 }
3347 5 ▶ if (!memcmp(name, "SESS_CACHE_CLIENT", 17)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "SESS_CACHE_CLIENT", 17)) { 2 3 5
3348 /* ^ */
3349
3350 #ifdef SSL_SESS_CACHE_CLIENT
3351 2 return SSL_SESS_CACHE_CLIENT;
3352 #else
3353 goto not_there;
3354 #endif
3355  
3356 }
3357 3 ▶ if (!memcmp(name, "SESS_CACHE_SERVER", 17)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "SESS_CACHE_SERVER", 17)) { 2 1 3
3358 /* ^ */
3359
3360 #ifdef SSL_SESS_CACHE_SERVER
3361 2 return SSL_SESS_CACHE_SERVER;
3362 #else
3363 goto not_there;
3364 #endif
3365  
3366 }
3367 1 ▶ if (!memcmp(name, "SSL3_RT_HANDSHAKE", 17)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "SSL3_RT_HANDSHAKE", 17)) { 1 0 1
3368 /* ^ */
3369
3370 #ifdef SSL3_RT_HANDSHAKE
3371 1 return SSL3_RT_HANDSHAKE;
3372 #else
3373 goto not_there;
3374 #endif
3375  
3376 }
3377 0 break;
3378 1 case 'I':
3379 1 ▶ if (!memcmp(name, "R_BAD_WRITE_RETRY", 17)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "R_BAD_WRITE_RETRY", 17)) { 1 0 1
3380 /* ^ */
3381
3382 #ifdef SSL_R_BAD_WRITE_RETRY
3383 1 return SSL_R_BAD_WRITE_RETRY;
3384 #else
3385 goto not_there;
3386 #endif
3387  
3388 }
3389 0 break;
3390 2 case 'L':
3391 2 ▶ if (!memcmp(name, "F_D2I_SSL_SESSION", 17)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "F_D2I_SSL_SESSION", 17)) { 1 1 2
3392 /* ^ */
3393
3394 #ifdef SSL_F_D2I_SSL_SESSION
3395 1 return SSL_F_D2I_SSL_SESSION;
3396 #else
3397 goto not_there;
3398 #endif
3399  
3400 }
3401 1 ▶ if (!memcmp(name, "F_I2D_SSL_SESSION", 17)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "F_I2D_SSL_SESSION", 17)) { 1 0 1
3402 /* ^ */
3403
3404 #ifdef SSL_F_I2D_SSL_SESSION
3405 return SSL_F_I2D_SSL_SESSION;
3406 #else
3407 1 goto not_there;
3408 #endif
3409  
3410 }
3411 0 break;
3412 3 case 'M':
3413 3 ▶ if (!memcmp(name, "OP_NO_COMPRESSION", 17)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "OP_NO_COMPRESSION", 17)) { 2 1 3
3414 /* ^ */
3415
3416 #ifdef SSL_OP_NO_COMPRESSION
3417 2 return SSL_OP_NO_COMPRESSION;
3418 #else
3419 goto not_there;
3420 #endif
3421  
3422 }
3423 1 ▶ if (!memcmp(name, "XN_FLAG_MULTILINE", 17)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "XN_FLAG_MULTILINE", 17)) { 1 0 1
3424 /* ^ */
3425
3426 #ifdef XN_FLAG_MULTILINE
3427 1 return XN_FLAG_MULTILINE;
3428 #else
3429 goto not_there;
3430 #endif
3431  
3432 }
3433 0 break;
3434 4 case 'N':
3435 4 ▶ if (!memcmp(name, "AD_INTERNAL_ERROR", 17)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "AD_INTERNAL_ERROR", 17)) { 1 3 4
3436 /* ^ */
3437
3438 #ifdef SSL_AD_INTERNAL_ERROR
3439 1 return SSL_AD_INTERNAL_ERROR;
3440 #else
3441 goto not_there;
3442 #endif
3443  
3444 }
3445 3 ▶ if (!memcmp(name, "ERROR_WANT_ACCEPT", 17)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "ERROR_WANT_ACCEPT", 17)) { 3 0 3
3446 /* ^ */
3447
3448 #ifdef SSL_ERROR_WANT_ACCEPT
3449 3 return SSL_ERROR_WANT_ACCEPT;
3450 #else
3451 goto not_there;
3452 #endif
3453  
3454 }
3455 0 break;
3456 5 case 'R':
3457 5 ▶ if (!memcmp(name, "AD_NO_CERTIFICATE", 17)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "AD_NO_CERTIFICATE", 17)) { 1 4 5
3458 /* ^ */
3459
3460 #ifdef SSL_AD_NO_CERTIFICATE
3461 1 return SSL_AD_NO_CERTIFICATE;
3462 #else
3463 goto not_there;
3464 #endif
3465  
3466 }
3467 4 ▶ if (!memcmp(name, "ERROR_ZERO_RETURN", 17)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "ERROR_ZERO_RETURN", 17)) { 4 0 4
3468 /* ^ */
3469
3470 #ifdef SSL_ERROR_ZERO_RETURN
3471 4 return SSL_ERROR_ZERO_RETURN;
3472 #else
3473 goto not_there;
3474 #endif
3475  
3476 }
3477 0 break;
3478 2 case 'S':
3479 2 ▶ if (!memcmp(name, "F_SSL_SESSION_NEW", 17)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "F_SSL_SESSION_NEW", 17)) { 1 1 2
3480 /* ^ */
3481
3482 #ifdef SSL_F_SSL_SESSION_NEW
3483 1 return SSL_F_SSL_SESSION_NEW;
3484 #else
3485 goto not_there;
3486 #endif
3487  
3488 }
3489 1 ▶ if (!memcmp(name, "X509_TRUST_COMPAT", 17)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "X509_TRUST_COMPAT", 17)) { 1 0 1
3490 /* ^ */
3491
3492 #ifdef X509_TRUST_COMPAT
3493 1 return X509_TRUST_COMPAT;
3494 #else
3495 goto not_there;
3496 #endif
3497  
3498 }
3499 0 break;
3500 2 case 'T':
3501 2 ▶ if (!memcmp(name, "OP_NO_ANTI_REPLAY", 17)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "OP_NO_ANTI_REPLAY", 17)) { 1 1 2
3502 /* ^ */
3503
3504 #ifdef SSL_OP_NO_ANTI_REPLAY
3505 1 return SSL_OP_NO_ANTI_REPLAY;
3506 #else
3507 goto not_there;
3508 #endif
3509  
3510 }
3511 1 ▶ if (!memcmp(name, "OP_TLSEXT_PADDING", 17)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "OP_TLSEXT_PADDING", 17)) { 1 0 1
3512 /* ^ */
3513
3514 #ifdef SSL_OP_TLSEXT_PADDING
3515 1 return SSL_OP_TLSEXT_PADDING;
3516 #else
3517 goto not_there;
3518 #endif
3519  
3520 }
3521 0 break;
3522 2 case '_':
3523 2 ▶ if (!memcmp(name, "RECEIVED_SHUTDOWN", 17)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "RECEIVED_SHUTDOWN", 17)) { 2 0 2
3524 /* ^ */
3525
3526 #ifdef SSL_RECEIVED_SHUTDOWN
3527 2 return SSL_RECEIVED_SHUTDOWN;
3528 #else
3529 goto not_there;
3530 #endif
3531  
3532 }
3533 0 break;
3534 1 case 'a':
3535 1 ▶ if (!memcmp(name, "NID_ad_ca_issuers", 17)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "NID_ad_ca_issuers", 17)) { 1 0 1
3536 /* ^ */
3537
3538 #ifdef NID_ad_ca_issuers
3539 1 return NID_ad_ca_issuers;
3540 #else
3541 goto not_there;
3542 #endif
3543  
3544 }
3545 0 break;
3546 2 case 'e':
3547 2 ▶ if (!memcmp(name, "NID_des_ede_cfb64", 17)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "NID_des_ede_cfb64", 17)) { 1 1 2
3548 /* ^ */
3549
3550 #ifdef NID_des_ede_cfb64
3551 1 return NID_des_ede_cfb64;
3552 #else
3553 goto not_there;
3554 #endif
3555  
3556 }
3557 1 ▶ if (!memcmp(name, "NID_des_ede_ofb64", 17)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "NID_des_ede_ofb64", 17)) { 1 0 1
3558 /* ^ */
3559
3560 #ifdef NID_des_ede_ofb64
3561 1 return NID_des_ede_ofb64;
3562 #else
3563 goto not_there;
3564 #endif
3565  
3566 }
3567 0 break;
3568 1 case 'i':
3569 1 ▶ if (!memcmp(name, "NID_dsaWithSHA1_2", 17)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "NID_dsaWithSHA1_2", 17)) { 1 0 1
3570 /* ^ */
3571
3572 #ifdef NID_dsaWithSHA1_2
3573 1 return NID_dsaWithSHA1_2;
3574 #else
3575 goto not_there;
3576 #endif
3577  
3578 }
3579 0 break;
3580 2 case 'k':
3581 2 ▶ if (!memcmp(name, "NID_ext_key_usage", 17)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "NID_ext_key_usage", 17)) { 2 0 2
3582 /* ^ */
3583
3584 #ifdef NID_ext_key_usage
3585 2 return NID_ext_key_usage;
3586 #else
3587 goto not_there;
3588 #endif
3589  
3590 }
3591 0 break;
3592 1 case 'l':
3593 1 ▶ if (!memcmp(name, "NID_email_protect", 17)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "NID_email_protect", 17)) { 1 0 1
3594 /* ^ */
3595
3596 #ifdef NID_email_protect
3597 1 return NID_email_protect;
3598 #else
3599 goto not_there;
3600 #endif
3601  
3602 }
3603 0 break;
3604 1 case 'n':
3605 1 ▶ if (!memcmp(name, "NID_rsaEncryption", 17)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "NID_rsaEncryption", 17)) { 1 0 1
3606 /* ^ */
3607
3608 #ifdef NID_rsaEncryption
3609 1 return NID_rsaEncryption;
3610 #else
3611 goto not_there;
3612 #endif
3613  
3614 }
3615 0 break;
3616 1 case 't':
3617 1 ▶ if (!memcmp(name, "NID_id_qt_unotice", 17)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "NID_id_qt_unotice", 17)) { 1 0 1
3618 /* ^ */
3619
3620 #ifdef NID_id_qt_unotice
3621 1 return NID_id_qt_unotice;
3622 #else
3623 goto not_there;
3624 #endif
3625  
3626 }
3627 0 break;
3628 }
3629 0 break;
3630 60 case 18:
3631 /* Names all of length 18. */
3632 /* AD_BAD_CERTIFICATE AD_RECORD_OVERFLOW CB_HANDSHAKE_START
3633 CLIENT_HELLO_ERROR CLIENT_HELLO_RETRY CONF_MFLAGS_NO_DSO
3634 CONF_MFLAGS_SILENT ERROR_WANT_CONNECT F_GET_CLIENT_HELLO
3635 F_GET_SERVER_HELLO MODE_NO_AUTO_CHAIN NID_des_ede3_cfb64
3636 NID_des_ede3_ofb64 NID_dhKeyAgreement OPENSSL_INIT_ASYNC
3637 OP_COOKIE_EXCHANGE OP_SINGLE_ECDH_USE R_BAD_SSL_FILETYPE
3638 SSL3_MT_KEY_UPDATE SSL3_MT_NEXT_PROTO TLSEXT_TYPE_cookie
3639 VERIFY_CLIENT_ONCE X509_CRL_VERSION_1 X509_CRL_VERSION_2
3640 X509_FILETYPE_ASN1 X509_REQ_VERSION_1 X509_REQ_VERSION_2
3641 X509_REQ_VERSION_3 X509_TRUST_DEFAULT */
3642 /* Offset 6 gives the best switch position. */
3643 60 switch (name[6]) {
3644 1 case 'C':
3645 1 ▶ if (!memcmp(name, "F_GET_CLIENT_HELLO", 18)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "F_GET_CLIENT_HELLO", 18)) { 1 0 1
3646 /* ^ */
3647
3648 #ifdef SSL_F_GET_CLIENT_HELLO
3649 return SSL_F_GET_CLIENT_HELLO;
3650 #else
3651 1 goto not_there;
3652 #endif
3653  
3654 }
3655 0 break;
3656 28 case 'D':
3657 28 ▶ if (!memcmp(name, "CB_HANDSHAKE_START", 18)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "CB_HANDSHAKE_START", 18)) { 28 0 28
3658 /* ^ */
3659
3660 #ifdef SSL_CB_HANDSHAKE_START
3661 28 return SSL_CB_HANDSHAKE_START;
3662 #else
3663 goto not_there;
3664 #endif
3665  
3666 }
3667 0 break;
3668 3 case 'E':
3669 3 ▶ if (!memcmp(name, "X509_REQ_VERSION_1", 18)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "X509_REQ_VERSION_1", 18)) { 1 2 3
3670 /* ^ */
3671
3672 #ifdef X509_REQ_VERSION_1
3673 1 return X509_REQ_VERSION_1;
3674 #else
3675 goto not_there;
3676 #endif
3677  
3678 }
3679 2 ▶ if (!memcmp(name, "X509_REQ_VERSION_2", 18)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "X509_REQ_VERSION_2", 18)) { 1 1 2
3680 /* ^ */
3681
3682 #ifdef X509_REQ_VERSION_2
3683 return X509_REQ_VERSION_2;
3684 #else
3685 1 goto not_there;
3686 #endif
3687  
3688 }
3689 1 ▶ if (!memcmp(name, "X509_REQ_VERSION_3", 18)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "X509_REQ_VERSION_3", 18)) { 1 0 1
3690 /* ^ */
3691
3692 #ifdef X509_REQ_VERSION_3
3693 return X509_REQ_VERSION_3;
3694 #else
3695 1 goto not_there;
3696 #endif
3697  
3698 }
3699 0 break;
3700 2 case 'F':
3701 2 ▶ if (!memcmp(name, "CONF_MFLAGS_NO_DSO", 18)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "CONF_MFLAGS_NO_DSO", 18)) { 1 1 2
3702 /* ^ */
3703
3704 #ifdef CONF_MFLAGS_NO_DSO
3705 1 return CONF_MFLAGS_NO_DSO;
3706 #else
3707 goto not_there;
3708 #endif
3709  
3710 }
3711 1 ▶ if (!memcmp(name, "CONF_MFLAGS_SILENT", 18)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "CONF_MFLAGS_SILENT", 18)) { 1 0 1
3712 /* ^ */
3713
3714 #ifdef CONF_MFLAGS_SILENT
3715 1 return CONF_MFLAGS_SILENT;
3716 #else
3717 goto not_there;
3718 #endif
3719  
3720 }
3721 0 break;
3722 1 case 'G':
3723 1 ▶ if (!memcmp(name, "OP_SINGLE_ECDH_USE", 18)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "OP_SINGLE_ECDH_USE", 18)) { 1 0 1
3724 /* ^ */
3725
3726 #ifdef SSL_OP_SINGLE_ECDH_USE
3727 1 return SSL_OP_SINGLE_ECDH_USE;
3728 #else
3729 goto not_there;
3730 #endif
3731  
3732 }
3733 0 break;
3734 1 case 'I':
3735 1 ▶ if (!memcmp(name, "X509_FILETYPE_ASN1", 18)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "X509_FILETYPE_ASN1", 18)) { 1 0 1
3736 /* ^ */
3737
3738 #ifdef X509_FILETYPE_ASN1
3739 1 return X509_FILETYPE_ASN1;
3740 #else
3741 goto not_there;
3742 #endif
3743  
3744 }
3745 0 break;
3746 2 case 'K':
3747 2 ▶ if (!memcmp(name, "NID_dhKeyAgreement", 18)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "NID_dhKeyAgreement", 18)) { 1 1 2
3748 /* ^ */
3749
3750 #ifdef NID_dhKeyAgreement
3751 1 return NID_dhKeyAgreement;
3752 #else
3753 goto not_there;
3754 #endif
3755  
3756 }
3757 1 ▶ if (!memcmp(name, "OP_COOKIE_EXCHANGE", 18)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "OP_COOKIE_EXCHANGE", 18)) { 1 0 1
3758 /* ^ */
3759
3760 #ifdef SSL_OP_COOKIE_EXCHANGE
3761 1 return SSL_OP_COOKIE_EXCHANGE;
3762 #else
3763 goto not_there;
3764 #endif
3765  
3766 }
3767 0 break;
3768 1 case 'L':
3769 1 ▶ if (!memcmp(name, "OPENSSL_INIT_ASYNC", 18)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "OPENSSL_INIT_ASYNC", 18)) { 1 0 1
3770 /* ^ */
3771
3772 #ifdef OPENSSL_INIT_ASYNC
3773 1 return OPENSSL_INIT_ASYNC;
3774 #else
3775 goto not_there;
3776 #endif
3777  
3778 }
3779 0 break;
3780 2 case 'O':
3781 2 ▶ if (!memcmp(name, "AD_RECORD_OVERFLOW", 18)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "AD_RECORD_OVERFLOW", 18)) { 1 1 2
3782 /* ^ */
3783
3784 #ifdef SSL_AD_RECORD_OVERFLOW
3785 1 return SSL_AD_RECORD_OVERFLOW;
3786 #else
3787 goto not_there;
3788 #endif
3789  
3790 }
3791 1 ▶ if (!memcmp(name, "MODE_NO_AUTO_CHAIN", 18)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "MODE_NO_AUTO_CHAIN", 18)) { 1 0 1
3792 /* ^ */
3793
3794 #ifdef SSL_MODE_NO_AUTO_CHAIN
3795 1 return SSL_MODE_NO_AUTO_CHAIN;
3796 #else
3797 goto not_there;
3798 #endif
3799  
3800 }
3801 0 break;
3802 3 case 'R':
3803 3 ▶ if (!memcmp(name, "X509_CRL_VERSION_1", 18)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "X509_CRL_VERSION_1", 18)) { 1 2 3
3804 /* ^ */
3805
3806 #ifdef X509_CRL_VERSION_1
3807 1 return X509_CRL_VERSION_1;
3808 #else
3809 goto not_there;
3810 #endif
3811  
3812 }
3813 2 ▶ if (!memcmp(name, "X509_CRL_VERSION_2", 18)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "X509_CRL_VERSION_2", 18)) { 1 1 2
3814 /* ^ */
3815
3816 #ifdef X509_CRL_VERSION_2
3817 1 return X509_CRL_VERSION_2;
3818 #else
3819 goto not_there;
3820 #endif
3821  
3822 }
3823 1 ▶ if (!memcmp(name, "X509_TRUST_DEFAULT", 18)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "X509_TRUST_DEFAULT", 18)) { 1 0 1
3824 /* ^ */
3825
3826 #ifdef X509_TRUST_DEFAULT
3827 1 return X509_TRUST_DEFAULT;
3828 #else
3829 goto not_there;
3830 #endif
3831  
3832 }
3833 0 break;
3834 2 case 'S':
3835 2 ▶ if (!memcmp(name, "F_GET_SERVER_HELLO", 18)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "F_GET_SERVER_HELLO", 18)) { 1 1 2
3836 /* ^ */
3837
3838 #ifdef SSL_F_GET_SERVER_HELLO
3839 return SSL_F_GET_SERVER_HELLO;
3840 #else
3841 1 goto not_there;
3842 #endif
3843  
3844 }
3845 1 ▶ if (!memcmp(name, "R_BAD_SSL_FILETYPE", 18)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "R_BAD_SSL_FILETYPE", 18)) { 1 0 1
3846 /* ^ */
3847
3848 #ifdef SSL_R_BAD_SSL_FILETYPE
3849 1 return SSL_R_BAD_SSL_FILETYPE;
3850 #else
3851 goto not_there;
3852 #endif
3853  
3854 }
3855 0 break;
3856 2 case 'T':
3857 2 ▶ if (!memcmp(name, "SSL3_MT_KEY_UPDATE", 18)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "SSL3_MT_KEY_UPDATE", 18)) { 1 1 2
3858 /* ^ */
3859
3860 #ifdef SSL3_MT_KEY_UPDATE
3861 1 return SSL3_MT_KEY_UPDATE;
3862 #else
3863 goto not_there;
3864 #endif
3865  
3866 }
3867 1 ▶ if (!memcmp(name, "SSL3_MT_NEXT_PROTO", 18)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "SSL3_MT_NEXT_PROTO", 18)) { 1 0 1
3868 /* ^ */
3869
3870 #ifdef SSL3_MT_NEXT_PROTO
3871 1 return SSL3_MT_NEXT_PROTO;
3872 #else
3873 goto not_there;
3874 #endif
3875  
3876 }
3877 0 break;
3878 3 case 'W':
3879 3 ▶ if (!memcmp(name, "ERROR_WANT_CONNECT", 18)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "ERROR_WANT_CONNECT", 18)) { 3 0 3
3880 /* ^ */
3881
3882 #ifdef SSL_ERROR_WANT_CONNECT
3883 3 return SSL_ERROR_WANT_CONNECT;
3884 #else
3885 goto not_there;
3886 #endif
3887  
3888 }
3889 0 break;
3890 7 case '_':
3891 7 ▶ if (!memcmp(name, "AD_BAD_CERTIFICATE", 18)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "AD_BAD_CERTIFICATE", 18)) { 2 5 7
3892 /* ^ */
3893
3894 #ifdef SSL_AD_BAD_CERTIFICATE
3895 2 return SSL_AD_BAD_CERTIFICATE;
3896 #else
3897 goto not_there;
3898 #endif
3899  
3900 }
3901 5 ▶ if (!memcmp(name, "CLIENT_HELLO_ERROR", 18)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "CLIENT_HELLO_ERROR", 18)) { 2 3 5
3902 /* ^ */
3903
3904 #ifdef SSL_CLIENT_HELLO_ERROR
3905 2 return SSL_CLIENT_HELLO_ERROR;
3906 #else
3907 goto not_there;
3908 #endif
3909  
3910 }
3911 3 ▶ if (!memcmp(name, "CLIENT_HELLO_RETRY", 18)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "CLIENT_HELLO_RETRY", 18)) { 1 2 3
3912 /* ^ */
3913
3914 #ifdef SSL_CLIENT_HELLO_RETRY
3915 1 return SSL_CLIENT_HELLO_RETRY;
3916 #else
3917 goto not_there;
3918 #endif
3919  
3920 }
3921 2 ▶ if (!memcmp(name, "TLSEXT_TYPE_cookie", 18)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "TLSEXT_TYPE_cookie", 18)) { 1 1 2
3922 /* ^ */
3923
3924 #ifdef TLSEXT_TYPE_cookie
3925 1 return TLSEXT_TYPE_cookie;
3926 #else
3927 goto not_there;
3928 #endif
3929  
3930 }
3931 1 ▶ if (!memcmp(name, "VERIFY_CLIENT_ONCE", 18)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "VERIFY_CLIENT_ONCE", 18)) { 1 0 1
3932 /* ^ */
3933
3934 #ifdef SSL_VERIFY_CLIENT_ONCE
3935 1 return SSL_VERIFY_CLIENT_ONCE;
3936 #else
3937 goto not_there;
3938 #endif
3939  
3940 }
3941 0 break;
3942 2 case 's':
3943 2 ▶ if (!memcmp(name, "NID_des_ede3_cfb64", 18)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "NID_des_ede3_cfb64", 18)) { 1 1 2
3944 /* ^ */
3945
3946 #ifdef NID_des_ede3_cfb64
3947 1 return NID_des_ede3_cfb64;
3948 #else
3949 goto not_there;
3950 #endif
3951  
3952 }
3953 1 ▶ if (!memcmp(name, "NID_des_ede3_ofb64", 18)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "NID_des_ede3_ofb64", 18)) { 1 0 1
3954 /* ^ */
3955
3956 #ifdef NID_des_ede3_ofb64
3957 1 return NID_des_ede3_ofb64;
3958 #else
3959 goto not_there;
3960 #endif
3961  
3962 }
3963 0 break;
3964 }
3965 0 break;
3966 27 case 19:
3967 /* Names all of length 19. */
3968 /* AD_NO_RENEGOTIATION AD_PROTOCOL_VERSION F_CLIENT_MASTER_KEY
3969 F_GET_SERVER_VERIFY NID_invalidity_date NID_issuer_alt_name
3970 NID_pkcs7_encrypted NID_pkcs7_enveloped NID_rle_compression
3971 NID_safeContentsBag NID_sdsiCertificate NID_x509Certificate
3972 OPENSSL_ENGINES_DIR OPENSSL_INIT_ATFORK OPENSSL_MODULES_DIR
3973 OP_ALLOW_NO_DHE_KEX OP_CISCO_ANYCONNECT OP_NON_EXPORT_FIRST
3974 OP_NO_RENEGOTIATION OP_TLS_ROLLBACK_BUG SSL3_MT_CERTIFICATE
3975 SSL3_MT_SERVER_DONE TLSEXT_TYPE_padding */
3976 /* Offset 12 gives the best switch position. */
3977 27 switch (name[12]) {
3978 1 case 'A':
3979 1 ▶ if (!memcmp(name, "OP_TLS_ROLLBACK_BUG", 19)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "OP_TLS_ROLLBACK_BUG", 19)) { 1 0 1
3980 /* ^ */
3981
3982 #ifdef SSL_OP_TLS_ROLLBACK_BUG
3983 1 return SSL_OP_TLS_ROLLBACK_BUG;
3984 #else
3985 goto not_there;
3986 #endif
3987  
3988 }
3989 0 break;
3990 1 case 'C':
3991 1 ▶ if (!memcmp(name, "OP_CISCO_ANYCONNECT", 19)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "OP_CISCO_ANYCONNECT", 19)) { 1 0 1
3992 /* ^ */
3993
3994 #ifdef SSL_OP_CISCO_ANYCONNECT
3995 1 return SSL_OP_CISCO_ANYCONNECT;
3996 #else
3997 goto not_there;
3998 #endif
3999  
4000 }
4001 0 break;
4002 1 case 'D':
4003 1 ▶ if (!memcmp(name, "OP_ALLOW_NO_DHE_KEX", 19)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "OP_ALLOW_NO_DHE_KEX", 19)) { 1 0 1
4004 /* ^ */
4005
4006 #ifdef SSL_OP_ALLOW_NO_DHE_KEX
4007 1 return SSL_OP_ALLOW_NO_DHE_KEX;
4008 #else
4009 goto not_there;
4010 #endif
4011  
4012 }
4013 0 break;
4014 1 case 'E':
4015 1 ▶ if (!memcmp(name, "SSL3_MT_SERVER_DONE", 19)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "SSL3_MT_SERVER_DONE", 19)) { 1 0 1
4016 /* ^ */
4017
4018 #ifdef SSL3_MT_SERVER_DONE
4019 1 return SSL3_MT_SERVER_DONE;
4020 #else
4021 goto not_there;
4022 #endif
4023  
4024 }
4025 0 break;
4026 1 case 'I':
4027 1 ▶ if (!memcmp(name, "SSL3_MT_CERTIFICATE", 19)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "SSL3_MT_CERTIFICATE", 19)) { 1 0 1
4028 /* ^ */
4029
4030 #ifdef SSL3_MT_CERTIFICATE
4031 1 return SSL3_MT_CERTIFICATE;
4032 #else
4033 goto not_there;
4034 #endif
4035  
4036 }
4037 0 break;
4038 2 case 'L':
4039 2 ▶ if (!memcmp(name, "OPENSSL_MODULES_DIR", 19)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "OPENSSL_MODULES_DIR", 19)) { 2 0 2
4040 /* ^ */
4041
4042 #ifdef OPENSSL_MODULES_DIR
4043 2 return OPENSSL_MODULES_DIR;
4044 #else
4045 goto not_there;
4046 #endif
4047  
4048 }
4049 0 break;
4050 2 case 'N':
4051 2 ▶ if (!memcmp(name, "OPENSSL_ENGINES_DIR", 19)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "OPENSSL_ENGINES_DIR", 19)) { 2 0 2
4052 /* ^ */
4053
4054 #ifdef OPENSSL_ENGINES_DIR
4055 2 return OPENSSL_ENGINES_DIR;
4056 #else
4057 goto not_there;
4058 #endif
4059  
4060 }
4061 0 break;
4062 4 case 'T':
4063 4 ▶ if (!memcmp(name, "AD_NO_RENEGOTIATION", 19)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "AD_NO_RENEGOTIATION", 19)) { 1 3 4
4064 /* ^ */
4065
4066 #ifdef SSL_AD_NO_RENEGOTIATION
4067 1 return SSL_AD_NO_RENEGOTIATION;
4068 #else
4069 goto not_there;
4070 #endif
4071  
4072 }
4073 3 ▶ if (!memcmp(name, "F_CLIENT_MASTER_KEY", 19)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "F_CLIENT_MASTER_KEY", 19)) { 1 2 3
4074 /* ^ */
4075
4076 #ifdef SSL_F_CLIENT_MASTER_KEY
4077 return SSL_F_CLIENT_MASTER_KEY;
4078 #else
4079 1 goto not_there;
4080 #endif
4081  
4082 }
4083 2 ▶ if (!memcmp(name, "OP_NON_EXPORT_FIRST", 19)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "OP_NON_EXPORT_FIRST", 19)) { 1 1 2
4084 /* ^ */
4085
4086 #ifdef SSL_OP_NON_EXPORT_FIRST
4087 return SSL_OP_NON_EXPORT_FIRST;
4088 #else
4089 1 goto not_there;
4090 #endif
4091  
4092 }
4093 1 ▶ if (!memcmp(name, "OP_NO_RENEGOTIATION", 19)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "OP_NO_RENEGOTIATION", 19)) { 1 0 1
4094 /* ^ */
4095
4096 #ifdef SSL_OP_NO_RENEGOTIATION
4097 1 return SSL_OP_NO_RENEGOTIATION;
4098 #else
4099 goto not_there;
4100 #endif
4101  
4102 }
4103 0 break;
4104 1 case 'V':
4105 1 ▶ if (!memcmp(name, "AD_PROTOCOL_VERSION", 19)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "AD_PROTOCOL_VERSION", 19)) { 1 0 1
4106 /* ^ */
4107
4108 #ifdef SSL_AD_PROTOCOL_VERSION
4109 1 return SSL_AD_PROTOCOL_VERSION;
4110 #else
4111 goto not_there;
4112 #endif
4113  
4114 }
4115 0 break;
4116 2 case '_':
4117 2 ▶ if (!memcmp(name, "F_GET_SERVER_VERIFY", 19)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "F_GET_SERVER_VERIFY", 19)) { 1 1 2
4118 /* ^ */
4119
4120 #ifdef SSL_F_GET_SERVER_VERIFY
4121 return SSL_F_GET_SERVER_VERIFY;
4122 #else
4123 1 goto not_there;
4124 #endif
4125  
4126 }
4127 1 ▶ if (!memcmp(name, "OPENSSL_INIT_ATFORK", 19)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "OPENSSL_INIT_ATFORK", 19)) { 1 0 1
4128 /* ^ */
4129
4130 #ifdef OPENSSL_INIT_ATFORK
4131 1 return OPENSSL_INIT_ATFORK;
4132 #else
4133 goto not_there;
4134 #endif
4135  
4136 }
4137 0 break;
4138 1 case 'c':
4139 1 ▶ if (!memcmp(name, "NID_pkcs7_encrypted", 19)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "NID_pkcs7_encrypted", 19)) { 1 0 1
4140 /* ^ */
4141
4142 #ifdef NID_pkcs7_encrypted
4143 1 return NID_pkcs7_encrypted;
4144 #else
4145 goto not_there;
4146 #endif
4147  
4148 }
4149 0 break;
4150 1 case 'e':
4151 1 ▶ if (!memcmp(name, "NID_safeContentsBag", 19)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "NID_safeContentsBag", 19)) { 1 0 1
4152 /* ^ */
4153
4154 #ifdef NID_safeContentsBag
4155 1 return NID_safeContentsBag;
4156 #else
4157 goto not_there;
4158 #endif
4159  
4160 }
4161 0 break;
4162 2 case 'i':
4163 2 ▶ if (!memcmp(name, "NID_sdsiCertificate", 19)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "NID_sdsiCertificate", 19)) { 1 1 2
4164 /* ^ */
4165
4166 #ifdef NID_sdsiCertificate
4167 1 return NID_sdsiCertificate;
4168 #else
4169 goto not_there;
4170 #endif
4171  
4172 }
4173 1 ▶ if (!memcmp(name, "NID_x509Certificate", 19)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "NID_x509Certificate", 19)) { 1 0 1
4174 /* ^ */
4175
4176 #ifdef NID_x509Certificate
4177 1 return NID_x509Certificate;
4178 #else
4179 goto not_there;
4180 #endif
4181  
4182 }
4183 0 break;
4184 1 case 'l':
4185 1 ▶ if (!memcmp(name, "NID_issuer_alt_name", 19)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "NID_issuer_alt_name", 19)) { 1 0 1
4186 /* ^ */
4187
4188 #ifdef NID_issuer_alt_name
4189 1 return NID_issuer_alt_name;
4190 #else
4191 goto not_there;
4192 #endif
4193  
4194 }
4195 0 break;
4196 1 case 'p':
4197 1 ▶ if (!memcmp(name, "TLSEXT_TYPE_padding", 19)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "TLSEXT_TYPE_padding", 19)) { 1 0 1
4198 /* ^ */
4199
4200 #ifdef TLSEXT_TYPE_padding
4201 1 return TLSEXT_TYPE_padding;
4202 #else
4203 goto not_there;
4204 #endif
4205  
4206 }
4207 0 break;
4208 1 case 'r':
4209 1 ▶ if (!memcmp(name, "NID_rle_compression", 19)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "NID_rle_compression", 19)) { 1 0 1
4210 /* ^ */
4211
4212 #ifdef NID_rle_compression
4213 return NID_rle_compression;
4214 #else
4215 1 goto not_there;
4216 #endif
4217  
4218 }
4219 0 break;
4220 1 case 't':
4221 1 ▶ if (!memcmp(name, "NID_invalidity_date", 19)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "NID_invalidity_date", 19)) { 1 0 1
4222 /* ^ */
4223
4224 #ifdef NID_invalidity_date
4225 1 return NID_invalidity_date;
4226 #else
4227 goto not_there;
4228 #endif
4229  
4230 }
4231 0 break;
4232 1 case 'v':
4233 1 ▶ if (!memcmp(name, "NID_pkcs7_enveloped", 19)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "NID_pkcs7_enveloped", 19)) { 1 0 1
4234 /* ^ */
4235
4236 #ifdef NID_pkcs7_enveloped
4237 1 return NID_pkcs7_enveloped;
4238 #else
4239 goto not_there;
4240 #endif
4241  
4242 }
4243 0 break;
4244 }
4245 2 break;
4246 33 case 20:
4247 /* Names all of length 20. */
4248 /* AD_DECRYPTION_FAILED AD_HANDSHAKE_FAILURE AD_ILLEGAL_PARAMETER
4249 AD_MISSING_EXTENSION AD_UNRECOGNIZED_NAME ASN1_STRFLGS_ESC_MSB
4250 ASN1_STRFLGS_RFC2253 CLIENT_HELLO_SUCCESS ERROR_WANT_ASYNC_JOB
4251 F_CLIENT_CERTIFICATE F_SSL_USE_PRIVATEKEY MODE_RELEASE_BUFFERS
4252 NID_netscape_comment NID_organizationName NID_ripemd160WithRSA
4253 NID_subject_alt_name NID_uniqueIdentifier NID_zlib_compression
4254 OP_CLEANSE_PLAINTEXT OP_PRIORITIZE_CHACHA R_NO_CERTIFICATE_SET
4255 SESSION_ASN1_VERSION SSL2_MT_CLIENT_HELLO SSL2_MT_SERVER_HELLO
4256 SSL3_MT_CLIENT_HELLO SSL3_MT_MESSAGE_HASH SSL3_MT_SERVER_HELLO
4257 TLSEXT_TYPE_use_srtp X509_TRUST_OCSP_SIGN X509_V_ERR_PATH_LOOP */
4258 /* Offset 8 gives the best switch position. */
4259 33 switch (name[8]) {
4260 2 case 'A':
4261 2 ▶ if (!memcmp(name, "AD_ILLEGAL_PARAMETER", 20)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "AD_ILLEGAL_PARAMETER", 20)) { 1 1 2
4262 /* ^ */
4263
4264 #ifdef SSL_AD_ILLEGAL_PARAMETER
4265 1 return SSL_AD_ILLEGAL_PARAMETER;
4266 #else
4267 goto not_there;
4268 #endif
4269  
4270 }
4271 1 ▶ if (!memcmp(name, "SESSION_ASN1_VERSION", 20)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "SESSION_ASN1_VERSION", 20)) { 1 0 1
4272 /* ^ */
4273
4274 #ifdef SSL_SESSION_ASN1_VERSION
4275 1 return SSL_SESSION_ASN1_VERSION;
4276 #else
4277 goto not_there;
4278 #endif
4279  
4280 }
4281 0 break;
4282 2 case 'C':
4283 2 ▶ if (!memcmp(name, "SSL2_MT_CLIENT_HELLO", 20)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "SSL2_MT_CLIENT_HELLO", 20)) { 1 1 2
4284 /* ^ */
4285
4286 #ifdef SSL2_MT_CLIENT_HELLO
4287 1 return SSL2_MT_CLIENT_HELLO;
4288 #else
4289 goto not_there;
4290 #endif
4291  
4292 }
4293 1 ▶ if (!memcmp(name, "SSL3_MT_CLIENT_HELLO", 20)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "SSL3_MT_CLIENT_HELLO", 20)) { 1 0 1
4294 /* ^ */
4295
4296 #ifdef SSL3_MT_CLIENT_HELLO
4297 1 return SSL3_MT_CLIENT_HELLO;
4298 #else
4299 goto not_there;
4300 #endif
4301  
4302 }
4303 0 break;
4304 4 case 'E':
4305 4 ▶ if (!memcmp(name, "CLIENT_HELLO_SUCCESS", 20)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "CLIENT_HELLO_SUCCESS", 20)) { 2 2 4
4306 /* ^ */
4307
4308 #ifdef SSL_CLIENT_HELLO_SUCCESS
4309 2 return SSL_CLIENT_HELLO_SUCCESS;
4310 #else
4311 goto not_there;
4312 #endif
4313  
4314 }
4315 2 ▶ if (!memcmp(name, "F_SSL_USE_PRIVATEKEY", 20)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "F_SSL_USE_PRIVATEKEY", 20)) { 1 1 2
4316 /* ^ */
4317
4318 #ifdef SSL_F_SSL_USE_PRIVATEKEY
4319 1 return SSL_F_SSL_USE_PRIVATEKEY;
4320 #else
4321 goto not_there;
4322 #endif
4323  
4324 }
4325 1 ▶ if (!memcmp(name, "MODE_RELEASE_BUFFERS", 20)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "MODE_RELEASE_BUFFERS", 20)) { 1 0 1
4326 /* ^ */
4327
4328 #ifdef SSL_MODE_RELEASE_BUFFERS
4329 1 return SSL_MODE_RELEASE_BUFFERS;
4330 #else
4331 goto not_there;
4332 #endif
4333  
4334 }
4335 0 break;
4336 2 case 'F':
4337 2 ▶ if (!memcmp(name, "ASN1_STRFLGS_ESC_MSB", 20)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "ASN1_STRFLGS_ESC_MSB", 20)) { 1 1 2
4338 /* ^ */
4339
4340 #ifdef ASN1_STRFLGS_ESC_MSB
4341 1 return ASN1_STRFLGS_ESC_MSB;
4342 #else
4343 goto not_there;
4344 #endif
4345  
4346 }
4347 1 ▶ if (!memcmp(name, "ASN1_STRFLGS_RFC2253", 20)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "ASN1_STRFLGS_RFC2253", 20)) { 1 0 1
4348 /* ^ */
4349
4350 #ifdef ASN1_STRFLGS_RFC2253
4351 1 return ASN1_STRFLGS_RFC2253;
4352 #else
4353 goto not_there;
4354 #endif
4355  
4356 }
4357 0 break;
4358 2 case 'H':
4359 2 ▶ if (!memcmp(name, "AD_HANDSHAKE_FAILURE", 20)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "AD_HANDSHAKE_FAILURE", 20)) { 2 0 2
4360 /* ^ */
4361
4362 #ifdef SSL_AD_HANDSHAKE_FAILURE
4363 2 return SSL_AD_HANDSHAKE_FAILURE;
4364 #else
4365 goto not_there;
4366 #endif
4367  
4368 }
4369 0 break;
4370 1 case 'I':
4371 1 ▶ if (!memcmp(name, "OP_PRIORITIZE_CHACHA", 20)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "OP_PRIORITIZE_CHACHA", 20)) { 1 0 1
4372 /* ^ */
4373
4374 #ifdef SSL_OP_PRIORITIZE_CHACHA
4375 1 return SSL_OP_PRIORITIZE_CHACHA;
4376 #else
4377 goto not_there;
4378 #endif
4379  
4380 }
4381 0 break;
4382 1 case 'M':
4383 1 ▶ if (!memcmp(name, "SSL3_MT_MESSAGE_HASH", 20)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "SSL3_MT_MESSAGE_HASH", 20)) { 1 0 1
4384 /* ^ */
4385
4386 #ifdef SSL3_MT_MESSAGE_HASH
4387 1 return SSL3_MT_MESSAGE_HASH;
4388 #else
4389 goto not_there;
4390 #endif
4391  
4392 }
4393 0 break;
4394 2 case 'N':
4395 2 ▶ if (!memcmp(name, "AD_MISSING_EXTENSION", 20)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "AD_MISSING_EXTENSION", 20)) { 1 1 2
4396 /* ^ */
4397
4398 #ifdef SSL_AD_MISSING_EXTENSION
4399 1 return SSL_AD_MISSING_EXTENSION;
4400 #else
4401 goto not_there;
4402 #endif
4403  
4404 }
4405 1 ▶ if (!memcmp(name, "ERROR_WANT_ASYNC_JOB", 20)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "ERROR_WANT_ASYNC_JOB", 20)) { 1 0 1
4406 /* ^ */
4407
4408 #ifdef SSL_ERROR_WANT_ASYNC_JOB
4409 1 return SSL_ERROR_WANT_ASYNC_JOB;
4410 #else
4411 goto not_there;
4412 #endif
4413  
4414 }
4415 0 break;
4416 1 case 'O':
4417 1 ▶ if (!memcmp(name, "AD_UNRECOGNIZED_NAME", 20)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "AD_UNRECOGNIZED_NAME", 20)) { 1 0 1
4418 /* ^ */
4419
4420 #ifdef SSL_AD_UNRECOGNIZED_NAME
4421 1 return SSL_AD_UNRECOGNIZED_NAME;
4422 #else
4423 goto not_there;
4424 #endif
4425  
4426 }
4427 0 break;
4428 1 case 'P':
4429 1 ▶ if (!memcmp(name, "AD_DECRYPTION_FAILED", 20)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "AD_DECRYPTION_FAILED", 20)) { 1 0 1
4430 /* ^ */
4431
4432 #ifdef SSL_AD_DECRYPTION_FAILED
4433 1 return SSL_AD_DECRYPTION_FAILED;
4434 #else
4435 goto not_there;
4436 #endif
4437  
4438 }
4439 0 break;
4440 1 case 'R':
4441 1 ▶ if (!memcmp(name, "X509_V_ERR_PATH_LOOP", 20)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "X509_V_ERR_PATH_LOOP", 20)) { 1 0 1
4442 /* ^ */
4443
4444 #ifdef X509_V_ERR_PATH_LOOP
4445 1 return X509_V_ERR_PATH_LOOP;
4446 #else
4447 goto not_there;
4448 #endif
4449  
4450 }
4451 0 break;
4452 4 case 'S':
4453 4 ▶ if (!memcmp(name, "OP_CLEANSE_PLAINTEXT", 20)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "OP_CLEANSE_PLAINTEXT", 20)) { 1 3 4
4454 /* ^ */
4455
4456 #ifdef SSL_OP_CLEANSE_PLAINTEXT
4457 1 return SSL_OP_CLEANSE_PLAINTEXT;
4458 #else
4459 goto not_there;
4460 #endif
4461  
4462 }
4463 3 ▶ if (!memcmp(name, "SSL2_MT_SERVER_HELLO", 20)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "SSL2_MT_SERVER_HELLO", 20)) { 1 2 3
4464 /* ^ */
4465
4466 #ifdef SSL2_MT_SERVER_HELLO
4467 return SSL2_MT_SERVER_HELLO;
4468 #else
4469 1 goto not_there;
4470 #endif
4471  
4472 }
4473 2 ▶ if (!memcmp(name, "SSL3_MT_SERVER_HELLO", 20)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "SSL3_MT_SERVER_HELLO", 20)) { 1 1 2
4474 /* ^ */
4475
4476 #ifdef SSL3_MT_SERVER_HELLO
4477 1 return SSL3_MT_SERVER_HELLO;
4478 #else
4479 goto not_there;
4480 #endif
4481  
4482 }
4483 1 ▶ if (!memcmp(name, "X509_TRUST_OCSP_SIGN", 20)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "X509_TRUST_OCSP_SIGN", 20)) { 1 0 1
4484 /* ^ */
4485
4486 #ifdef X509_TRUST_OCSP_SIGN
4487 1 return X509_TRUST_OCSP_SIGN;
4488 #else
4489 goto not_there;
4490 #endif
4491  
4492 }
4493 0 break;
4494 1 case 'T':
4495 1 ▶ if (!memcmp(name, "R_NO_CERTIFICATE_SET", 20)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "R_NO_CERTIFICATE_SET", 20)) { 1 0 1
4496 /* ^ */
4497
4498 #ifdef SSL_R_NO_CERTIFICATE_SET
4499 1 return SSL_R_NO_CERTIFICATE_SET;
4500 #else
4501 goto not_there;
4502 #endif
4503  
4504 }
4505 0 break;
4506 1 case 'Y':
4507 1 ▶ if (!memcmp(name, "TLSEXT_TYPE_use_srtp", 20)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "TLSEXT_TYPE_use_srtp", 20)) { 1 0 1
4508 /* ^ */
4509
4510 #ifdef TLSEXT_TYPE_use_srtp
4511 1 return TLSEXT_TYPE_use_srtp;
4512 #else
4513 goto not_there;
4514 #endif
4515  
4516 }
4517 0 break;
4518 2 case '_':
4519 2 ▶ if (!memcmp(name, "F_CLIENT_CERTIFICATE", 20)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "F_CLIENT_CERTIFICATE", 20)) { 1 1 2
4520 /* ^ */
4521
4522 #ifdef SSL_F_CLIENT_CERTIFICATE
4523 return SSL_F_CLIENT_CERTIFICATE;
4524 #else
4525 1 goto not_there;
4526 #endif
4527  
4528 }
4529 1 ▶ if (!memcmp(name, "NID_zlib_compression", 20)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "NID_zlib_compression", 20)) { 1 0 1
4530 /* ^ */
4531
4532 #ifdef NID_zlib_compression
4533 1 return NID_zlib_compression;
4534 #else
4535 goto not_there;
4536 #endif
4537  
4538 }
4539 0 break;
4540 1 case 'c':
4541 1 ▶ if (!memcmp(name, "NID_netscape_comment", 20)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "NID_netscape_comment", 20)) { 1 0 1
4542 /* ^ */
4543
4544 #ifdef NID_netscape_comment
4545 1 return NID_netscape_comment;
4546 #else
4547 goto not_there;
4548 #endif
4549  
4550 }
4551 0 break;
4552 2 case 'e':
4553 2 ▶ if (!memcmp(name, "NID_subject_alt_name", 20)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "NID_subject_alt_name", 20)) { 2 0 2
4554 /* ^ */
4555
4556 #ifdef NID_subject_alt_name
4557 2 return NID_subject_alt_name;
4558 #else
4559 goto not_there;
4560 #endif
4561  
4562 }
4563 0 break;
4564 1 case 'm':
4565 1 ▶ if (!memcmp(name, "NID_ripemd160WithRSA", 20)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "NID_ripemd160WithRSA", 20)) { 1 0 1
4566 /* ^ */
4567
4568 #ifdef NID_ripemd160WithRSA
4569 1 return NID_ripemd160WithRSA;
4570 #else
4571 goto not_there;
4572 #endif
4573  
4574 }
4575 0 break;
4576 1 case 'n':
4577 1 ▶ if (!memcmp(name, "NID_organizationName", 20)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "NID_organizationName", 20)) { 1 0 1
4578 /* ^ */
4579
4580 #ifdef NID_organizationName
4581 1 return NID_organizationName;
4582 #else
4583 goto not_there;
4584 #endif
4585  
4586 }
4587 0 break;
4588 1 case 'u':
4589 1 ▶ if (!memcmp(name, "NID_uniqueIdentifier", 20)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "NID_uniqueIdentifier", 20)) { 1 0 1
4590 /* ^ */
4591
4592 #ifdef NID_uniqueIdentifier
4593 1 return NID_uniqueIdentifier;
4594 #else
4595 goto not_there;
4596 #endif
4597  
4598 }
4599 0 break;
4600 }
4601 0 break;
4602 36 case 21:
4603 /* Names all of length 21. */
4604 /* AD_EXPORT_RESTRICTION AD_UNEXPECTED_MESSAGE ASN1_STRFLGS_ESC_CTRL
4605 F_GET_CLIENT_FINISHED F_GET_SERVER_FINISHED F_REQUEST_CERTIFICATE
4606 F_SSL_GET_NEW_SESSION F_SSL_USE_CERTIFICATE NID_SMIMECapabilities
4607 NID_basic_constraints NID_netscape_base_url NID_pkcs9_contentType
4608 NID_pkcs9_signingTime OPENSSL_VERSION_MAJOR OPENSSL_VERSION_MINOR
4609 OPENSSL_VERSION_PATCH OP_NETSCAPE_CA_DN_BUG SSL2_MT_SERVER_VERIFY
4610 SSL3_MT_HELLO_REQUEST TLSEXT_TYPE_cert_type TLSEXT_TYPE_key_share
4611 VERIFY_POST_HANDSHAKE X509_FILETYPE_DEFAULT X509_PURPOSE_CRL_SIGN
4612 X509_TRUST_SSL_CLIENT X509_TRUST_SSL_SERVER X509_V_ERR_INVALID_CA
4613 X509_V_ERR_OUT_OF_MEM X509_V_FLAG_CRL_CHECK XN_FLAG_SEP_CPLUS_SPC
4614 XN_FLAG_SEP_MULTILINE XN_FLAG_SEP_SPLUS_SPC */
4615 /* Offset 19 gives the best switch position. */
4616 36 switch (name[19]) {
4617 4 case 'C':
4618 4 ▶ if (!memcmp(name, "OPENSSL_VERSION_PATCH", 21)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "OPENSSL_VERSION_PATCH", 21)) { 2 2 4
4619 /* ^ */
4620
4621 #ifdef OPENSSL_VERSION_PATCH
4622 2 return OPENSSL_VERSION_PATCH;
4623 #else
4624 goto not_there;
4625 #endif
4626  
4627 }
4628 2 ▶ if (!memcmp(name, "X509_V_ERR_INVALID_CA", 21)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "X509_V_ERR_INVALID_CA", 21)) { 1 1 2
4629 /* ^ */
4630
4631 #ifdef X509_V_ERR_INVALID_CA
4632 1 return X509_V_ERR_INVALID_CA;
4633 #else
4634 goto not_there;
4635 #endif
4636  
4637 }
4638 1 ▶ if (!memcmp(name, "X509_V_FLAG_CRL_CHECK", 21)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "X509_V_FLAG_CRL_CHECK", 21)) { 1 0 1
4639 /* ^ */
4640
4641 #ifdef X509_V_FLAG_CRL_CHECK
4642 1 return X509_V_FLAG_CRL_CHECK;
4643 #else
4644 goto not_there;
4645 #endif
4646  
4647 }
4648 0 break;
4649 4 case 'E':
4650 4 ▶ if (!memcmp(name, "F_GET_CLIENT_FINISHED", 21)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "F_GET_CLIENT_FINISHED", 21)) { 1 3 4
4651 /* ^ */
4652
4653 #ifdef SSL_F_GET_CLIENT_FINISHED
4654 return SSL_F_GET_CLIENT_FINISHED;
4655 #else
4656 1 goto not_there;
4657 #endif
4658  
4659 }
4660 3 ▶ if (!memcmp(name, "F_GET_SERVER_FINISHED", 21)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "F_GET_SERVER_FINISHED", 21)) { 1 2 3
4661 /* ^ */
4662
4663 #ifdef SSL_F_GET_SERVER_FINISHED
4664 return SSL_F_GET_SERVER_FINISHED;
4665 #else
4666 1 goto not_there;
4667 #endif
4668  
4669 }
4670 2 ▶ if (!memcmp(name, "X509_TRUST_SSL_SERVER", 21)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "X509_TRUST_SSL_SERVER", 21)) { 1 1 2
4671 /* ^ */
4672
4673 #ifdef X509_TRUST_SSL_SERVER
4674 1 return X509_TRUST_SSL_SERVER;
4675 #else
4676 goto not_there;
4677 #endif
4678  
4679 }
4680 1 ▶ if (!memcmp(name, "X509_V_ERR_OUT_OF_MEM", 21)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "X509_V_ERR_OUT_OF_MEM", 21)) { 1 0 1
4681 /* ^ */
4682
4683 #ifdef X509_V_ERR_OUT_OF_MEM
4684 1 return X509_V_ERR_OUT_OF_MEM;
4685 #else
4686 goto not_there;
4687 #endif
4688  
4689 }
4690 0 break;
4691 1 case 'F':
4692 1 ▶ if (!memcmp(name, "SSL2_MT_SERVER_VERIFY", 21)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "SSL2_MT_SERVER_VERIFY", 21)) { 1 0 1
4693 /* ^ */
4694
4695 #ifdef SSL2_MT_SERVER_VERIFY
4696 return SSL2_MT_SERVER_VERIFY;
4697 #else
4698 1 goto not_there;
4699 #endif
4700  
4701 }
4702 0 break;
4703 2 case 'G':
4704 2 ▶ if (!memcmp(name, "AD_UNEXPECTED_MESSAGE", 21)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "AD_UNEXPECTED_MESSAGE", 21)) { 1 1 2
4705 /* ^ */
4706
4707 #ifdef SSL_AD_UNEXPECTED_MESSAGE
4708 1 return SSL_AD_UNEXPECTED_MESSAGE;
4709 #else
4710 goto not_there;
4711 #endif
4712  
4713 }
4714 1 ▶ if (!memcmp(name, "X509_PURPOSE_CRL_SIGN", 21)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "X509_PURPOSE_CRL_SIGN", 21)) { 1 0 1
4715 /* ^ */
4716
4717 #ifdef X509_PURPOSE_CRL_SIGN
4718 1 return X509_PURPOSE_CRL_SIGN;
4719 #else
4720 goto not_there;
4721 #endif
4722  
4723 }
4724 0 break;
4725 1 case 'K':
4726 1 ▶ if (!memcmp(name, "VERIFY_POST_HANDSHAKE", 21)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "VERIFY_POST_HANDSHAKE", 21)) { 1 0 1
4727 /* ^ */
4728
4729 #ifdef SSL_VERIFY_POST_HANDSHAKE
4730 1 return SSL_VERIFY_POST_HANDSHAKE;
4731 #else
4732 goto not_there;
4733 #endif
4734  
4735 }
4736 0 break;
4737 1 case 'L':
4738 1 ▶ if (!memcmp(name, "X509_FILETYPE_DEFAULT", 21)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "X509_FILETYPE_DEFAULT", 21)) { 1 0 1
4739 /* ^ */
4740
4741 #ifdef X509_FILETYPE_DEFAULT
4742 1 return X509_FILETYPE_DEFAULT;
4743 #else
4744 goto not_there;
4745 #endif
4746  
4747 }
4748 0 break;
4749 2 case 'N':
4750 2 ▶ if (!memcmp(name, "X509_TRUST_SSL_CLIENT", 21)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "X509_TRUST_SSL_CLIENT", 21)) { 1 1 2
4751 /* ^ */
4752
4753 #ifdef X509_TRUST_SSL_CLIENT
4754 1 return X509_TRUST_SSL_CLIENT;
4755 #else
4756 goto not_there;
4757 #endif
4758  
4759 }
4760 1 ▶ if (!memcmp(name, "XN_FLAG_SEP_MULTILINE", 21)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "XN_FLAG_SEP_MULTILINE", 21)) { 1 0 1
4761 /* ^ */
4762
4763 #ifdef XN_FLAG_SEP_MULTILINE
4764 1 return XN_FLAG_SEP_MULTILINE;
4765 #else
4766 goto not_there;
4767 #endif
4768  
4769 }
4770 0 break;
4771 6 case 'O':
4772 6 ▶ if (!memcmp(name, "AD_EXPORT_RESTRICTION", 21)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "AD_EXPORT_RESTRICTION", 21)) { 1 5 6
4773 /* ^ */
4774
4775 #ifdef SSL_AD_EXPORT_RESTRICTION
4776 1 return SSL_AD_EXPORT_RESTRICTION;
4777 #else
4778 goto not_there;
4779 #endif
4780  
4781 }
4782 5 ▶ if (!memcmp(name, "F_SSL_GET_NEW_SESSION", 21)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "F_SSL_GET_NEW_SESSION", 21)) { 1 4 5
4783 /* ^ */
4784
4785 #ifdef SSL_F_SSL_GET_NEW_SESSION
4786 1 return SSL_F_SSL_GET_NEW_SESSION;
4787 #else
4788 goto not_there;
4789 #endif
4790  
4791 }
4792 4 ▶ if (!memcmp(name, "OPENSSL_VERSION_MAJOR", 21)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "OPENSSL_VERSION_MAJOR", 21)) { 2 2 4
4793 /* ^ */
4794
4795 #ifdef OPENSSL_VERSION_MAJOR
4796 2 return OPENSSL_VERSION_MAJOR;
4797 #else
4798 goto not_there;
4799 #endif
4800  
4801 }
4802 2 ▶ if (!memcmp(name, "OPENSSL_VERSION_MINOR", 21)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "OPENSSL_VERSION_MINOR", 21)) { 2 0 2
4803 /* ^ */
4804
4805 #ifdef OPENSSL_VERSION_MINOR
4806 2 return OPENSSL_VERSION_MINOR;
4807 #else
4808 goto not_there;
4809 #endif
4810  
4811 }
4812 0 break;
4813 2 case 'P':
4814 2 ▶ if (!memcmp(name, "XN_FLAG_SEP_CPLUS_SPC", 21)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "XN_FLAG_SEP_CPLUS_SPC", 21)) { 1 1 2
4815 /* ^ */
4816
4817 #ifdef XN_FLAG_SEP_CPLUS_SPC
4818 1 return XN_FLAG_SEP_CPLUS_SPC;
4819 #else
4820 goto not_there;
4821 #endif
4822  
4823 }
4824 1 ▶ if (!memcmp(name, "XN_FLAG_SEP_SPLUS_SPC", 21)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "XN_FLAG_SEP_SPLUS_SPC", 21)) { 1 0 1
4825 /* ^ */
4826
4827 #ifdef XN_FLAG_SEP_SPLUS_SPC
4828 1 return XN_FLAG_SEP_SPLUS_SPC;
4829 #else
4830 goto not_there;
4831 #endif
4832  
4833 }
4834 0 break;
4835 1 case 'R':
4836 1 ▶ if (!memcmp(name, "ASN1_STRFLGS_ESC_CTRL", 21)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "ASN1_STRFLGS_ESC_CTRL", 21)) { 1 0 1
4837 /* ^ */
4838
4839 #ifdef ASN1_STRFLGS_ESC_CTRL
4840 1 return ASN1_STRFLGS_ESC_CTRL;
4841 #else
4842 goto not_there;
4843 #endif
4844  
4845 }
4846 0 break;
4847 1 case 'S':
4848 1 ▶ if (!memcmp(name, "SSL3_MT_HELLO_REQUEST", 21)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "SSL3_MT_HELLO_REQUEST", 21)) { 1 0 1
4849 /* ^ */
4850
4851 #ifdef SSL3_MT_HELLO_REQUEST
4852 1 return SSL3_MT_HELLO_REQUEST;
4853 #else
4854 goto not_there;
4855 #endif
4856  
4857 }
4858 0 break;
4859 2 case 'T':
4860 2 ▶ if (!memcmp(name, "F_REQUEST_CERTIFICATE", 21)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "F_REQUEST_CERTIFICATE", 21)) { 1 1 2
4861 /* ^ */
4862
4863 #ifdef SSL_F_REQUEST_CERTIFICATE
4864 return SSL_F_REQUEST_CERTIFICATE;
4865 #else
4866 1 goto not_there;
4867 #endif
4868  
4869 }
4870 1 ▶ if (!memcmp(name, "F_SSL_USE_CERTIFICATE", 21)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "F_SSL_USE_CERTIFICATE", 21)) { 1 0 1
4871 /* ^ */
4872
4873 #ifdef SSL_F_SSL_USE_CERTIFICATE
4874 1 return SSL_F_SSL_USE_CERTIFICATE;
4875 #else
4876 goto not_there;
4877 #endif
4878  
4879 }
4880 0 break;
4881 1 case 'U':
4882 1 ▶ if (!memcmp(name, "OP_NETSCAPE_CA_DN_BUG", 21)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "OP_NETSCAPE_CA_DN_BUG", 21)) { 1 0 1
4883 /* ^ */
4884
4885 #ifdef SSL_OP_NETSCAPE_CA_DN_BUG
4886 1 return SSL_OP_NETSCAPE_CA_DN_BUG;
4887 #else
4888 goto not_there;
4889 #endif
4890  
4891 }
4892 0 break;
4893 1 case 'e':
4894 1 ▶ if (!memcmp(name, "NID_SMIMECapabilities", 21)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "NID_SMIMECapabilities", 21)) { 1 0 1
4895 /* ^ */
4896
4897 #ifdef NID_SMIMECapabilities
4898 1 return NID_SMIMECapabilities;
4899 #else
4900 goto not_there;
4901 #endif
4902  
4903 }
4904 0 break;
4905 1 case 'm':
4906 1 ▶ if (!memcmp(name, "NID_pkcs9_signingTime", 21)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "NID_pkcs9_signingTime", 21)) { 1 0 1
4907 /* ^ */
4908
4909 #ifdef NID_pkcs9_signingTime
4910 1 return NID_pkcs9_signingTime;
4911 #else
4912 goto not_there;
4913 #endif
4914  
4915 }
4916 0 break;
4917 2 case 'p':
4918 2 ▶ if (!memcmp(name, "NID_pkcs9_contentType", 21)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "NID_pkcs9_contentType", 21)) { 1 1 2
4919 /* ^ */
4920
4921 #ifdef NID_pkcs9_contentType
4922 1 return NID_pkcs9_contentType;
4923 #else
4924 goto not_there;
4925 #endif
4926  
4927 }
4928 1 ▶ if (!memcmp(name, "TLSEXT_TYPE_cert_type", 21)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "TLSEXT_TYPE_cert_type", 21)) { 1 0 1
4929 /* ^ */
4930
4931 #ifdef TLSEXT_TYPE_cert_type
4932 1 return TLSEXT_TYPE_cert_type;
4933 #else
4934 goto not_there;
4935 #endif
4936  
4937 }
4938 0 break;
4939 2 case 'r':
4940 2 ▶ if (!memcmp(name, "NID_netscape_base_url", 21)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "NID_netscape_base_url", 21)) { 1 1 2
4941 /* ^ */
4942
4943 #ifdef NID_netscape_base_url
4944 1 return NID_netscape_base_url;
4945 #else
4946 goto not_there;
4947 #endif
4948  
4949 }
4950 1 ▶ if (!memcmp(name, "TLSEXT_TYPE_key_share", 21)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "TLSEXT_TYPE_key_share", 21)) { 1 0 1
4951 /* ^ */
4952
4953 #ifdef TLSEXT_TYPE_key_share
4954 1 return TLSEXT_TYPE_key_share;
4955 #else
4956 goto not_there;
4957 #endif
4958  
4959 }
4960 0 break;
4961 2 case 't':
4962 2 ▶ if (!memcmp(name, "NID_basic_constraints", 21)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "NID_basic_constraints", 21)) { 2 0 2
4963 /* ^ */
4964
4965 #ifdef NID_basic_constraints
4966 2 return NID_basic_constraints;
4967 #else
4968 goto not_there;
4969 #endif
4970  
4971 }
4972 0 break;
4973 }
4974 0 break;
4975 216 case 22:
4976 /* Names all of length 22. */
4977 /* AD_CERTIFICATE_EXPIRED AD_CERTIFICATE_REVOKED AD_CERTIFICATE_UNKNOWN
4978 ASN1_STRFLGS_ESC_QUOTE ERROR_WANT_X509_LOOKUP F_SSL_SESSION_PRINT_FP
4979 NID_netscape_cert_type NID_netscape_data_type NID_pkcs9_emailAddress
4980 OPENSSL_INIT_NO_ATEXIT OPENSSL_VERSION_NUMBER OPENSSL_VERSION_STRING
4981 OP_NO_ENCRYPT_THEN_MAC R_PEER_ERROR_NO_CIPHER SESS_CACHE_NO_INTERNAL
4982 SESS_CACHE_UPDATE_TIME TLSEXT_STATUSTYPE_ocsp TLSEXT_TYPE_early_data
4983 V_OCSP_CERTSTATUS_GOOD X509_TRUST_OBJECT_SIGN X509_V_ERR_UNSPECIFIED
4984 X509_V_FLAG_USE_DELTAS XN_FLAG_SEP_COMMA_PLUS */
4985 /* Offset 18 gives the best switch position. */
4986 216 switch (name[18]) {
4987 1 case 'E':
4988 1 ▶ if (!memcmp(name, "OPENSSL_INIT_NO_ATEXIT", 22)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "OPENSSL_INIT_NO_ATEXIT", 22)) { 1 0 1
4989 /* ^ */
4990
4991 #ifdef OPENSSL_INIT_NO_ATEXIT
4992 1 return OPENSSL_INIT_NO_ATEXIT;
4993 #else
4994 goto not_there;
4995 #endif
4996  
4997 }
4998 0 break;
4999 1 case 'F':
5000 1 ▶ if (!memcmp(name, "X509_V_ERR_UNSPECIFIED", 22)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "X509_V_ERR_UNSPECIFIED", 22)) { 1 0 1
5001 /* ^ */
5002
5003 #ifdef X509_V_ERR_UNSPECIFIED
5004 1 return X509_V_ERR_UNSPECIFIED;
5005 #else
5006 goto not_there;
5007 #endif
5008  
5009 }
5010 0 break;
5011 1 case 'G':
5012 1 ▶ if (!memcmp(name, "V_OCSP_CERTSTATUS_GOOD", 22)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "V_OCSP_CERTSTATUS_GOOD", 22)) { 1 0 1
5013 /* ^ */
5014
5015 #ifdef V_OCSP_CERTSTATUS_GOOD
5016 1 return V_OCSP_CERTSTATUS_GOOD;
5017 #else
5018 goto not_there;
5019 #endif
5020  
5021 }
5022 0 break;
5023 1 case 'I':
5024 1 ▶ if (!memcmp(name, "AD_CERTIFICATE_EXPIRED", 22)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "AD_CERTIFICATE_EXPIRED", 22)) { 1 0 1
5025 /* ^ */
5026
5027 #ifdef SSL_AD_CERTIFICATE_EXPIRED
5028 1 return SSL_AD_CERTIFICATE_EXPIRED;
5029 #else
5030 goto not_there;
5031 #endif
5032  
5033 }
5034 0 break;
5035 1 case 'L':
5036 1 ▶ if (!memcmp(name, "X509_V_FLAG_USE_DELTAS", 22)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "X509_V_FLAG_USE_DELTAS", 22)) { 1 0 1
5037 /* ^ */
5038
5039 #ifdef X509_V_FLAG_USE_DELTAS
5040 1 return X509_V_FLAG_USE_DELTAS;
5041 #else
5042 goto not_there;
5043 #endif
5044  
5045 }
5046 0 break;
5047 190 case 'M':
5048 190 ▶ if (!memcmp(name, "OPENSSL_VERSION_NUMBER", 22)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "OPENSSL_VERSION_NUMBER", 22)) { 190 0 190
5049 /* ^ */
5050
5051 #ifdef OPENSSL_VERSION_NUMBER
5052 190 return OPENSSL_VERSION_NUMBER;
5053 #else
5054 goto not_there;
5055 #endif
5056  
5057 }
5058 0 break;
5059 1 case 'N':
5060 1 ▶ if (!memcmp(name, "AD_CERTIFICATE_UNKNOWN", 22)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "AD_CERTIFICATE_UNKNOWN", 22)) { 1 0 1
5061 /* ^ */
5062
5063 #ifdef SSL_AD_CERTIFICATE_UNKNOWN
5064 1 return SSL_AD_CERTIFICATE_UNKNOWN;
5065 #else
5066 goto not_there;
5067 #endif
5068  
5069 }
5070 0 break;
5071 4 case 'O':
5072 4 ▶ if (!memcmp(name, "AD_CERTIFICATE_REVOKED", 22)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "AD_CERTIFICATE_REVOKED", 22)) { 1 3 4
5073 /* ^ */
5074
5075 #ifdef SSL_AD_CERTIFICATE_REVOKED
5076 1 return SSL_AD_CERTIFICATE_REVOKED;
5077 #else
5078 goto not_there;
5079 #endif
5080  
5081 }
5082 3 ▶ if (!memcmp(name, "ERROR_WANT_X509_LOOKUP", 22)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "ERROR_WANT_X509_LOOKUP", 22)) { 3 0 3
5083 /* ^ */
5084
5085 #ifdef SSL_ERROR_WANT_X509_LOOKUP
5086 3 return SSL_ERROR_WANT_X509_LOOKUP;
5087 #else
5088 goto not_there;
5089 #endif
5090  
5091 }
5092 0 break;
5093 2 case 'P':
5094 2 ▶ if (!memcmp(name, "R_PEER_ERROR_NO_CIPHER", 22)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "R_PEER_ERROR_NO_CIPHER", 22)) { 1 1 2
5095 /* ^ */
5096
5097 #ifdef SSL_R_PEER_ERROR_NO_CIPHER
5098 return SSL_R_PEER_ERROR_NO_CIPHER;
5099 #else
5100 1 goto not_there;
5101 #endif
5102  
5103 }
5104 1 ▶ if (!memcmp(name, "XN_FLAG_SEP_COMMA_PLUS", 22)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "XN_FLAG_SEP_COMMA_PLUS", 22)) { 1 0 1
5105 /* ^ */
5106
5107 #ifdef XN_FLAG_SEP_COMMA_PLUS
5108 1 return XN_FLAG_SEP_COMMA_PLUS;
5109 #else
5110 goto not_there;
5111 #endif
5112  
5113 }
5114 0 break;
5115 3 case 'R':
5116 3 ▶ if (!memcmp(name, "OPENSSL_VERSION_STRING", 22)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "OPENSSL_VERSION_STRING", 22)) { 2 1 3
5117 /* ^ */
5118
5119 #ifdef OPENSSL_VERSION_STRING
5120 2 return OPENSSL_VERSION_STRING;
5121 #else
5122 goto not_there;
5123 #endif
5124  
5125 }
5126 1 ▶ if (!memcmp(name, "SESS_CACHE_NO_INTERNAL", 22)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "SESS_CACHE_NO_INTERNAL", 22)) { 1 0 1
5127 /* ^ */
5128
5129 #ifdef SSL_SESS_CACHE_NO_INTERNAL
5130 1 return SSL_SESS_CACHE_NO_INTERNAL;
5131 #else
5132 goto not_there;
5133 #endif
5134  
5135 }
5136 0 break;
5137 1 case 'S':
5138 1 ▶ if (!memcmp(name, "X509_TRUST_OBJECT_SIGN", 22)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "X509_TRUST_OBJECT_SIGN", 22)) { 1 0 1
5139 /* ^ */
5140
5141 #ifdef X509_TRUST_OBJECT_SIGN
5142 1 return X509_TRUST_OBJECT_SIGN;
5143 #else
5144 goto not_there;
5145 #endif
5146  
5147 }
5148 0 break;
5149 2 case 'T':
5150 2 ▶ if (!memcmp(name, "F_SSL_SESSION_PRINT_FP", 22)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "F_SSL_SESSION_PRINT_FP", 22)) { 1 1 2
5151 /* ^ */
5152
5153 #ifdef SSL_F_SSL_SESSION_PRINT_FP
5154 1 return SSL_F_SSL_SESSION_PRINT_FP;
5155 #else
5156 goto not_there;
5157 #endif
5158  
5159 }
5160 1 ▶ if (!memcmp(name, "SESS_CACHE_UPDATE_TIME", 22)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "SESS_CACHE_UPDATE_TIME", 22)) { 1 0 1
5161 /* ^ */
5162
5163 #ifdef SSL_SESS_CACHE_UPDATE_TIME
5164 1 return SSL_SESS_CACHE_UPDATE_TIME;
5165 #else
5166 goto not_there;
5167 #endif
5168  
5169 }
5170 0 break;
5171 1 case 'U':
5172 1 ▶ if (!memcmp(name, "ASN1_STRFLGS_ESC_QUOTE", 22)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "ASN1_STRFLGS_ESC_QUOTE", 22)) { 1 0 1
5173 /* ^ */
5174
5175 #ifdef ASN1_STRFLGS_ESC_QUOTE
5176 1 return ASN1_STRFLGS_ESC_QUOTE;
5177 #else
5178 goto not_there;
5179 #endif
5180  
5181 }
5182 0 break;
5183 1 case '_':
5184 1 ▶ if (!memcmp(name, "OP_NO_ENCRYPT_THEN_MAC", 22)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "OP_NO_ENCRYPT_THEN_MAC", 22)) { 1 0 1
5185 /* ^ */
5186
5187 #ifdef SSL_OP_NO_ENCRYPT_THEN_MAC
5188 1 return SSL_OP_NO_ENCRYPT_THEN_MAC;
5189 #else
5190 goto not_there;
5191 #endif
5192  
5193 }
5194 0 break;
5195 1 case 'd':
5196 1 ▶ if (!memcmp(name, "TLSEXT_TYPE_early_data", 22)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "TLSEXT_TYPE_early_data", 22)) { 1 0 1
5197 /* ^ */
5198
5199 #ifdef TLSEXT_TYPE_early_data
5200 1 return TLSEXT_TYPE_early_data;
5201 #else
5202 goto not_there;
5203 #endif
5204  
5205 }
5206 0 break;
5207 1 case 'o':
5208 1 ▶ if (!memcmp(name, "TLSEXT_STATUSTYPE_ocsp", 22)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "TLSEXT_STATUSTYPE_ocsp", 22)) { 1 0 1
5209 /* ^ */
5210
5211 #ifdef TLSEXT_STATUSTYPE_ocsp
5212 1 return TLSEXT_STATUSTYPE_ocsp;
5213 #else
5214 goto not_there;
5215 #endif
5216  
5217 }
5218 0 break;
5219 1 case 'r':
5220 1 ▶ if (!memcmp(name, "NID_pkcs9_emailAddress", 22)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "NID_pkcs9_emailAddress", 22)) { 1 0 1
5221 /* ^ */
5222
5223 #ifdef NID_pkcs9_emailAddress
5224 1 return NID_pkcs9_emailAddress;
5225 #else
5226 goto not_there;
5227 #endif
5228  
5229 }
5230 0 break;
5231 3 case 't':
5232 3 ▶ if (!memcmp(name, "NID_netscape_cert_type", 22)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "NID_netscape_cert_type", 22)) { 2 1 3
5233 /* ^ */
5234
5235 #ifdef NID_netscape_cert_type
5236 2 return NID_netscape_cert_type;
5237 #else
5238 goto not_there;
5239 #endif
5240  
5241 }
5242 1 ▶ if (!memcmp(name, "NID_netscape_data_type", 22)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "NID_netscape_data_type", 22)) { 1 0 1
5243 /* ^ */
5244
5245 #ifdef NID_netscape_data_type
5246 1 return NID_netscape_data_type;
5247 #else
5248 goto not_there;
5249 #endif
5250  
5251 }
5252 0 break;
5253 }
5254 0 break;
5255 43 case 23:
5256 /* Names all of length 23. */
5257 /* AD_CERTIFICATE_REQUIRED AD_UNKNOWN_PSK_IDENTITY ERROR_WANT_RETRY_VERIFY
5258 F_GET_CLIENT_MASTER_KEY F_SSL_USE_RSAPRIVATEKEY LIBRESSL_VERSION_NUMBER
5259 NID_pkcs8ShroudedKeyBag NID_pkcs9_messageDigest NID_stateOrProvinceName
5260 OPENSSL_INFO_CONFIG_DIR OP_CRYPTOPRO_TLSEXT_BUG R_BAD_RESPONSE_ARGUMENT
5261 R_PUBLIC_KEY_IS_NOT_RSA SSL2_MT_CLIENT_FINISHED SSL2_MT_SERVER_FINISHED
5262 SSL3_MT_CERTIFICATE_URL TLSEXT_TYPE_renegotiate TLSEXT_TYPE_server_name
5263 X509_PURPOSE_SMIME_SIGN X509_PURPOSE_SSL_CLIENT X509_PURPOSE_SSL_SERVER
5264 X509_TRUST_OCSP_REQUEST X509_V_ERR_CERT_REVOKED X509_V_ERR_INVALID_CALL
5265 X509_V_ERR_STORE_LOOKUP X509_V_FLAG_INHIBIT_ANY X509_V_FLAG_INHIBIT_MAP
5266 X509_V_FLAG_POLICY_MASK X509_V_FLAG_X509_STRICT */
5267 /* Offset 13 gives the best switch position. */
5268 43 switch (name[13]) {
5269 1 case '5':
5270 1 ▶ if (!memcmp(name, "X509_V_FLAG_X509_STRICT", 23)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "X509_V_FLAG_X509_STRICT", 23)) { 1 0 1
5271 /* ^ */
5272
5273 #ifdef X509_V_FLAG_X509_STRICT
5274 1 return X509_V_FLAG_X509_STRICT;
5275 #else
5276 goto not_there;
5277 #endif
5278  
5279 }
5280 0 break;
5281 3 case 'C':
5282 3 ▶ if (!memcmp(name, "OPENSSL_INFO_CONFIG_DIR", 23)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "OPENSSL_INFO_CONFIG_DIR", 23)) { 3 0 3
5283 /* ^ */
5284
5285 #ifdef OPENSSL_INFO_CONFIG_DIR
5286 3 return OPENSSL_INFO_CONFIG_DIR;
5287 #else
5288 goto not_there;
5289 #endif
5290  
5291 }
5292 0 break;
5293 2 case 'E':
5294 2 ▶ if (!memcmp(name, "AD_CERTIFICATE_REQUIRED", 23)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "AD_CERTIFICATE_REQUIRED", 23)) { 1 1 2
5295 /* ^ */
5296
5297 #ifdef SSL_AD_CERTIFICATE_REQUIRED
5298 1 return SSL_AD_CERTIFICATE_REQUIRED;
5299 #else
5300 goto not_there;
5301 #endif
5302  
5303 }
5304 1 ▶ if (!memcmp(name, "R_BAD_RESPONSE_ARGUMENT", 23)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "R_BAD_RESPONSE_ARGUMENT", 23)) { 1 0 1
5305 /* ^ */
5306
5307 #ifdef SSL_R_BAD_RESPONSE_ARGUMENT
5308 return SSL_R_BAD_RESPONSE_ARGUMENT;
5309 #else
5310 1 goto not_there;
5311 #endif
5312  
5313 }
5314 0 break;
5315 1 case 'F':
5316 1 ▶ if (!memcmp(name, "SSL3_MT_CERTIFICATE_URL", 23)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "SSL3_MT_CERTIFICATE_URL", 23)) { 1 0 1
5317 /* ^ */
5318
5319 #ifdef SSL3_MT_CERTIFICATE_URL
5320 1 return SSL3_MT_CERTIFICATE_URL;
5321 #else
5322 goto not_there;
5323 #endif
5324  
5325 }
5326 0 break;
5327 11 case 'I':
5328 11 ▶ if (!memcmp(name, "LIBRESSL_VERSION_NUMBER", 23)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "LIBRESSL_VERSION_NUMBER", 23)) { 10 1 11
5329 /* ^ */
5330
5331 #ifdef LIBRESSL_VERSION_NUMBER
5332 return LIBRESSL_VERSION_NUMBER;
5333 #else
5334 10 goto not_there;
5335 #endif
5336  
5337 }
5338 1 ▶ if (!memcmp(name, "R_PUBLIC_KEY_IS_NOT_RSA", 23)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "R_PUBLIC_KEY_IS_NOT_RSA", 23)) { 1 0 1
5339 /* ^ */
5340
5341 #ifdef SSL_R_PUBLIC_KEY_IS_NOT_RSA
5342 return SSL_R_PUBLIC_KEY_IS_NOT_RSA;
5343 #else
5344 1 goto not_there;
5345 #endif
5346  
5347 }
5348 0 break;
5349 1 case 'K':
5350 1 ▶ if (!memcmp(name, "AD_UNKNOWN_PSK_IDENTITY", 23)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "AD_UNKNOWN_PSK_IDENTITY", 23)) { 1 0 1
5351 /* ^ */
5352
5353 #ifdef SSL_AD_UNKNOWN_PSK_IDENTITY
5354 1 return SSL_AD_UNKNOWN_PSK_IDENTITY;
5355 #else
5356 goto not_there;
5357 #endif
5358  
5359 }
5360 0 break;
5361 1 case 'M':
5362 1 ▶ if (!memcmp(name, "F_GET_CLIENT_MASTER_KEY", 23)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "F_GET_CLIENT_MASTER_KEY", 23)) { 1 0 1
5363 /* ^ */
5364
5365 #ifdef SSL_F_GET_CLIENT_MASTER_KEY
5366 return SSL_F_GET_CLIENT_MASTER_KEY;
5367 #else
5368 1 goto not_there;
5369 #endif
5370  
5371 }
5372 0 break;
5373 2 case 'N':
5374 2 ▶ if (!memcmp(name, "X509_V_FLAG_INHIBIT_ANY", 23)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "X509_V_FLAG_INHIBIT_ANY", 23)) { 1 1 2
5375 /* ^ */
5376
5377 #ifdef X509_V_FLAG_INHIBIT_ANY
5378 1 return X509_V_FLAG_INHIBIT_ANY;
5379 #else
5380 goto not_there;
5381 #endif
5382  
5383 }
5384 1 ▶ if (!memcmp(name, "X509_V_FLAG_INHIBIT_MAP", 23)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "X509_V_FLAG_INHIBIT_MAP", 23)) { 1 0 1
5385 /* ^ */
5386
5387 #ifdef X509_V_FLAG_INHIBIT_MAP
5388 1 return X509_V_FLAG_INHIBIT_MAP;
5389 #else
5390 goto not_there;
5391 #endif
5392  
5393 }
5394 0 break;
5395 2 case 'O':
5396 2 ▶ if (!memcmp(name, "X509_V_ERR_STORE_LOOKUP", 23)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "X509_V_ERR_STORE_LOOKUP", 23)) { 1 1 2
5397 /* ^ */
5398
5399 #ifdef X509_V_ERR_STORE_LOOKUP
5400 1 return X509_V_ERR_STORE_LOOKUP;
5401 #else
5402 goto not_there;
5403 #endif
5404  
5405 }
5406 1 ▶ if (!memcmp(name, "X509_V_FLAG_POLICY_MASK", 23)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "X509_V_FLAG_POLICY_MASK", 23)) { 1 0 1
5407 /* ^ */
5408
5409 #ifdef X509_V_FLAG_POLICY_MASK
5410 1 return X509_V_FLAG_POLICY_MASK;
5411 #else
5412 goto not_there;
5413 #endif
5414  
5415 }
5416 0 break;
5417 1 case 'P':
5418 1 ▶ if (!memcmp(name, "F_SSL_USE_RSAPRIVATEKEY", 23)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "F_SSL_USE_RSAPRIVATEKEY", 23)) { 1 0 1
5419 /* ^ */
5420
5421 #ifdef SSL_F_SSL_USE_RSAPRIVATEKEY
5422 1 return SSL_F_SSL_USE_RSAPRIVATEKEY;
5423 #else
5424 goto not_there;
5425 #endif
5426  
5427 }
5428 0 break;
5429 2 case 'R':
5430 2 ▶ if (!memcmp(name, "SSL2_MT_SERVER_FINISHED", 23)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "SSL2_MT_SERVER_FINISHED", 23)) { 1 1 2
5431 /* ^ */
5432
5433 #ifdef SSL2_MT_SERVER_FINISHED
5434 return SSL2_MT_SERVER_FINISHED;
5435 #else
5436 1 goto not_there;
5437 #endif
5438  
5439 }
5440 1 ▶ if (!memcmp(name, "X509_V_ERR_CERT_REVOKED", 23)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "X509_V_ERR_CERT_REVOKED", 23)) { 1 0 1
5441 /* ^ */
5442
5443 #ifdef X509_V_ERR_CERT_REVOKED
5444 1 return X509_V_ERR_CERT_REVOKED;
5445 #else
5446 goto not_there;
5447 #endif
5448  
5449 }
5450 0 break;
5451 6 case 'S':
5452 6 ▶ if (!memcmp(name, "X509_PURPOSE_SMIME_SIGN", 23)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "X509_PURPOSE_SMIME_SIGN", 23)) { 1 5 6
5453 /* ^ */
5454
5455 #ifdef X509_PURPOSE_SMIME_SIGN
5456 1 return X509_PURPOSE_SMIME_SIGN;
5457 #else
5458 goto not_there;
5459 #endif
5460  
5461 }
5462 5 ▶ if (!memcmp(name, "X509_PURPOSE_SSL_CLIENT", 23)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "X509_PURPOSE_SSL_CLIENT", 23)) { 3 2 5
5463 /* ^ */
5464
5465 #ifdef X509_PURPOSE_SSL_CLIENT
5466 3 return X509_PURPOSE_SSL_CLIENT;
5467 #else
5468 goto not_there;
5469 #endif
5470  
5471 }
5472 2 ▶ if (!memcmp(name, "X509_PURPOSE_SSL_SERVER", 23)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "X509_PURPOSE_SSL_SERVER", 23)) { 1 1 2
5473 /* ^ */
5474
5475 #ifdef X509_PURPOSE_SSL_SERVER
5476 1 return X509_PURPOSE_SSL_SERVER;
5477 #else
5478 goto not_there;
5479 #endif
5480  
5481 }
5482 1 ▶ if (!memcmp(name, "X509_TRUST_OCSP_REQUEST", 23)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "X509_TRUST_OCSP_REQUEST", 23)) { 1 0 1
5483 /* ^ */
5484
5485 #ifdef X509_TRUST_OCSP_REQUEST
5486 1 return X509_TRUST_OCSP_REQUEST;
5487 #else
5488 goto not_there;
5489 #endif
5490  
5491 }
5492 0 break;
5493 3 case 'T':
5494 3 ▶ if (!memcmp(name, "ERROR_WANT_RETRY_VERIFY", 23)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "ERROR_WANT_RETRY_VERIFY", 23)) { 1 2 3
5495 /* ^ */
5496
5497 #ifdef SSL_ERROR_WANT_RETRY_VERIFY
5498 1 return SSL_ERROR_WANT_RETRY_VERIFY;
5499 #else
5500 goto not_there;
5501 #endif
5502  
5503 }
5504 2 ▶ if (!memcmp(name, "OP_CRYPTOPRO_TLSEXT_BUG", 23)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "OP_CRYPTOPRO_TLSEXT_BUG", 23)) { 1 1 2
5505 /* ^ */
5506
5507 #ifdef SSL_OP_CRYPTOPRO_TLSEXT_BUG
5508 1 return SSL_OP_CRYPTOPRO_TLSEXT_BUG;
5509 #else
5510 goto not_there;
5511 #endif
5512  
5513 }
5514 1 ▶ if (!memcmp(name, "SSL2_MT_CLIENT_FINISHED", 23)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "SSL2_MT_CLIENT_FINISHED", 23)) { 1 0 1
5515 /* ^ */
5516
5517 #ifdef SSL2_MT_CLIENT_FINISHED
5518 return SSL2_MT_CLIENT_FINISHED;
5519 #else
5520 1 goto not_there;
5521 #endif
5522  
5523 }
5524 0 break;
5525 1 case 'V':
5526 1 ▶ if (!memcmp(name, "X509_V_ERR_INVALID_CALL", 23)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "X509_V_ERR_INVALID_CALL", 23)) { 1 0 1
5527 /* ^ */
5528
5529 #ifdef X509_V_ERR_INVALID_CALL
5530 1 return X509_V_ERR_INVALID_CALL;
5531 #else
5532 goto not_there;
5533 #endif
5534  
5535 }
5536 0 break;
5537 2 case 'e':
5538 2 ▶ if (!memcmp(name, "TLSEXT_TYPE_renegotiate", 23)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "TLSEXT_TYPE_renegotiate", 23)) { 1 1 2
5539 /* ^ */
5540
5541 #ifdef TLSEXT_TYPE_renegotiate
5542 1 return TLSEXT_TYPE_renegotiate;
5543 #else
5544 goto not_there;
5545 #endif
5546  
5547 }
5548 1 ▶ if (!memcmp(name, "TLSEXT_TYPE_server_name", 23)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "TLSEXT_TYPE_server_name", 23)) { 1 0 1
5549 /* ^ */
5550
5551 #ifdef TLSEXT_TYPE_server_name
5552 1 return TLSEXT_TYPE_server_name;
5553 #else
5554 goto not_there;
5555 #endif
5556  
5557 }
5558 0 break;
5559 1 case 'o':
5560 1 ▶ if (!memcmp(name, "NID_stateOrProvinceName", 23)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "NID_stateOrProvinceName", 23)) { 1 0 1
5561 /* ^ */
5562
5563 #ifdef NID_stateOrProvinceName
5564 1 return NID_stateOrProvinceName;
5565 #else
5566 goto not_there;
5567 #endif
5568  
5569 }
5570 0 break;
5571 1 case 's':
5572 1 ▶ if (!memcmp(name, "NID_pkcs9_messageDigest", 23)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "NID_pkcs9_messageDigest", 23)) { 1 0 1
5573 /* ^ */
5574
5575 #ifdef NID_pkcs9_messageDigest
5576 1 return NID_pkcs9_messageDigest;
5577 #else
5578 goto not_there;
5579 #endif
5580  
5581 }
5582 0 break;
5583 1 case 'u':
5584 1 ▶ if (!memcmp(name, "NID_pkcs8ShroudedKeyBag", 23)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "NID_pkcs8ShroudedKeyBag", 23)) { 1 0 1
5585 /* ^ */
5586
5587 #ifdef NID_pkcs8ShroudedKeyBag
5588 1 return NID_pkcs8ShroudedKeyBag;
5589 #else
5590 goto not_there;
5591 #endif
5592  
5593 }
5594 0 break;
5595 }
5596 1 break;
5597 41 case 24:
5598 /* Names all of length 24. */
5599 /* AD_DECOMPRESSION_FAILURE AD_INSUFFICIENT_SECURITY
5600 AD_UNSUPPORTED_EXTENSION F_SSL_RSA_PUBLIC_ENCRYPT
5601 NID_certificate_policies NID_md2WithRSAEncryption
5602 NID_md5WithRSAEncryption NID_netscape_renewal_url
5603 NID_pbeWithMD2AndDES_CBC NID_pbeWithMD2AndRC2_CBC
5604 NID_pbeWithMD5AndDES_CBC NID_pbeWithMD5AndRC2_CBC
5605 NID_shaWithRSAEncryption OPENSSL_INFO_ENGINES_DIR
5606 OPENSSL_INFO_MODULES_DIR OPENSSL_INFO_SEED_SOURCE
5607 OPENSSL_INIT_ENGINE_CAPI OPENSSL_INIT_LOAD_CONFIG
5608 OP_IGNORE_UNEXPECTED_EOF OP_LEGACY_SERVER_CONNECT
5609 OP_MICROSOFT_SESS_ID_BUG OP_TLS_BLOCK_PADDING_BUG
5610 R_CHALLENGE_IS_DIFFERENT R_CIPHER_TABLE_SRC_ERROR
5611 R_PEER_ERROR_CERTIFICATE R_READ_WRONG_PACKET_TYPE
5612 SESS_CACHE_NO_AUTO_CLEAR SSL3_RT_APPLICATION_DATA
5613 TLSEXT_TYPE_client_authz TLSEXT_TYPE_server_authz
5614 TLSEXT_TYPE_user_mapping X509_PURPOSE_OCSP_HELPER
5615 X509_V_ERR_CERT_REJECTED X509_V_ERR_DANE_NO_MATCH
5616 X509_V_ERR_NO_VALID_SCTS X509_V_FLAG_POLICY_CHECK */
5617 /* Offset 13 gives the best switch position. */
5618 41 switch (name[13]) {
5619 2 case '2':
5620 2 ▶ if (!memcmp(name, "NID_pbeWithMD2AndDES_CBC", 24)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "NID_pbeWithMD2AndDES_CBC", 24)) { 1 1 2
5621 /* ^ */
5622
5623 #ifdef NID_pbeWithMD2AndDES_CBC
5624 1 return NID_pbeWithMD2AndDES_CBC;
5625 #else
5626 goto not_there;
5627 #endif
5628  
5629 }
5630 1 ▶ if (!memcmp(name, "NID_pbeWithMD2AndRC2_CBC", 24)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "NID_pbeWithMD2AndRC2_CBC", 24)) { 1 0 1
5631 /* ^ */
5632
5633 #ifdef NID_pbeWithMD2AndRC2_CBC
5634 1 return NID_pbeWithMD2AndRC2_CBC;
5635 #else
5636 goto not_there;
5637 #endif
5638  
5639 }
5640 0 break;
5641 2 case '5':
5642 2 ▶ if (!memcmp(name, "NID_pbeWithMD5AndDES_CBC", 24)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "NID_pbeWithMD5AndDES_CBC", 24)) { 1 1 2
5643 /* ^ */
5644
5645 #ifdef NID_pbeWithMD5AndDES_CBC
5646 1 return NID_pbeWithMD5AndDES_CBC;
5647 #else
5648 goto not_there;
5649 #endif
5650  
5651 }
5652 1 ▶ if (!memcmp(name, "NID_pbeWithMD5AndRC2_CBC", 24)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "NID_pbeWithMD5AndRC2_CBC", 24)) { 1 0 1
5653 /* ^ */
5654
5655 #ifdef NID_pbeWithMD5AndRC2_CBC
5656 1 return NID_pbeWithMD5AndRC2_CBC;
5657 #else
5658 goto not_there;
5659 #endif
5660  
5661 }
5662 0 break;
5663 3 case 'A':
5664 3 ▶ if (!memcmp(name, "NID_md2WithRSAEncryption", 24)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "NID_md2WithRSAEncryption", 24)) { 1 2 3
5665 /* ^ */
5666
5667 #ifdef NID_md2WithRSAEncryption
5668 1 return NID_md2WithRSAEncryption;
5669 #else
5670 goto not_there;
5671 #endif
5672  
5673 }
5674 2 ▶ if (!memcmp(name, "NID_md5WithRSAEncryption", 24)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "NID_md5WithRSAEncryption", 24)) { 1 1 2
5675 /* ^ */
5676
5677 #ifdef NID_md5WithRSAEncryption
5678 1 return NID_md5WithRSAEncryption;
5679 #else
5680 goto not_there;
5681 #endif
5682  
5683 }
5684 1 ▶ if (!memcmp(name, "NID_shaWithRSAEncryption", 24)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "NID_shaWithRSAEncryption", 24)) { 1 0 1
5685 /* ^ */
5686
5687 #ifdef NID_shaWithRSAEncryption
5688 1 return NID_shaWithRSAEncryption;
5689 #else
5690 goto not_there;
5691 #endif
5692  
5693 }
5694 0 break;
5695 2 case 'C':
5696 2 ▶ if (!memcmp(name, "R_PEER_ERROR_CERTIFICATE", 24)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "R_PEER_ERROR_CERTIFICATE", 24)) { 1 1 2
5697 /* ^ */
5698
5699 #ifdef SSL_R_PEER_ERROR_CERTIFICATE
5700 return SSL_R_PEER_ERROR_CERTIFICATE;
5701 #else
5702 1 goto not_there;
5703 #endif
5704  
5705 }
5706 1 ▶ if (!memcmp(name, "SSL3_RT_APPLICATION_DATA", 24)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "SSL3_RT_APPLICATION_DATA", 24)) { 1 0 1
5707 /* ^ */
5708
5709 #ifdef SSL3_RT_APPLICATION_DATA
5710 1 return SSL3_RT_APPLICATION_DATA;
5711 #else
5712 goto not_there;
5713 #endif
5714  
5715 }
5716 0 break;
5717 1 case 'D':
5718 1 ▶ if (!memcmp(name, "AD_UNSUPPORTED_EXTENSION", 24)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "AD_UNSUPPORTED_EXTENSION", 24)) { 1 0 1
5719 /* ^ */
5720
5721 #ifdef SSL_AD_UNSUPPORTED_EXTENSION
5722 1 return SSL_AD_UNSUPPORTED_EXTENSION;
5723 #else
5724 goto not_there;
5725 #endif
5726  
5727 }
5728 0 break;
5729 4 case 'E':
5730 4 ▶ if (!memcmp(name, "OPENSSL_INFO_ENGINES_DIR", 24)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "OPENSSL_INFO_ENGINES_DIR", 24)) { 2 2 4
5731 /* ^ */
5732
5733 #ifdef OPENSSL_INFO_ENGINES_DIR
5734 2 return OPENSSL_INFO_ENGINES_DIR;
5735 #else
5736 goto not_there;
5737 #endif
5738  
5739 }
5740 2 ▶ if (!memcmp(name, "OPENSSL_INIT_ENGINE_CAPI", 24)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "OPENSSL_INIT_ENGINE_CAPI", 24)) { 1 1 2
5741 /* ^ */
5742
5743 #ifdef OPENSSL_INIT_ENGINE_CAPI
5744 1 return OPENSSL_INIT_ENGINE_CAPI;
5745 #else
5746 goto not_there;
5747 #endif
5748  
5749 }
5750 1 ▶ if (!memcmp(name, "R_CIPHER_TABLE_SRC_ERROR", 24)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "R_CIPHER_TABLE_SRC_ERROR", 24)) { 1 0 1
5751 /* ^ */
5752
5753 #ifdef SSL_R_CIPHER_TABLE_SRC_ERROR
5754 return SSL_R_CIPHER_TABLE_SRC_ERROR;
5755 #else
5756 1 goto not_there;
5757 #endif
5758  
5759 }
5760 0 break;
5761 1 case 'I':
5762 1 ▶ if (!memcmp(name, "AD_DECOMPRESSION_FAILURE", 24)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "AD_DECOMPRESSION_FAILURE", 24)) { 1 0 1
5763 /* ^ */
5764
5765 #ifdef SSL_AD_DECOMPRESSION_FAILURE
5766 1 return SSL_AD_DECOMPRESSION_FAILURE;
5767 #else
5768 goto not_there;
5769 #endif
5770  
5771 }
5772 0 break;
5773 3 case 'L':
5774 3 ▶ if (!memcmp(name, "F_SSL_RSA_PUBLIC_ENCRYPT", 24)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "F_SSL_RSA_PUBLIC_ENCRYPT", 24)) { 1 2 3
5775 /* ^ */
5776
5777 #ifdef SSL_F_SSL_RSA_PUBLIC_ENCRYPT
5778 return SSL_F_SSL_RSA_PUBLIC_ENCRYPT;
5779 #else
5780 1 goto not_there;
5781 #endif
5782  
5783 }
5784 2 ▶ if (!memcmp(name, "OPENSSL_INIT_LOAD_CONFIG", 24)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "OPENSSL_INIT_LOAD_CONFIG", 24)) { 2 0 2
5785 /* ^ */
5786
5787 #ifdef OPENSSL_INIT_LOAD_CONFIG
5788 2 return OPENSSL_INIT_LOAD_CONFIG;
5789 #else
5790 goto not_there;
5791 #endif
5792  
5793 }
5794 0 break;
5795 2 case 'M':
5796 2 ▶ if (!memcmp(name, "OPENSSL_INFO_MODULES_DIR", 24)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "OPENSSL_INFO_MODULES_DIR", 24)) { 2 0 2
5797 /* ^ */
5798
5799 #ifdef OPENSSL_INFO_MODULES_DIR
5800 2 return OPENSSL_INFO_MODULES_DIR;
5801 #else
5802 goto not_there;
5803 #endif
5804  
5805 }
5806 0 break;
5807 2 case 'N':
5808 2 ▶ if (!memcmp(name, "AD_INSUFFICIENT_SECURITY", 24)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "AD_INSUFFICIENT_SECURITY", 24)) { 1 1 2
5809 /* ^ */
5810
5811 #ifdef SSL_AD_INSUFFICIENT_SECURITY
5812 1 return SSL_AD_INSUFFICIENT_SECURITY;
5813 #else
5814 goto not_there;
5815 #endif
5816  
5817 }
5818 1 ▶ if (!memcmp(name, "X509_V_ERR_DANE_NO_MATCH", 24)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "X509_V_ERR_DANE_NO_MATCH", 24)) { 1 0 1
5819 /* ^ */
5820
5821 #ifdef X509_V_ERR_DANE_NO_MATCH
5822 1 return X509_V_ERR_DANE_NO_MATCH;
5823 #else
5824 goto not_there;
5825 #endif
5826  
5827 }
5828 0 break;
5829 3 case 'O':
5830 3 ▶ if (!memcmp(name, "X509_PURPOSE_OCSP_HELPER", 24)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "X509_PURPOSE_OCSP_HELPER", 24)) { 1 2 3
5831 /* ^ */
5832
5833 #ifdef X509_PURPOSE_OCSP_HELPER
5834 1 return X509_PURPOSE_OCSP_HELPER;
5835 #else
5836 goto not_there;
5837 #endif
5838  
5839 }
5840 2 ▶ if (!memcmp(name, "X509_V_FLAG_POLICY_CHECK", 24)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "X509_V_FLAG_POLICY_CHECK", 24)) { 2 0 2
5841 /* ^ */
5842
5843 #ifdef X509_V_FLAG_POLICY_CHECK
5844 2 return X509_V_FLAG_POLICY_CHECK;
5845 #else
5846 goto not_there;
5847 #endif
5848  
5849 }
5850 0 break;
5851 2 case 'P':
5852 2 ▶ if (!memcmp(name, "OP_TLS_BLOCK_PADDING_BUG", 24)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "OP_TLS_BLOCK_PADDING_BUG", 24)) { 1 1 2
5853 /* ^ */
5854
5855 #ifdef SSL_OP_TLS_BLOCK_PADDING_BUG
5856 1 return SSL_OP_TLS_BLOCK_PADDING_BUG;
5857 #else
5858 goto not_there;
5859 #endif
5860  
5861 }
5862 1 ▶ if (!memcmp(name, "R_READ_WRONG_PACKET_TYPE", 24)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "R_READ_WRONG_PACKET_TYPE", 24)) { 1 0 1
5863 /* ^ */
5864
5865 #ifdef SSL_R_READ_WRONG_PACKET_TYPE
5866 return SSL_R_READ_WRONG_PACKET_TYPE;
5867 #else
5868 1 goto not_there;
5869 #endif
5870  
5871 }
5872 0 break;
5873 1 case 'R':
5874 1 ▶ if (!memcmp(name, "X509_V_ERR_CERT_REJECTED", 24)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "X509_V_ERR_CERT_REJECTED", 24)) { 1 0 1
5875 /* ^ */
5876
5877 #ifdef X509_V_ERR_CERT_REJECTED
5878 1 return X509_V_ERR_CERT_REJECTED;
5879 #else
5880 goto not_there;
5881 #endif
5882  
5883 }
5884 0 break;
5885 4 case 'S':
5886 4 ▶ if (!memcmp(name, "OPENSSL_INFO_SEED_SOURCE", 24)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "OPENSSL_INFO_SEED_SOURCE", 24)) { 2 2 4
5887 /* ^ */
5888
5889 #ifdef OPENSSL_INFO_SEED_SOURCE
5890 2 return OPENSSL_INFO_SEED_SOURCE;
5891 #else
5892 goto not_there;
5893 #endif
5894  
5895 }
5896 2 ▶ if (!memcmp(name, "OP_MICROSOFT_SESS_ID_BUG", 24)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "OP_MICROSOFT_SESS_ID_BUG", 24)) { 1 1 2
5897 /* ^ */
5898
5899 #ifdef SSL_OP_MICROSOFT_SESS_ID_BUG
5900 1 return SSL_OP_MICROSOFT_SESS_ID_BUG;
5901 #else
5902 goto not_there;
5903 #endif
5904  
5905 }
5906 1 ▶ if (!memcmp(name, "R_CHALLENGE_IS_DIFFERENT", 24)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "R_CHALLENGE_IS_DIFFERENT", 24)) { 1 0 1
5907 /* ^ */
5908
5909 #ifdef SSL_R_CHALLENGE_IS_DIFFERENT
5910 return SSL_R_CHALLENGE_IS_DIFFERENT;
5911 #else
5912 1 goto not_there;
5913 #endif
5914  
5915 }
5916 0 break;
5917 1 case 'V':
5918 1 ▶ if (!memcmp(name, "OP_LEGACY_SERVER_CONNECT", 24)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "OP_LEGACY_SERVER_CONNECT", 24)) { 1 0 1
5919 /* ^ */
5920
5921 #ifdef SSL_OP_LEGACY_SERVER_CONNECT
5922 1 return SSL_OP_LEGACY_SERVER_CONNECT;
5923 #else
5924 goto not_there;
5925 #endif
5926  
5927 }
5928 0 break;
5929 1 case 'X':
5930 1 ▶ if (!memcmp(name, "OP_IGNORE_UNEXPECTED_EOF", 24)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "OP_IGNORE_UNEXPECTED_EOF", 24)) { 1 0 1
5931 /* ^ */
5932
5933 #ifdef SSL_OP_IGNORE_UNEXPECTED_EOF
5934 1 return SSL_OP_IGNORE_UNEXPECTED_EOF;
5935 #else
5936 goto not_there;
5937 #endif
5938  
5939 }
5940 0 break;
5941 2 case '_':
5942 2 ▶ if (!memcmp(name, "SESS_CACHE_NO_AUTO_CLEAR", 24)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "SESS_CACHE_NO_AUTO_CLEAR", 24)) { 1 1 2
5943 /* ^ */
5944
5945 #ifdef SSL_SESS_CACHE_NO_AUTO_CLEAR
5946 1 return SSL_SESS_CACHE_NO_AUTO_CLEAR;
5947 #else
5948 goto not_there;
5949 #endif
5950  
5951 }
5952 1 ▶ if (!memcmp(name, "X509_V_ERR_NO_VALID_SCTS", 24)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "X509_V_ERR_NO_VALID_SCTS", 24)) { 1 0 1
5953 /* ^ */
5954
5955 #ifdef X509_V_ERR_NO_VALID_SCTS
5956 1 return X509_V_ERR_NO_VALID_SCTS;
5957 #else
5958 goto not_there;
5959 #endif
5960  
5961 }
5962 0 break;
5963 1 case 'e':
5964 1 ▶ if (!memcmp(name, "TLSEXT_TYPE_server_authz", 24)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "TLSEXT_TYPE_server_authz", 24)) { 1 0 1
5965 /* ^ */
5966
5967 #ifdef TLSEXT_TYPE_server_authz
5968 1 return TLSEXT_TYPE_server_authz;
5969 #else
5970 goto not_there;
5971 #endif
5972  
5973 }
5974 0 break;
5975 1 case 'l':
5976 1 ▶ if (!memcmp(name, "TLSEXT_TYPE_client_authz", 24)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "TLSEXT_TYPE_client_authz", 24)) { 1 0 1
5977 /* ^ */
5978
5979 #ifdef TLSEXT_TYPE_client_authz
5980 1 return TLSEXT_TYPE_client_authz;
5981 #else
5982 goto not_there;
5983 #endif
5984  
5985 }
5986 0 break;
5987 1 case 'r':
5988 1 ▶ if (!memcmp(name, "NID_netscape_renewal_url", 24)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "NID_netscape_renewal_url", 24)) { 1 0 1
5989 /* ^ */
5990
5991 #ifdef NID_netscape_renewal_url
5992 1 return NID_netscape_renewal_url;
5993 #else
5994 goto not_there;
5995 #endif
5996  
5997 }
5998 0 break;
5999 1 case 's':
6000 1 ▶ if (!memcmp(name, "TLSEXT_TYPE_user_mapping", 24)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "TLSEXT_TYPE_user_mapping", 24)) { 1 0 1
6001 /* ^ */
6002
6003 #ifdef TLSEXT_TYPE_user_mapping
6004 1 return TLSEXT_TYPE_user_mapping;
6005 #else
6006 goto not_there;
6007 #endif
6008  
6009 }
6010 0 break;
6011 1 case 't':
6012 1 ▶ if (!memcmp(name, "NID_certificate_policies", 24)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "NID_certificate_policies", 24)) { 1 0 1
6013 /* ^ */
6014
6015 #ifdef NID_certificate_policies
6016 1 return NID_certificate_policies;
6017 #else
6018 goto not_there;
6019 #endif
6020  
6021 }
6022 0 break;
6023 }
6024 0 break;
6025 37 case 25:
6026 /* Names all of length 25. */
6027 /* AD_INAPPROPRIATE_FALLBACK CONF_MFLAGS_IGNORE_ERRORS
6028 F_SSL_RSA_PRIVATE_DECRYPT F_SSL_USE_PRIVATEKEY_ASN1
6029 F_SSL_USE_PRIVATEKEY_FILE MODE_ENABLE_PARTIAL_WRITE
6030 NID_pbeWithSHA1AndDES_CBC NID_pbeWithSHA1AndRC2_CBC
6031 NID_sha1WithRSAEncryption OPENSSL_INFO_CPU_SETTINGS
6032 OPENSSL_INIT_ENGINE_AFALG OP_MSIE_SSLV2_RSA_PADDING
6033 OP_NETSCAPE_CHALLENGE_BUG OP_SAFARI_ECDHE_ECDSA_BUG
6034 R_BAD_AUTHENTICATION_TYPE SSL2_MT_CLIENT_MASTER_KEY
6035 SSL3_MT_END_OF_EARLY_DATA SSL3_MT_NEWSESSION_TICKET
6036 SSL3_MT_SUPPLEMENTAL_DATA TLSEXT_TYPE_psk_kex_modes
6037 V_OCSP_CERTSTATUS_REVOKED V_OCSP_CERTSTATUS_UNKNOWN
6038 X509_V_ERR_CA_MD_TOO_WEAK X509_V_ERR_CERT_UNTRUSTED
6039 X509_V_ERR_EMAIL_MISMATCH X509_V_ERR_INVALID_NON_CA
6040 X509_V_ERR_SUBTREE_MINMAX X509_V_FLAG_CRL_CHECK_ALL
6041 X509_V_FLAG_LEGACY_VERIFY X509_V_FLAG_NOTIFY_POLICY
6042 X509_V_FLAG_NO_ALT_CHAINS X509_V_FLAG_NO_CHECK_TIME
6043 X509_V_FLAG_PARTIAL_CHAIN X509_V_FLAG_TRUSTED_FIRST */
6044 /* Offset 20 gives the best switch position. */
6045 37 switch (name[20]) {
6046 1 case '2':
6047 1 ▶ if (!memcmp(name, "NID_pbeWithSHA1AndRC2_CBC", 25)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "NID_pbeWithSHA1AndRC2_CBC", 25)) { 1 0 1
6048 /* ^ */
6049
6050 #ifdef NID_pbeWithSHA1AndRC2_CBC
6051 1 return NID_pbeWithSHA1AndRC2_CBC;
6052 #else
6053 goto not_there;
6054 #endif
6055  
6056 }
6057 0 break;
6058 2 case 'A':
6059 2 ▶ if (!memcmp(name, "OPENSSL_INIT_ENGINE_AFALG", 25)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "OPENSSL_INIT_ENGINE_AFALG", 25)) { 1 1 2
6060 /* ^ */
6061
6062 #ifdef OPENSSL_INIT_ENGINE_AFALG
6063 1 return OPENSSL_INIT_ENGINE_AFALG;
6064 #else
6065 goto not_there;
6066 #endif
6067  
6068 }
6069 1 ▶ if (!memcmp(name, "OP_SAFARI_ECDHE_ECDSA_BUG", 25)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "OP_SAFARI_ECDHE_ECDSA_BUG", 25)) { 1 0 1
6070 /* ^ */
6071
6072 #ifdef SSL_OP_SAFARI_ECDHE_ECDSA_BUG
6073 1 return SSL_OP_SAFARI_ECDHE_ECDSA_BUG;
6074 #else
6075 goto not_there;
6076 #endif
6077  
6078 }
6079 0 break;
6080 2 case 'C':
6081 2 ▶ if (!memcmp(name, "F_SSL_RSA_PRIVATE_DECRYPT", 25)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "F_SSL_RSA_PRIVATE_DECRYPT", 25)) { 1 1 2
6082 /* ^ */
6083
6084 #ifdef SSL_F_SSL_RSA_PRIVATE_DECRYPT
6085 return SSL_F_SSL_RSA_PRIVATE_DECRYPT;
6086 #else
6087 1 goto not_there;
6088 #endif
6089  
6090 }
6091 1 ▶ if (!memcmp(name, "X509_V_FLAG_PARTIAL_CHAIN", 25)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "X509_V_FLAG_PARTIAL_CHAIN", 25)) { 1 0 1
6092 /* ^ */
6093
6094 #ifdef X509_V_FLAG_PARTIAL_CHAIN
6095 1 return X509_V_FLAG_PARTIAL_CHAIN;
6096 #else
6097 goto not_there;
6098 #endif
6099  
6100 }
6101 0 break;
6102 1 case 'D':
6103 1 ▶ if (!memcmp(name, "OP_MSIE_SSLV2_RSA_PADDING", 25)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "OP_MSIE_SSLV2_RSA_PADDING", 25)) { 1 0 1
6104 /* ^ */
6105
6106 #ifdef SSL_OP_MSIE_SSLV2_RSA_PADDING
6107 1 return SSL_OP_MSIE_SSLV2_RSA_PADDING;
6108 #else
6109 goto not_there;
6110 #endif
6111  
6112 }
6113 0 break;
6114 2 case 'E':
6115 2 ▶ if (!memcmp(name, "OP_NETSCAPE_CHALLENGE_BUG", 25)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "OP_NETSCAPE_CHALLENGE_BUG", 25)) { 1 1 2
6116 /* ^ */
6117
6118 #ifdef SSL_OP_NETSCAPE_CHALLENGE_BUG
6119 1 return SSL_OP_NETSCAPE_CHALLENGE_BUG;
6120 #else
6121 goto not_there;
6122 #endif
6123  
6124 }
6125 1 ▶ if (!memcmp(name, "X509_V_FLAG_LEGACY_VERIFY", 25)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "X509_V_FLAG_LEGACY_VERIFY", 25)) { 1 0 1
6126 /* ^ */
6127
6128 #ifdef X509_V_FLAG_LEGACY_VERIFY
6129 return X509_V_FLAG_LEGACY_VERIFY;
6130 #else
6131 1 goto not_there;
6132 #endif
6133  
6134 }
6135 0 break;
6136 1 case 'F':
6137 1 ▶ if (!memcmp(name, "X509_V_FLAG_TRUSTED_FIRST", 25)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "X509_V_FLAG_TRUSTED_FIRST", 25)) { 1 0 1
6138 /* ^ */
6139
6140 #ifdef X509_V_FLAG_TRUSTED_FIRST
6141 1 return X509_V_FLAG_TRUSTED_FIRST;
6142 #else
6143 goto not_there;
6144 #endif
6145  
6146 }
6147 0 break;
6148 1 case 'H':
6149 1 ▶ if (!memcmp(name, "X509_V_FLAG_NO_ALT_CHAINS", 25)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "X509_V_FLAG_NO_ALT_CHAINS", 25)) { 1 0 1
6150 /* ^ */
6151
6152 #ifdef X509_V_FLAG_NO_ALT_CHAINS
6153 1 return X509_V_FLAG_NO_ALT_CHAINS;
6154 #else
6155 goto not_there;
6156 #endif
6157  
6158 }
6159 0 break;
6160 2 case 'I':
6161 2 ▶ if (!memcmp(name, "SSL3_MT_NEWSESSION_TICKET", 25)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "SSL3_MT_NEWSESSION_TICKET", 25)) { 1 1 2
6162 /* ^ */
6163
6164 #ifdef SSL3_MT_NEWSESSION_TICKET
6165 1 return SSL3_MT_NEWSESSION_TICKET;
6166 #else
6167 goto not_there;
6168 #endif
6169  
6170 }
6171 1 ▶ if (!memcmp(name, "X509_V_ERR_SUBTREE_MINMAX", 25)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "X509_V_ERR_SUBTREE_MINMAX", 25)) { 1 0 1
6172 /* ^ */
6173
6174 #ifdef X509_V_ERR_SUBTREE_MINMAX
6175 1 return X509_V_ERR_SUBTREE_MINMAX;
6176 #else
6177 goto not_there;
6178 #endif
6179  
6180 }
6181 0 break;
6182 2 case 'K':
6183 2 ▶ if (!memcmp(name, "V_OCSP_CERTSTATUS_UNKNOWN", 25)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "V_OCSP_CERTSTATUS_UNKNOWN", 25)) { 1 1 2
6184 /* ^ */
6185
6186 #ifdef V_OCSP_CERTSTATUS_UNKNOWN
6187 1 return V_OCSP_CERTSTATUS_UNKNOWN;
6188 #else
6189 goto not_there;
6190 #endif
6191  
6192 }
6193 1 ▶ if (!memcmp(name, "X509_V_FLAG_CRL_CHECK_ALL", 25)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "X509_V_FLAG_CRL_CHECK_ALL", 25)) { 1 0 1
6194 /* ^ */
6195
6196 #ifdef X509_V_FLAG_CRL_CHECK_ALL
6197 1 return X509_V_FLAG_CRL_CHECK_ALL;
6198 #else
6199 goto not_there;
6200 #endif
6201  
6202 }
6203 0 break;
6204 1 case 'L':
6205 1 ▶ if (!memcmp(name, "AD_INAPPROPRIATE_FALLBACK", 25)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "AD_INAPPROPRIATE_FALLBACK", 25)) { 1 0 1
6206 /* ^ */
6207
6208 #ifdef SSL_AD_INAPPROPRIATE_FALLBACK
6209 1 return SSL_AD_INAPPROPRIATE_FALLBACK;
6210 #else
6211 goto not_there;
6212 #endif
6213  
6214 }
6215 0 break;
6216 1 case 'M':
6217 1 ▶ if (!memcmp(name, "X509_V_ERR_EMAIL_MISMATCH", 25)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "X509_V_ERR_EMAIL_MISMATCH", 25)) { 1 0 1
6218 /* ^ */
6219
6220 #ifdef X509_V_ERR_EMAIL_MISMATCH
6221 1 return X509_V_ERR_EMAIL_MISMATCH;
6222 #else
6223 goto not_there;
6224 #endif
6225  
6226 }
6227 0 break;
6228 2 case 'O':
6229 2 ▶ if (!memcmp(name, "X509_V_ERR_INVALID_NON_CA", 25)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "X509_V_ERR_INVALID_NON_CA", 25)) { 1 1 2
6230 /* ^ */
6231
6232 #ifdef X509_V_ERR_INVALID_NON_CA
6233 1 return X509_V_ERR_INVALID_NON_CA;
6234 #else
6235 goto not_there;
6236 #endif
6237  
6238 }
6239 1 ▶ if (!memcmp(name, "X509_V_FLAG_NOTIFY_POLICY", 25)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "X509_V_FLAG_NOTIFY_POLICY", 25)) { 1 0 1
6240 /* ^ */
6241
6242 #ifdef X509_V_FLAG_NOTIFY_POLICY
6243 1 return X509_V_FLAG_NOTIFY_POLICY;
6244 #else
6245 goto not_there;
6246 #endif
6247  
6248 }
6249 0 break;
6250 2 case 'R':
6251 2 ▶ if (!memcmp(name, "CONF_MFLAGS_IGNORE_ERRORS", 25)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "CONF_MFLAGS_IGNORE_ERRORS", 25)) { 1 1 2
6252 /* ^ */
6253
6254 #ifdef CONF_MFLAGS_IGNORE_ERRORS
6255 1 return CONF_MFLAGS_IGNORE_ERRORS;
6256 #else
6257 goto not_there;
6258 #endif
6259  
6260 }
6261 1 ▶ if (!memcmp(name, "SSL2_MT_CLIENT_MASTER_KEY", 25)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "SSL2_MT_CLIENT_MASTER_KEY", 25)) { 1 0 1
6262 /* ^ */
6263
6264 #ifdef SSL2_MT_CLIENT_MASTER_KEY
6265 return SSL2_MT_CLIENT_MASTER_KEY;
6266 #else
6267 1 goto not_there;
6268 #endif
6269  
6270 }
6271 0 break;
6272 1 case 'S':
6273 1 ▶ if (!memcmp(name, "NID_pbeWithSHA1AndDES_CBC", 25)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "NID_pbeWithSHA1AndDES_CBC", 25)) { 1 0 1
6274 /* ^ */
6275
6276 #ifdef NID_pbeWithSHA1AndDES_CBC
6277 1 return NID_pbeWithSHA1AndDES_CBC;
6278 #else
6279 goto not_there;
6280 #endif
6281  
6282 }
6283 0 break;
6284 2 case 'T':
6285 2 ▶ if (!memcmp(name, "OPENSSL_INFO_CPU_SETTINGS", 25)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "OPENSSL_INFO_CPU_SETTINGS", 25)) { 2 0 2
6286 /* ^ */
6287
6288 #ifdef OPENSSL_INFO_CPU_SETTINGS
6289 2 return OPENSSL_INFO_CPU_SETTINGS;
6290 #else
6291 goto not_there;
6292 #endif
6293  
6294 }
6295 0 break;
6296 1 case 'U':
6297 1 ▶ if (!memcmp(name, "X509_V_ERR_CERT_UNTRUSTED", 25)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "X509_V_ERR_CERT_UNTRUSTED", 25)) { 1 0 1
6298 /* ^ */
6299
6300 #ifdef X509_V_ERR_CERT_UNTRUSTED
6301 1 return X509_V_ERR_CERT_UNTRUSTED;
6302 #else
6303 goto not_there;
6304 #endif
6305  
6306 }
6307 0 break;
6308 1 case 'V':
6309 1 ▶ if (!memcmp(name, "V_OCSP_CERTSTATUS_REVOKED", 25)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "V_OCSP_CERTSTATUS_REVOKED", 25)) { 1 0 1
6310 /* ^ */
6311
6312 #ifdef V_OCSP_CERTSTATUS_REVOKED
6313 1 return V_OCSP_CERTSTATUS_REVOKED;
6314 #else
6315 goto not_there;
6316 #endif
6317  
6318 }
6319 0 break;
6320 1 case 'W':
6321 1 ▶ if (!memcmp(name, "MODE_ENABLE_PARTIAL_WRITE", 25)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "MODE_ENABLE_PARTIAL_WRITE", 25)) { 1 0 1
6322 /* ^ */
6323
6324 #ifdef SSL_MODE_ENABLE_PARTIAL_WRITE
6325 1 return SSL_MODE_ENABLE_PARTIAL_WRITE;
6326 #else
6327 goto not_there;
6328 #endif
6329  
6330 }
6331 0 break;
6332 7 case '_':
6333 7 ▶ if (!memcmp(name, "F_SSL_USE_PRIVATEKEY_ASN1", 25)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "F_SSL_USE_PRIVATEKEY_ASN1", 25)) { 1 6 7
6334 /* ^ */
6335
6336 #ifdef SSL_F_SSL_USE_PRIVATEKEY_ASN1
6337 1 return SSL_F_SSL_USE_PRIVATEKEY_ASN1;
6338 #else
6339 goto not_there;
6340 #endif
6341  
6342 }
6343 6 ▶ if (!memcmp(name, "F_SSL_USE_PRIVATEKEY_FILE", 25)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "F_SSL_USE_PRIVATEKEY_FILE", 25)) { 1 5 6
6344 /* ^ */
6345
6346 #ifdef SSL_F_SSL_USE_PRIVATEKEY_FILE
6347 1 return SSL_F_SSL_USE_PRIVATEKEY_FILE;
6348 #else
6349 goto not_there;
6350 #endif
6351  
6352 }
6353 5 ▶ if (!memcmp(name, "R_BAD_AUTHENTICATION_TYPE", 25)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "R_BAD_AUTHENTICATION_TYPE", 25)) { 1 4 5
6354 /* ^ */
6355
6356 #ifdef SSL_R_BAD_AUTHENTICATION_TYPE
6357 return SSL_R_BAD_AUTHENTICATION_TYPE;
6358 #else
6359 1 goto not_there;
6360 #endif
6361  
6362 }
6363 4 ▶ if (!memcmp(name, "SSL3_MT_END_OF_EARLY_DATA", 25)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "SSL3_MT_END_OF_EARLY_DATA", 25)) { 1 3 4
6364 /* ^ */
6365
6366 #ifdef SSL3_MT_END_OF_EARLY_DATA
6367 1 return SSL3_MT_END_OF_EARLY_DATA;
6368 #else
6369 goto not_there;
6370 #endif
6371  
6372 }
6373 3 ▶ if (!memcmp(name, "SSL3_MT_SUPPLEMENTAL_DATA", 25)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "SSL3_MT_SUPPLEMENTAL_DATA", 25)) { 1 2 3
6374 /* ^ */
6375
6376 #ifdef SSL3_MT_SUPPLEMENTAL_DATA
6377 1 return SSL3_MT_SUPPLEMENTAL_DATA;
6378 #else
6379 goto not_there;
6380 #endif
6381  
6382 }
6383 2 ▶ if (!memcmp(name, "X509_V_ERR_CA_MD_TOO_WEAK", 25)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "X509_V_ERR_CA_MD_TOO_WEAK", 25)) { 1 1 2
6384 /* ^ */
6385
6386 #ifdef X509_V_ERR_CA_MD_TOO_WEAK
6387 1 return X509_V_ERR_CA_MD_TOO_WEAK;
6388 #else
6389 goto not_there;
6390 #endif
6391  
6392 }
6393 1 ▶ if (!memcmp(name, "X509_V_FLAG_NO_CHECK_TIME", 25)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "X509_V_FLAG_NO_CHECK_TIME", 25)) { 1 0 1
6394 /* ^ */
6395
6396 #ifdef X509_V_FLAG_NO_CHECK_TIME
6397 1 return X509_V_FLAG_NO_CHECK_TIME;
6398 #else
6399 goto not_there;
6400 #endif
6401  
6402 }
6403 0 break;
6404 1 case 'm':
6405 1 ▶ if (!memcmp(name, "TLSEXT_TYPE_psk_kex_modes", 25)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "TLSEXT_TYPE_psk_kex_modes", 25)) { 1 0 1
6406 /* ^ */
6407
6408 #ifdef TLSEXT_TYPE_psk_kex_modes
6409 1 return TLSEXT_TYPE_psk_kex_modes;
6410 #else
6411 goto not_there;
6412 #endif
6413  
6414 }
6415 0 break;
6416 1 case 'p':
6417 1 ▶ if (!memcmp(name, "NID_sha1WithRSAEncryption", 25)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "NID_sha1WithRSAEncryption", 25)) { 1 0 1
6418 /* ^ */
6419
6420 #ifdef NID_sha1WithRSAEncryption
6421 1 return NID_sha1WithRSAEncryption;
6422 #else
6423 goto not_there;
6424 #endif
6425  
6426 }
6427 0 break;
6428 }
6429 2 break;
6430 39 case 26:
6431 /* Names all of length 26. */
6432 /* AD_NO_APPLICATION_PROTOCOL AD_UNSUPPORTED_CERTIFICATE
6433 ERROR_WANT_CLIENT_HELLO_CB F_SSL_USE_CERTIFICATE_ASN1
6434 F_SSL_USE_CERTIFICATE_FILE NID_netscape_ca_policy_url
6435 NID_netscape_cert_sequence NID_organizationalUnitName
6436 NID_pbeWithMD5AndCast5_CBC NID_pkcs9_countersignature
6437 NID_pkcs9_unstructuredName NID_subject_key_identifier
6438 OPENSSL_INFO_DSO_EXTENSION OPENSSL_INIT_ENGINE_RDRAND
6439 OP_DISABLE_TLSEXT_CA_NAMES OP_ENABLE_MIDDLEBOX_COMPAT
6440 OP_NO_CLIENT_RENEGOTIATION R_INVALID_CHALLENGE_LENGTH
6441 R_NO_CERTIFICATE_SPECIFIED R_PUBLIC_KEY_ENCRYPT_ERROR
6442 SSL2_MT_CLIENT_CERTIFICATE SSL3_MT_CERTIFICATE_STATUS
6443 SSL3_MT_CERTIFICATE_VERIFY SSL3_MT_CHANGE_CIPHER_SPEC
6444 SSL3_RT_CHANGE_CIPHER_SPEC SSL3_RT_INNER_CONTENT_TYPE
6445 TLSEXT_TYPE_next_proto_neg TLSEXT_TYPE_session_ticket
6446 TLSEXT_TYPE_status_request TLSEXT_TYPE_truncated_hmac
6447 X509_PURPOSE_NS_SSL_SERVER X509_PURPOSE_SMIME_ENCRYPT
6448 X509_V_ERR_CRL_HAS_EXPIRED X509_V_ERR_INVALID_PURPOSE
6449 X509_V_FLAG_SUITEB_128_LOS X509_V_FLAG_SUITEB_192_LOS
6450 X509_V_FLAG_USE_CHECK_TIME */
6451 /* Offset 20 gives the best switch position. */
6452 39 switch (name[20]) {
6453 1 case '2':
6454 1 ▶ if (!memcmp(name, "X509_V_FLAG_SUITEB_128_LOS", 26)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "X509_V_FLAG_SUITEB_128_LOS", 26)) { 1 0 1
6455 /* ^ */
6456
6457 #ifdef X509_V_FLAG_SUITEB_128_LOS
6458 1 return X509_V_FLAG_SUITEB_128_LOS;
6459 #else
6460 goto not_there;
6461 #endif
6462  
6463 }
6464 0 break;
6465 1 case '9':
6466 1 ▶ if (!memcmp(name, "X509_V_FLAG_SUITEB_192_LOS", 26)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "X509_V_FLAG_SUITEB_192_LOS", 26)) { 1 0 1
6467 /* ^ */
6468
6469 #ifdef X509_V_FLAG_SUITEB_192_LOS
6470 1 return X509_V_FLAG_SUITEB_192_LOS;
6471 #else
6472 goto not_there;
6473 #endif
6474  
6475 }
6476 0 break;
6477 2 case 'C':
6478 2 ▶ if (!memcmp(name, "OP_ENABLE_MIDDLEBOX_COMPAT", 26)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "OP_ENABLE_MIDDLEBOX_COMPAT", 26)) { 1 1 2
6479 /* ^ */
6480
6481 #ifdef SSL_OP_ENABLE_MIDDLEBOX_COMPAT
6482 1 return SSL_OP_ENABLE_MIDDLEBOX_COMPAT;
6483 #else
6484 goto not_there;
6485 #endif
6486  
6487 }
6488 1 ▶ if (!memcmp(name, "R_NO_CERTIFICATE_SPECIFIED", 26)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "R_NO_CERTIFICATE_SPECIFIED", 26)) { 1 0 1
6489 /* ^ */
6490
6491 #ifdef SSL_R_NO_CERTIFICATE_SPECIFIED
6492 return SSL_R_NO_CERTIFICATE_SPECIFIED;
6493 #else
6494 1 goto not_there;
6495 #endif
6496  
6497 }
6498 0 break;
6499 4 case 'E':
6500 4 ▶ if (!memcmp(name, "F_SSL_USE_CERTIFICATE_ASN1", 26)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "F_SSL_USE_CERTIFICATE_ASN1", 26)) { 1 3 4
6501 /* ^ */
6502
6503 #ifdef SSL_F_SSL_USE_CERTIFICATE_ASN1
6504 1 return SSL_F_SSL_USE_CERTIFICATE_ASN1;
6505 #else
6506 goto not_there;
6507 #endif
6508  
6509 }
6510 3 ▶ if (!memcmp(name, "F_SSL_USE_CERTIFICATE_FILE", 26)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "F_SSL_USE_CERTIFICATE_FILE", 26)) { 1 2 3
6511 /* ^ */
6512
6513 #ifdef SSL_F_SSL_USE_CERTIFICATE_FILE
6514 1 return SSL_F_SSL_USE_CERTIFICATE_FILE;
6515 #else
6516 goto not_there;
6517 #endif
6518  
6519 }
6520 2 ▶ if (!memcmp(name, "OPENSSL_INFO_DSO_EXTENSION", 26)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "OPENSSL_INFO_DSO_EXTENSION", 26)) { 2 0 2
6521 /* ^ */
6522
6523 #ifdef OPENSSL_INFO_DSO_EXTENSION
6524 2 return OPENSSL_INFO_DSO_EXTENSION;
6525 #else
6526 goto not_there;
6527 #endif
6528  
6529 }
6530 0 break;
6531 2 case 'F':
6532 2 ▶ if (!memcmp(name, "AD_UNSUPPORTED_CERTIFICATE", 26)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "AD_UNSUPPORTED_CERTIFICATE", 26)) { 1 1 2
6533 /* ^ */
6534
6535 #ifdef SSL_AD_UNSUPPORTED_CERTIFICATE
6536 1 return SSL_AD_UNSUPPORTED_CERTIFICATE;
6537 #else
6538 goto not_there;
6539 #endif
6540  
6541 }
6542 1 ▶ if (!memcmp(name, "SSL2_MT_CLIENT_CERTIFICATE", 26)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "SSL2_MT_CLIENT_CERTIFICATE", 26)) { 1 0 1
6543 /* ^ */
6544
6545 #ifdef SSL2_MT_CLIENT_CERTIFICATE
6546 return SSL2_MT_CLIENT_CERTIFICATE;
6547 #else
6548 1 goto not_there;
6549 #endif
6550  
6551 }
6552 0 break;
6553 1 case 'I':
6554 1 ▶ if (!memcmp(name, "OP_NO_CLIENT_RENEGOTIATION", 26)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "OP_NO_CLIENT_RENEGOTIATION", 26)) { 1 0 1
6555 /* ^ */
6556
6557 #ifdef SSL_OP_NO_CLIENT_RENEGOTIATION
6558 return SSL_OP_NO_CLIENT_RENEGOTIATION;
6559 #else
6560 1 goto not_there;
6561 #endif
6562  
6563 }
6564 0 break;
6565 1 case 'K':
6566 1 ▶ if (!memcmp(name, "X509_V_FLAG_USE_CHECK_TIME", 26)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "X509_V_FLAG_USE_CHECK_TIME", 26)) { 1 0 1
6567 /* ^ */
6568
6569 #ifdef X509_V_FLAG_USE_CHECK_TIME
6570 1 return X509_V_FLAG_USE_CHECK_TIME;
6571 #else
6572 goto not_there;
6573 #endif
6574  
6575 }
6576 0 break;
6577 2 case 'L':
6578 2 ▶ if (!memcmp(name, "ERROR_WANT_CLIENT_HELLO_CB", 26)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "ERROR_WANT_CLIENT_HELLO_CB", 26)) { 1 1 2
6579 /* ^ */
6580
6581 #ifdef SSL_ERROR_WANT_CLIENT_HELLO_CB
6582 1 return SSL_ERROR_WANT_CLIENT_HELLO_CB;
6583 #else
6584 goto not_there;
6585 #endif
6586  
6587 }
6588 1 ▶ if (!memcmp(name, "R_INVALID_CHALLENGE_LENGTH", 26)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "R_INVALID_CHALLENGE_LENGTH", 26)) { 1 0 1
6589 /* ^ */
6590
6591 #ifdef SSL_R_INVALID_CHALLENGE_LENGTH
6592 return SSL_R_INVALID_CHALLENGE_LENGTH;
6593 #else
6594 1 goto not_there;
6595 #endif
6596  
6597 }
6598 0 break;
6599 1 case 'N':
6600 1 ▶ if (!memcmp(name, "X509_PURPOSE_SMIME_ENCRYPT", 26)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "X509_PURPOSE_SMIME_ENCRYPT", 26)) { 1 0 1
6601 /* ^ */
6602
6603 #ifdef X509_PURPOSE_SMIME_ENCRYPT
6604 1 return X509_PURPOSE_SMIME_ENCRYPT;
6605 #else
6606 goto not_there;
6607 #endif
6608  
6609 }
6610 0 break;
6611 2 case 'O':
6612 2 ▶ if (!memcmp(name, "AD_NO_APPLICATION_PROTOCOL", 26)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "AD_NO_APPLICATION_PROTOCOL", 26)) { 2 0 2
6613 /* ^ */
6614
6615 #ifdef SSL_AD_NO_APPLICATION_PROTOCOL
6616 2 return SSL_AD_NO_APPLICATION_PROTOCOL;
6617 #else
6618 goto not_there;
6619 #endif
6620  
6621 }
6622 0 break;
6623 3 case 'R':
6624 3 ▶ if (!memcmp(name, "OPENSSL_INIT_ENGINE_RDRAND", 26)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "OPENSSL_INIT_ENGINE_RDRAND", 26)) { 1 2 3
6625 /* ^ */
6626
6627 #ifdef OPENSSL_INIT_ENGINE_RDRAND
6628 1 return OPENSSL_INIT_ENGINE_RDRAND;
6629 #else
6630 goto not_there;
6631 #endif
6632  
6633 }
6634 2 ▶ if (!memcmp(name, "SSL3_MT_CHANGE_CIPHER_SPEC", 26)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "SSL3_MT_CHANGE_CIPHER_SPEC", 26)) { 1 1 2
6635 /* ^ */
6636
6637 #ifdef SSL3_MT_CHANGE_CIPHER_SPEC
6638 1 return SSL3_MT_CHANGE_CIPHER_SPEC;
6639 #else
6640 goto not_there;
6641 #endif
6642  
6643 }
6644 1 ▶ if (!memcmp(name, "SSL3_RT_CHANGE_CIPHER_SPEC", 26)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "SSL3_RT_CHANGE_CIPHER_SPEC", 26)) { 1 0 1
6645 /* ^ */
6646
6647 #ifdef SSL3_RT_CHANGE_CIPHER_SPEC
6648 1 return SSL3_RT_CHANGE_CIPHER_SPEC;
6649 #else
6650 goto not_there;
6651 #endif
6652  
6653 }
6654 0 break;
6655 2 case 'S':
6656 2 ▶ if (!memcmp(name, "SSL3_MT_CERTIFICATE_STATUS", 26)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "SSL3_MT_CERTIFICATE_STATUS", 26)) { 1 1 2
6657 /* ^ */
6658
6659 #ifdef SSL3_MT_CERTIFICATE_STATUS
6660 1 return SSL3_MT_CERTIFICATE_STATUS;
6661 #else
6662 goto not_there;
6663 #endif
6664  
6665 }
6666 1 ▶ if (!memcmp(name, "X509_PURPOSE_NS_SSL_SERVER", 26)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "X509_PURPOSE_NS_SSL_SERVER", 26)) { 1 0 1
6667 /* ^ */
6668
6669 #ifdef X509_PURPOSE_NS_SSL_SERVER
6670 1 return X509_PURPOSE_NS_SSL_SERVER;
6671 #else
6672 goto not_there;
6673 #endif
6674  
6675 }
6676 0 break;
6677 1 case 'T':
6678 1 ▶ if (!memcmp(name, "SSL3_RT_INNER_CONTENT_TYPE", 26)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "SSL3_RT_INNER_CONTENT_TYPE", 26)) { 1 0 1
6679 /* ^ */
6680
6681 #ifdef SSL3_RT_INNER_CONTENT_TYPE
6682 1 return SSL3_RT_INNER_CONTENT_TYPE;
6683 #else
6684 goto not_there;
6685 #endif
6686  
6687 }
6688 0 break;
6689 1 case 'U':
6690 1 ▶ if (!memcmp(name, "X509_V_ERR_INVALID_PURPOSE", 26)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "X509_V_ERR_INVALID_PURPOSE", 26)) { 1 0 1
6691 /* ^ */
6692
6693 #ifdef X509_V_ERR_INVALID_PURPOSE
6694 1 return X509_V_ERR_INVALID_PURPOSE;
6695 #else
6696 goto not_there;
6697 #endif
6698  
6699 }
6700 0 break;
6701 1 case 'V':
6702 1 ▶ if (!memcmp(name, "SSL3_MT_CERTIFICATE_VERIFY", 26)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "SSL3_MT_CERTIFICATE_VERIFY", 26)) { 1 0 1
6703 /* ^ */
6704
6705 #ifdef SSL3_MT_CERTIFICATE_VERIFY
6706 1 return SSL3_MT_CERTIFICATE_VERIFY;
6707 #else
6708 goto not_there;
6709 #endif
6710  
6711 }
6712 0 break;
6713 1 case 'X':
6714 1 ▶ if (!memcmp(name, "X509_V_ERR_CRL_HAS_EXPIRED", 26)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "X509_V_ERR_CRL_HAS_EXPIRED", 26)) { 1 0 1
6715 /* ^ */
6716
6717 #ifdef X509_V_ERR_CRL_HAS_EXPIRED
6718 1 return X509_V_ERR_CRL_HAS_EXPIRED;
6719 #else
6720 goto not_there;
6721 #endif
6722  
6723 }
6724 0 break;
6725 2 case '_':
6726 2 ▶ if (!memcmp(name, "OP_DISABLE_TLSEXT_CA_NAMES", 26)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "OP_DISABLE_TLSEXT_CA_NAMES", 26)) { 1 1 2
6727 /* ^ */
6728
6729 #ifdef SSL_OP_DISABLE_TLSEXT_CA_NAMES
6730 1 return SSL_OP_DISABLE_TLSEXT_CA_NAMES;
6731 #else
6732 goto not_there;
6733 #endif
6734  
6735 }
6736 1 ▶ if (!memcmp(name, "R_PUBLIC_KEY_ENCRYPT_ERROR", 26)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "R_PUBLIC_KEY_ENCRYPT_ERROR", 26)) { 1 0 1
6737 /* ^ */
6738
6739 #ifdef SSL_R_PUBLIC_KEY_ENCRYPT_ERROR
6740 return SSL_R_PUBLIC_KEY_ENCRYPT_ERROR;
6741 #else
6742 1 goto not_there;
6743 #endif
6744  
6745 }
6746 0 break;
6747 1 case 'c':
6748 1 ▶ if (!memcmp(name, "NID_netscape_ca_policy_url", 26)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "NID_netscape_ca_policy_url", 26)) { 1 0 1
6749 /* ^ */
6750
6751 #ifdef NID_netscape_ca_policy_url
6752 1 return NID_netscape_ca_policy_url;
6753 #else
6754 goto not_there;
6755 #endif
6756  
6757 }
6758 0 break;
6759 1 case 'd':
6760 1 ▶ if (!memcmp(name, "TLSEXT_TYPE_truncated_hmac", 26)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "TLSEXT_TYPE_truncated_hmac", 26)) { 1 0 1
6761 /* ^ */
6762
6763 #ifdef TLSEXT_TYPE_truncated_hmac
6764 1 return TLSEXT_TYPE_truncated_hmac;
6765 #else
6766 goto not_there;
6767 #endif
6768  
6769 }
6770 0 break;
6771 2 case 'e':
6772 2 ▶ if (!memcmp(name, "NID_pkcs9_unstructuredName", 26)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "NID_pkcs9_unstructuredName", 26)) { 1 1 2
6773 /* ^ */
6774
6775 #ifdef NID_pkcs9_unstructuredName
6776 1 return NID_pkcs9_unstructuredName;
6777 #else
6778 goto not_there;
6779 #endif
6780  
6781 }
6782 1 ▶ if (!memcmp(name, "TLSEXT_TYPE_status_request", 26)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "TLSEXT_TYPE_status_request", 26)) { 1 0 1
6783 /* ^ */
6784
6785 #ifdef TLSEXT_TYPE_status_request
6786 1 return TLSEXT_TYPE_status_request;
6787 #else
6788 goto not_there;
6789 #endif
6790  
6791 }
6792 0 break;
6793 1 case 'i':
6794 1 ▶ if (!memcmp(name, "NID_organizationalUnitName", 26)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "NID_organizationalUnitName", 26)) { 1 0 1
6795 /* ^ */
6796
6797 #ifdef NID_organizationalUnitName
6798 1 return NID_organizationalUnitName;
6799 #else
6800 goto not_there;
6801 #endif
6802  
6803 }
6804 0 break;
6805 1 case 'n':
6806 1 ▶ if (!memcmp(name, "NID_pkcs9_countersignature", 26)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "NID_pkcs9_countersignature", 26)) { 1 0 1
6807 /* ^ */
6808
6809 #ifdef NID_pkcs9_countersignature
6810 1 return NID_pkcs9_countersignature;
6811 #else
6812 goto not_there;
6813 #endif
6814  
6815 }
6816 0 break;
6817 1 case 'q':
6818 1 ▶ if (!memcmp(name, "NID_netscape_cert_sequence", 26)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "NID_netscape_cert_sequence", 26)) { 1 0 1
6819 /* ^ */
6820
6821 #ifdef NID_netscape_cert_sequence
6822 1 return NID_netscape_cert_sequence;
6823 #else
6824 goto not_there;
6825 #endif
6826  
6827 }
6828 0 break;
6829 4 case 't':
6830 4 ▶ if (!memcmp(name, "NID_pbeWithMD5AndCast5_CBC", 26)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "NID_pbeWithMD5AndCast5_CBC", 26)) { 1 3 4
6831 /* ^ */
6832
6833 #ifdef NID_pbeWithMD5AndCast5_CBC
6834 1 return NID_pbeWithMD5AndCast5_CBC;
6835 #else
6836 goto not_there;
6837 #endif
6838  
6839 }
6840 3 ▶ if (!memcmp(name, "NID_subject_key_identifier", 26)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "NID_subject_key_identifier", 26)) { 1 2 3
6841 /* ^ */
6842
6843 #ifdef NID_subject_key_identifier
6844 1 return NID_subject_key_identifier;
6845 #else
6846 goto not_there;
6847 #endif
6848  
6849 }
6850 2 ▶ if (!memcmp(name, "TLSEXT_TYPE_next_proto_neg", 26)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "TLSEXT_TYPE_next_proto_neg", 26)) { 1 1 2
6851 /* ^ */
6852
6853 #ifdef TLSEXT_TYPE_next_proto_neg
6854 1 return TLSEXT_TYPE_next_proto_neg;
6855 #else
6856 goto not_there;
6857 #endif
6858  
6859 }
6860 1 ▶ if (!memcmp(name, "TLSEXT_TYPE_session_ticket", 26)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "TLSEXT_TYPE_session_ticket", 26)) { 1 0 1
6861 /* ^ */
6862
6863 #ifdef TLSEXT_TYPE_session_ticket
6864 1 return TLSEXT_TYPE_session_ticket;
6865 #else
6866 goto not_there;
6867 #endif
6868  
6869 }
6870 0 break;
6871 }
6872 0 break;
6873 42 case 27:
6874 /* Names all of length 27. */
6875 /* AD_CERTIFICATE_UNOBTAINABLE CONF_MFLAGS_DEFAULT_SECTION
6876 NID_crl_distribution_points NID_netscape_cert_extension
6877 NID_netscape_revocation_url NID_pbe_WithSHA1And40BitRC4
6878 NID_pkcs9_challengePassword NID_pkcs9_extCertAttributes
6879 NID_sha224WithRSAEncryption NID_sha256WithRSAEncryption
6880 NID_sha384WithRSAEncryption NID_sha512WithRSAEncryption
6881 OPENSSL_FULL_VERSION_STRING OPENSSL_INFO_LIST_SEPARATOR
6882 OPENSSL_INIT_ENGINE_DYNAMIC OPENSSL_INIT_ENGINE_OPENSSL
6883 OPENSSL_INIT_ENGINE_PADLOCK OPENSSL_INIT_NO_LOAD_CONFIG
6884 OP_CIPHER_SERVER_PREFERENCE OP_SSLEAY_080_CLIENT_DH_BUG
6885 R_BAD_SSL_SESSION_ID_LENGTH R_UNKNOWN_REMOTE_ERROR_TYPE
6886 SSL2_MT_REQUEST_CERTIFICATE SSL3_MT_CERTIFICATE_REQUEST
6887 SSL3_MT_CLIENT_KEY_EXCHANGE SSL3_MT_SERVER_KEY_EXCHANGE
6888 TLSEXT_TYPE_elliptic_curves TLSEXT_TYPE_trusted_ca_keys
6889 VERIFY_FAIL_IF_NO_PEER_CERT X509_PURPOSE_TIMESTAMP_SIGN
6890 X509_V_ERR_CA_KEY_TOO_SMALL X509_V_ERR_CERT_HAS_EXPIRED
6891 X509_V_ERR_EE_KEY_TOO_SMALL X509_V_FLAG_CB_ISSUER_CHECK
6892 X509_V_FLAG_EXPLICIT_POLICY X509_V_FLAG_IGNORE_CRITICAL
6893 XN_FLAG_DUMP_UNKNOWN_FIELDS */
6894 /* Offset 21 gives the best switch position. */
6895 42 switch (name[21]) {
6896 3 case 'A':
6897 3 ▶ if (!memcmp(name, "OPENSSL_INFO_LIST_SEPARATOR", 27)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "OPENSSL_INFO_LIST_SEPARATOR", 27)) { 2 1 3
6898 /* ^ */
6899
6900 #ifdef OPENSSL_INFO_LIST_SEPARATOR
6901 2 return OPENSSL_INFO_LIST_SEPARATOR;
6902 #else
6903 goto not_there;
6904 #endif
6905  
6906 }
6907 1 ▶ if (!memcmp(name, "OPENSSL_INIT_ENGINE_PADLOCK", 27)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "OPENSSL_INIT_ENGINE_PADLOCK", 27)) { 1 0 1
6908 /* ^ */
6909
6910 #ifdef OPENSSL_INIT_ENGINE_PADLOCK
6911 1 return OPENSSL_INIT_ENGINE_PADLOCK;
6912 #else
6913 goto not_there;
6914 #endif
6915  
6916 }
6917 0 break;
6918 1 case 'B':
6919 1 ▶ if (!memcmp(name, "NID_pbe_WithSHA1And40BitRC4", 27)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "NID_pbe_WithSHA1And40BitRC4", 27)) { 1 0 1
6920 /* ^ */
6921
6922 #ifdef NID_pbe_WithSHA1And40BitRC4
6923 1 return NID_pbe_WithSHA1And40BitRC4;
6924 #else
6925 goto not_there;
6926 #endif
6927  
6928 }
6929 0 break;
6930 3 case 'C':
6931 3 ▶ if (!memcmp(name, "OPENSSL_INIT_NO_LOAD_CONFIG", 27)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "OPENSSL_INIT_NO_LOAD_CONFIG", 27)) { 1 2 3
6932 /* ^ */
6933
6934 #ifdef OPENSSL_INIT_NO_LOAD_CONFIG
6935 1 return OPENSSL_INIT_NO_LOAD_CONFIG;
6936 #else
6937 goto not_there;
6938 #endif
6939  
6940 }
6941 2 ▶ if (!memcmp(name, "SSL3_MT_CLIENT_KEY_EXCHANGE", 27)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "SSL3_MT_CLIENT_KEY_EXCHANGE", 27)) { 1 1 2
6942 /* ^ */
6943
6944 #ifdef SSL3_MT_CLIENT_KEY_EXCHANGE
6945 1 return SSL3_MT_CLIENT_KEY_EXCHANGE;
6946 #else
6947 goto not_there;
6948 #endif
6949  
6950 }
6951 1 ▶ if (!memcmp(name, "SSL3_MT_SERVER_KEY_EXCHANGE", 27)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "SSL3_MT_SERVER_KEY_EXCHANGE", 27)) { 1 0 1
6952 /* ^ */
6953
6954 #ifdef SSL3_MT_SERVER_KEY_EXCHANGE
6955 1 return SSL3_MT_SERVER_KEY_EXCHANGE;
6956 #else
6957 goto not_there;
6958 #endif
6959  
6960 }
6961 0 break;
6962 1 case 'D':
6963 1 ▶ if (!memcmp(name, "OP_SSLEAY_080_CLIENT_DH_BUG", 27)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "OP_SSLEAY_080_CLIENT_DH_BUG", 27)) { 1 0 1
6964 /* ^ */
6965
6966 #ifdef SSL_OP_SSLEAY_080_CLIENT_DH_BUG
6967 1 return SSL_OP_SSLEAY_080_CLIENT_DH_BUG;
6968 #else
6969 goto not_there;
6970 #endif
6971  
6972 }
6973 0 break;
6974 3 case 'E':
6975 3 ▶ if (!memcmp(name, "CONF_MFLAGS_DEFAULT_SECTION", 27)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "CONF_MFLAGS_DEFAULT_SECTION", 27)) { 1 2 3
6976 /* ^ */
6977
6978 #ifdef CONF_MFLAGS_DEFAULT_SECTION
6979 1 return CONF_MFLAGS_DEFAULT_SECTION;
6980 #else
6981 goto not_there;
6982 #endif
6983  
6984 }
6985 2 ▶ if (!memcmp(name, "OP_CIPHER_SERVER_PREFERENCE", 27)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "OP_CIPHER_SERVER_PREFERENCE", 27)) { 1 1 2
6986 /* ^ */
6987
6988 #ifdef SSL_OP_CIPHER_SERVER_PREFERENCE
6989 1 return SSL_OP_CIPHER_SERVER_PREFERENCE;
6990 #else
6991 goto not_there;
6992 #endif
6993  
6994 }
6995 1 ▶ if (!memcmp(name, "SSL3_MT_CERTIFICATE_REQUEST", 27)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "SSL3_MT_CERTIFICATE_REQUEST", 27)) { 1 0 1
6996 /* ^ */
6997
6998 #ifdef SSL3_MT_CERTIFICATE_REQUEST
6999 1 return SSL3_MT_CERTIFICATE_REQUEST;
7000 #else
7001 goto not_there;
7002 #endif
7003  
7004 }
7005 0 break;
7006 2 case 'F':
7007 2 ▶ if (!memcmp(name, "SSL2_MT_REQUEST_CERTIFICATE", 27)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "SSL2_MT_REQUEST_CERTIFICATE", 27)) { 1 1 2
7008 /* ^ */
7009
7010 #ifdef SSL2_MT_REQUEST_CERTIFICATE
7011 return SSL2_MT_REQUEST_CERTIFICATE;
7012 #else
7013 1 goto not_there;
7014 #endif
7015  
7016 }
7017 1 ▶ if (!memcmp(name, "XN_FLAG_DUMP_UNKNOWN_FIELDS", 27)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "XN_FLAG_DUMP_UNKNOWN_FIELDS", 27)) { 1 0 1
7018 /* ^ */
7019
7020 #ifdef XN_FLAG_DUMP_UNKNOWN_FIELDS
7021 1 return XN_FLAG_DUMP_UNKNOWN_FIELDS;
7022 #else
7023 goto not_there;
7024 #endif
7025  
7026 }
7027 0 break;
7028 2 case 'I':
7029 2 ▶ if (!memcmp(name, "AD_CERTIFICATE_UNOBTAINABLE", 27)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "AD_CERTIFICATE_UNOBTAINABLE", 27)) { 1 1 2
7030 /* ^ */
7031
7032 #ifdef SSL_AD_CERTIFICATE_UNOBTAINABLE
7033 1 return SSL_AD_CERTIFICATE_UNOBTAINABLE;
7034 #else
7035 goto not_there;
7036 #endif
7037  
7038 }
7039 1 ▶ if (!memcmp(name, "X509_V_FLAG_IGNORE_CRITICAL", 27)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "X509_V_FLAG_IGNORE_CRITICAL", 27)) { 1 0 1
7040 /* ^ */
7041
7042 #ifdef X509_V_FLAG_IGNORE_CRITICAL
7043 1 return X509_V_FLAG_IGNORE_CRITICAL;
7044 #else
7045 goto not_there;
7046 #endif
7047  
7048 }
7049 0 break;
7050 1 case 'L':
7051 1 ▶ if (!memcmp(name, "R_BAD_SSL_SESSION_ID_LENGTH", 27)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "R_BAD_SSL_SESSION_ID_LENGTH", 27)) { 1 0 1
7052 /* ^ */
7053
7054 #ifdef SSL_R_BAD_SSL_SESSION_ID_LENGTH
7055 return SSL_R_BAD_SSL_SESSION_ID_LENGTH;
7056 #else
7057 1 goto not_there;
7058 #endif
7059  
7060 }
7061 0 break;
7062 4 case 'P':
7063 4 ▶ if (!memcmp(name, "OPENSSL_INIT_ENGINE_OPENSSL", 27)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "OPENSSL_INIT_ENGINE_OPENSSL", 27)) { 1 3 4
7064 /* ^ */
7065
7066 #ifdef OPENSSL_INIT_ENGINE_OPENSSL
7067 1 return OPENSSL_INIT_ENGINE_OPENSSL;
7068 #else
7069 goto not_there;
7070 #endif
7071  
7072 }
7073 3 ▶ if (!memcmp(name, "X509_PURPOSE_TIMESTAMP_SIGN", 27)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "X509_PURPOSE_TIMESTAMP_SIGN", 27)) { 1 2 3
7074 /* ^ */
7075
7076 #ifdef X509_PURPOSE_TIMESTAMP_SIGN
7077 1 return X509_PURPOSE_TIMESTAMP_SIGN;
7078 #else
7079 goto not_there;
7080 #endif
7081  
7082 }
7083 2 ▶ if (!memcmp(name, "X509_V_FLAG_EXPLICIT_POLICY", 27)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "X509_V_FLAG_EXPLICIT_POLICY", 27)) { 2 0 2
7084 /* ^ */
7085
7086 #ifdef X509_V_FLAG_EXPLICIT_POLICY
7087 2 return X509_V_FLAG_EXPLICIT_POLICY;
7088 #else
7089 goto not_there;
7090 #endif
7091  
7092 }
7093 0 break;
7094 3 case 'R':
7095 3 ▶ if (!memcmp(name, "R_UNKNOWN_REMOTE_ERROR_TYPE", 27)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "R_UNKNOWN_REMOTE_ERROR_TYPE", 27)) { 1 2 3
7096 /* ^ */
7097
7098 #ifdef SSL_R_UNKNOWN_REMOTE_ERROR_TYPE
7099 return SSL_R_UNKNOWN_REMOTE_ERROR_TYPE;
7100 #else
7101 1 goto not_there;
7102 #endif
7103  
7104 }
7105 2 ▶ if (!memcmp(name, "VERIFY_FAIL_IF_NO_PEER_CERT", 27)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "VERIFY_FAIL_IF_NO_PEER_CERT", 27)) { 2 0 2
7106 /* ^ */
7107
7108 #ifdef SSL_VERIFY_FAIL_IF_NO_PEER_CERT
7109 2 return SSL_VERIFY_FAIL_IF_NO_PEER_CERT;
7110 #else
7111 goto not_there;
7112 #endif
7113  
7114 }
7115 0 break;
7116 2 case 'S':
7117 2 ▶ if (!memcmp(name, "OPENSSL_FULL_VERSION_STRING", 27)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "OPENSSL_FULL_VERSION_STRING", 27)) { 2 0 2
7118 /* ^ */
7119
7120 #ifdef OPENSSL_FULL_VERSION_STRING
7121 2 return OPENSSL_FULL_VERSION_STRING;
7122 #else
7123 goto not_there;
7124 #endif
7125  
7126 }
7127 0 break;
7128 1 case 'X':
7129 1 ▶ if (!memcmp(name, "X509_V_ERR_CERT_HAS_EXPIRED", 27)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "X509_V_ERR_CERT_HAS_EXPIRED", 27)) { 1 0 1
7130 /* ^ */
7131
7132 #ifdef X509_V_ERR_CERT_HAS_EXPIRED
7133 1 return X509_V_ERR_CERT_HAS_EXPIRED;
7134 #else
7135 goto not_there;
7136 #endif
7137  
7138 }
7139 0 break;
7140 1 case 'Y':
7141 1 ▶ if (!memcmp(name, "OPENSSL_INIT_ENGINE_DYNAMIC", 27)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "OPENSSL_INIT_ENGINE_DYNAMIC", 27)) { 1 0 1
7142 /* ^ */
7143
7144 #ifdef OPENSSL_INIT_ENGINE_DYNAMIC
7145 1 return OPENSSL_INIT_ENGINE_DYNAMIC;
7146 #else
7147 goto not_there;
7148 #endif
7149  
7150 }
7151 0 break;
7152 3 case '_':
7153 3 ▶ if (!memcmp(name, "X509_V_ERR_CA_KEY_TOO_SMALL", 27)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "X509_V_ERR_CA_KEY_TOO_SMALL", 27)) { 1 2 3
7154 /* ^ */
7155
7156 #ifdef X509_V_ERR_CA_KEY_TOO_SMALL
7157 1 return X509_V_ERR_CA_KEY_TOO_SMALL;
7158 #else
7159 goto not_there;
7160 #endif
7161  
7162 }
7163 2 ▶ if (!memcmp(name, "X509_V_ERR_EE_KEY_TOO_SMALL", 27)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "X509_V_ERR_EE_KEY_TOO_SMALL", 27)) { 1 1 2
7164 /* ^ */
7165
7166 #ifdef X509_V_ERR_EE_KEY_TOO_SMALL
7167 1 return X509_V_ERR_EE_KEY_TOO_SMALL;
7168 #else
7169 goto not_there;
7170 #endif
7171  
7172 }
7173 1 ▶ if (!memcmp(name, "X509_V_FLAG_CB_ISSUER_CHECK", 27)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "X509_V_FLAG_CB_ISSUER_CHECK", 27)) { 1 0 1
7174 /* ^ */
7175
7176 #ifdef X509_V_FLAG_CB_ISSUER_CHECK
7177 1 return X509_V_FLAG_CB_ISSUER_CHECK;
7178 #else
7179 goto not_there;
7180 #endif
7181  
7182 }
7183 0 break;
7184 1 case 'a':
7185 1 ▶ if (!memcmp(name, "TLSEXT_TYPE_trusted_ca_keys", 27)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "TLSEXT_TYPE_trusted_ca_keys", 27)) { 1 0 1
7186 /* ^ */
7187
7188 #ifdef TLSEXT_TYPE_trusted_ca_keys
7189 1 return TLSEXT_TYPE_trusted_ca_keys;
7190 #else
7191 goto not_there;
7192 #endif
7193  
7194 }
7195 0 break;
7196 1 case 'c':
7197 1 ▶ if (!memcmp(name, "TLSEXT_TYPE_elliptic_curves", 27)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "TLSEXT_TYPE_elliptic_curves", 27)) { 1 0 1
7198 /* ^ */
7199
7200 #ifdef TLSEXT_TYPE_elliptic_curves
7201 1 return TLSEXT_TYPE_elliptic_curves;
7202 #else
7203 goto not_there;
7204 #endif
7205  
7206 }
7207 0 break;
7208 1 case 'e':
7209 1 ▶ if (!memcmp(name, "NID_netscape_cert_extension", 27)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "NID_netscape_cert_extension", 27)) { 1 0 1
7210 /* ^ */
7211
7212 #ifdef NID_netscape_cert_extension
7213 1 return NID_netscape_cert_extension;
7214 #else
7215 goto not_there;
7216 #endif
7217  
7218 }
7219 0 break;
7220 1 case 'i':
7221 1 ▶ if (!memcmp(name, "NID_pkcs9_extCertAttributes", 27)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "NID_pkcs9_extCertAttributes", 27)) { 1 0 1
7222 /* ^ */
7223
7224 #ifdef NID_pkcs9_extCertAttributes
7225 1 return NID_pkcs9_extCertAttributes;
7226 #else
7227 goto not_there;
7228 #endif
7229  
7230 }
7231 0 break;
7232 1 case 'o':
7233 1 ▶ if (!memcmp(name, "NID_netscape_revocation_url", 27)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "NID_netscape_revocation_url", 27)) { 1 0 1
7234 /* ^ */
7235
7236 #ifdef NID_netscape_revocation_url
7237 1 return NID_netscape_revocation_url;
7238 #else
7239 goto not_there;
7240 #endif
7241  
7242 }
7243 0 break;
7244 2 case 'p':
7245 2 ▶ if (!memcmp(name, "NID_crl_distribution_points", 27)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "NID_crl_distribution_points", 27)) { 2 0 2
7246 /* ^ */
7247
7248 #ifdef NID_crl_distribution_points
7249 2 return NID_crl_distribution_points;
7250 #else
7251 goto not_there;
7252 #endif
7253  
7254 }
7255 0 break;
7256 1 case 's':
7257 1 ▶ if (!memcmp(name, "NID_pkcs9_challengePassword", 27)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "NID_pkcs9_challengePassword", 27)) { 1 0 1
7258 /* ^ */
7259
7260 #ifdef NID_pkcs9_challengePassword
7261 1 return NID_pkcs9_challengePassword;
7262 #else
7263 goto not_there;
7264 #endif
7265  
7266 }
7267 0 break;
7268 4 case 'y':
7269 4 ▶ if (!memcmp(name, "NID_sha224WithRSAEncryption", 27)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "NID_sha224WithRSAEncryption", 27)) { 1 3 4
7270 /* ^ */
7271
7272 #ifdef NID_sha224WithRSAEncryption
7273 1 return NID_sha224WithRSAEncryption;
7274 #else
7275 goto not_there;
7276 #endif
7277  
7278 }
7279 3 ▶ if (!memcmp(name, "NID_sha256WithRSAEncryption", 27)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "NID_sha256WithRSAEncryption", 27)) { 1 2 3
7280 /* ^ */
7281
7282 #ifdef NID_sha256WithRSAEncryption
7283 1 return NID_sha256WithRSAEncryption;
7284 #else
7285 goto not_there;
7286 #endif
7287  
7288 }
7289 2 ▶ if (!memcmp(name, "NID_sha384WithRSAEncryption", 27)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "NID_sha384WithRSAEncryption", 27)) { 1 1 2
7290 /* ^ */
7291
7292 #ifdef NID_sha384WithRSAEncryption
7293 1 return NID_sha384WithRSAEncryption;
7294 #else
7295 goto not_there;
7296 #endif
7297  
7298 }
7299 1 ▶ if (!memcmp(name, "NID_sha512WithRSAEncryption", 27)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "NID_sha512WithRSAEncryption", 27)) { 1 0 1
7300 /* ^ */
7301
7302 #ifdef NID_sha512WithRSAEncryption
7303 1 return NID_sha512WithRSAEncryption;
7304 #else
7305 goto not_there;
7306 #endif
7307  
7308 }
7309 0 break;
7310 }
7311 0 break;
7312 28 case 28:
7313 /* Names all of length 28. */
7314 /* F_SSL_USE_RSAPRIVATEKEY_ASN1 F_SSL_USE_RSAPRIVATEKEY_FILE
7315 NID_authority_key_identifier NID_netscape_ssl_server_name
7316 NID_pbe_WithSHA1And128BitRC4 NID_pkcs7_signedAndEnveloped
7317 NID_private_key_usage_period OPENSSL_INIT_ADD_ALL_CIPHERS
7318 OPENSSL_INIT_ADD_ALL_DIGESTS OP_NO_EXTENDED_MASTER_SECRET
7319 SESS_CACHE_NO_INTERNAL_STORE SSL3_MT_ENCRYPTED_EXTENSIONS
7320 TLSEXT_TYPE_client_cert_type TLSEXT_TYPE_ec_point_formats
7321 TLSEXT_TYPE_encrypt_then_mac TLSEXT_TYPE_server_cert_type
7322 TLSEXT_TYPE_supported_groups X509_CHECK_FLAG_NO_WILDCARDS
7323 X509_V_ERR_CRL_NOT_YET_VALID X509_V_ERR_HOSTNAME_MISMATCH
7324 X509_V_ERR_INVALID_EXTENSION X509_V_ERR_ISSUER_NAME_EMPTY
7325 X509_V_ERR_OCSP_CERT_UNKNOWN X509_V_ERR_UNABLE_TO_GET_CRL
7326 X509_V_ERR_UNNESTED_RESOURCE */
7327 /* Offset 14 gives the best switch position. */
7328 28 switch (name[14]) {
7329 2 case 'A':
7330 2 ▶ if (!memcmp(name, "NID_pbe_WithSHA1And128BitRC4", 28)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "NID_pbe_WithSHA1And128BitRC4", 28)) { 1 1 2
7331 /* ^ */
7332
7333 #ifdef NID_pbe_WithSHA1And128BitRC4
7334 1 return NID_pbe_WithSHA1And128BitRC4;
7335 #else
7336 goto not_there;
7337 #endif
7338  
7339 }
7340 1 ▶ if (!memcmp(name, "X509_V_ERR_INVALID_EXTENSION", 28)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "X509_V_ERR_INVALID_EXTENSION", 28)) { 1 0 1
7341 /* ^ */
7342
7343 #ifdef X509_V_ERR_INVALID_EXTENSION
7344 1 return X509_V_ERR_INVALID_EXTENSION;
7345 #else
7346 goto not_there;
7347 #endif
7348  
7349 }
7350 0 break;
7351 1 case 'B':
7352 1 ▶ if (!memcmp(name, "X509_V_ERR_UNABLE_TO_GET_CRL", 28)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "X509_V_ERR_UNABLE_TO_GET_CRL", 28)) { 1 0 1
7353 /* ^ */
7354
7355 #ifdef X509_V_ERR_UNABLE_TO_GET_CRL
7356 1 return X509_V_ERR_UNABLE_TO_GET_CRL;
7357 #else
7358 goto not_there;
7359 #endif
7360  
7361 }
7362 0 break;
7363 2 case 'D':
7364 2 ▶ if (!memcmp(name, "OPENSSL_INIT_ADD_ALL_CIPHERS", 28)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "OPENSSL_INIT_ADD_ALL_CIPHERS", 28)) { 1 1 2
7365 /* ^ */
7366
7367 #ifdef OPENSSL_INIT_ADD_ALL_CIPHERS
7368 1 return OPENSSL_INIT_ADD_ALL_CIPHERS;
7369 #else
7370 goto not_there;
7371 #endif
7372  
7373 }
7374 1 ▶ if (!memcmp(name, "OPENSSL_INIT_ADD_ALL_DIGESTS", 28)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "OPENSSL_INIT_ADD_ALL_DIGESTS", 28)) { 1 0 1
7375 /* ^ */
7376
7377 #ifdef OPENSSL_INIT_ADD_ALL_DIGESTS
7378 1 return OPENSSL_INIT_ADD_ALL_DIGESTS;
7379 #else
7380 goto not_there;
7381 #endif
7382  
7383 }
7384 0 break;
7385 1 case 'E':
7386 1 ▶ if (!memcmp(name, "X509_V_ERR_UNNESTED_RESOURCE", 28)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "X509_V_ERR_UNNESTED_RESOURCE", 28)) { 1 0 1
7387 /* ^ */
7388
7389 #ifdef X509_V_ERR_UNNESTED_RESOURCE
7390 1 return X509_V_ERR_UNNESTED_RESOURCE;
7391 #else
7392 goto not_there;
7393 #endif
7394  
7395 }
7396 0 break;
7397 2 case 'G':
7398 2 ▶ if (!memcmp(name, "X509_CHECK_FLAG_NO_WILDCARDS", 28)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "X509_CHECK_FLAG_NO_WILDCARDS", 28)) { 2 0 2
7399 /* ^ */
7400
7401 #ifdef X509_CHECK_FLAG_NO_WILDCARDS
7402 2 return X509_CHECK_FLAG_NO_WILDCARDS;
7403 #else
7404 goto not_there;
7405 #endif
7406  
7407 }
7408 0 break;
7409 1 case 'I':
7410 1 ▶ if (!memcmp(name, "SESS_CACHE_NO_INTERNAL_STORE", 28)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "SESS_CACHE_NO_INTERNAL_STORE", 28)) { 1 0 1
7411 /* ^ */
7412
7413 #ifdef SSL_SESS_CACHE_NO_INTERNAL_STORE
7414 1 return SSL_SESS_CACHE_NO_INTERNAL_STORE;
7415 #else
7416 goto not_there;
7417 #endif
7418  
7419 }
7420 0 break;
7421 1 case 'P':
7422 1 ▶ if (!memcmp(name, "X509_V_ERR_OCSP_CERT_UNKNOWN", 28)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "X509_V_ERR_OCSP_CERT_UNKNOWN", 28)) { 1 0 1
7423 /* ^ */
7424
7425 #ifdef X509_V_ERR_OCSP_CERT_UNKNOWN
7426 1 return X509_V_ERR_OCSP_CERT_UNKNOWN;
7427 #else
7428 goto not_there;
7429 #endif
7430  
7431 }
7432 0 break;
7433 2 case 'R':
7434 2 ▶ if (!memcmp(name, "F_SSL_USE_RSAPRIVATEKEY_ASN1", 28)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "F_SSL_USE_RSAPRIVATEKEY_ASN1", 28)) { 1 1 2
7435 /* ^ */
7436
7437 #ifdef SSL_F_SSL_USE_RSAPRIVATEKEY_ASN1
7438 1 return SSL_F_SSL_USE_RSAPRIVATEKEY_ASN1;
7439 #else
7440 goto not_there;
7441 #endif
7442  
7443 }
7444 1 ▶ if (!memcmp(name, "F_SSL_USE_RSAPRIVATEKEY_FILE", 28)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "F_SSL_USE_RSAPRIVATEKEY_FILE", 28)) { 1 0 1
7445 /* ^ */
7446
7447 #ifdef SSL_F_SSL_USE_RSAPRIVATEKEY_FILE
7448 1 return SSL_F_SSL_USE_RSAPRIVATEKEY_FILE;
7449 #else
7450 goto not_there;
7451 #endif
7452  
7453 }
7454 0 break;
7455 3 case 'T':
7456 3 ▶ if (!memcmp(name, "SSL3_MT_ENCRYPTED_EXTENSIONS", 28)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "SSL3_MT_ENCRYPTED_EXTENSIONS", 28)) { 1 2 3
7457 /* ^ */
7458
7459 #ifdef SSL3_MT_ENCRYPTED_EXTENSIONS
7460 1 return SSL3_MT_ENCRYPTED_EXTENSIONS;
7461 #else
7462 goto not_there;
7463 #endif
7464  
7465 }
7466 2 ▶ if (!memcmp(name, "X509_V_ERR_HOSTNAME_MISMATCH", 28)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "X509_V_ERR_HOSTNAME_MISMATCH", 28)) { 2 0 2
7467 /* ^ */
7468
7469 #ifdef X509_V_ERR_HOSTNAME_MISMATCH
7470 2 return X509_V_ERR_HOSTNAME_MISMATCH;
7471 #else
7472 goto not_there;
7473 #endif
7474  
7475 }
7476 0 break;
7477 1 case 'U':
7478 1 ▶ if (!memcmp(name, "X509_V_ERR_ISSUER_NAME_EMPTY", 28)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "X509_V_ERR_ISSUER_NAME_EMPTY", 28)) { 1 0 1
7479 /* ^ */
7480
7481 #ifdef X509_V_ERR_ISSUER_NAME_EMPTY
7482 1 return X509_V_ERR_ISSUER_NAME_EMPTY;
7483 #else
7484 goto not_there;
7485 #endif
7486  
7487 }
7488 0 break;
7489 3 case '_':
7490 3 ▶ if (!memcmp(name, "OP_NO_EXTENDED_MASTER_SECRET", 28)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "OP_NO_EXTENDED_MASTER_SECRET", 28)) { 1 2 3
7491 /* ^ */
7492
7493 #ifdef SSL_OP_NO_EXTENDED_MASTER_SECRET
7494 1 return SSL_OP_NO_EXTENDED_MASTER_SECRET;
7495 #else
7496 goto not_there;
7497 #endif
7498  
7499 }
7500 2 ▶ if (!memcmp(name, "TLSEXT_TYPE_ec_point_formats", 28)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "TLSEXT_TYPE_ec_point_formats", 28)) { 1 1 2
7501 /* ^ */
7502
7503 #ifdef TLSEXT_TYPE_ec_point_formats
7504 1 return TLSEXT_TYPE_ec_point_formats;
7505 #else
7506 goto not_there;
7507 #endif
7508  
7509 }
7510 1 ▶ if (!memcmp(name, "X509_V_ERR_CRL_NOT_YET_VALID", 28)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "X509_V_ERR_CRL_NOT_YET_VALID", 28)) { 1 0 1
7511 /* ^ */
7512
7513 #ifdef X509_V_ERR_CRL_NOT_YET_VALID
7514 1 return X509_V_ERR_CRL_NOT_YET_VALID;
7515 #else
7516 goto not_there;
7517 #endif
7518  
7519 }
7520 0 break;
7521 1 case 'c':
7522 1 ▶ if (!memcmp(name, "TLSEXT_TYPE_encrypt_then_mac", 28)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "TLSEXT_TYPE_encrypt_then_mac", 28)) { 1 0 1
7523 /* ^ */
7524
7525 #ifdef TLSEXT_TYPE_encrypt_then_mac
7526 1 return TLSEXT_TYPE_encrypt_then_mac;
7527 #else
7528 goto not_there;
7529 #endif
7530  
7531 }
7532 0 break;
7533 1 case 'e':
7534 1 ▶ if (!memcmp(name, "NID_pkcs7_signedAndEnveloped", 28)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "NID_pkcs7_signedAndEnveloped", 28)) { 1 0 1
7535 /* ^ */
7536
7537 #ifdef NID_pkcs7_signedAndEnveloped
7538 1 return NID_pkcs7_signedAndEnveloped;
7539 #else
7540 goto not_there;
7541 #endif
7542  
7543 }
7544 0 break;
7545 1 case 'i':
7546 1 ▶ if (!memcmp(name, "TLSEXT_TYPE_client_cert_type", 28)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "TLSEXT_TYPE_client_cert_type", 28)) { 1 0 1
7547 /* ^ */
7548
7549 #ifdef TLSEXT_TYPE_client_cert_type
7550 return TLSEXT_TYPE_client_cert_type;
7551 #else
7552 1 goto not_there;
7553 #endif
7554  
7555 }
7556 0 break;
7557 2 case 'k':
7558 2 ▶ if (!memcmp(name, "NID_authority_key_identifier", 28)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "NID_authority_key_identifier", 28)) { 2 0 2
7559 /* ^ */
7560
7561 #ifdef NID_authority_key_identifier
7562 2 return NID_authority_key_identifier;
7563 #else
7564 goto not_there;
7565 #endif
7566  
7567 }
7568 0 break;
7569 1 case 'p':
7570 1 ▶ if (!memcmp(name, "TLSEXT_TYPE_supported_groups", 28)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "TLSEXT_TYPE_supported_groups", 28)) { 1 0 1
7571 /* ^ */
7572
7573 #ifdef TLSEXT_TYPE_supported_groups
7574 1 return TLSEXT_TYPE_supported_groups;
7575 #else
7576 goto not_there;
7577 #endif
7578  
7579 }
7580 0 break;
7581 1 case 'r':
7582 1 ▶ if (!memcmp(name, "TLSEXT_TYPE_server_cert_type", 28)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "TLSEXT_TYPE_server_cert_type", 28)) { 1 0 1
7583 /* ^ */
7584
7585 #ifdef TLSEXT_TYPE_server_cert_type
7586 return TLSEXT_TYPE_server_cert_type;
7587 #else
7588 1 goto not_there;
7589 #endif
7590  
7591 }
7592 0 break;
7593 1 case 's':
7594 1 ▶ if (!memcmp(name, "NID_netscape_ssl_server_name", 28)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "NID_netscape_ssl_server_name", 28)) { 1 0 1
7595 /* ^ */
7596
7597 #ifdef NID_netscape_ssl_server_name
7598 1 return NID_netscape_ssl_server_name;
7599 #else
7600 goto not_there;
7601 #endif
7602  
7603 }
7604 0 break;
7605 1 case 'y':
7606 1 ▶ if (!memcmp(name, "NID_private_key_usage_period", 28)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "NID_private_key_usage_period", 28)) { 1 0 1
7607 /* ^ */
7608
7609 #ifdef NID_private_key_usage_period
7610 1 return NID_private_key_usage_period;
7611 #else
7612 goto not_there;
7613 #endif
7614  
7615 }
7616 0 break;
7617 }
7618 0 break;
7619 20 case 29:
7620 /* Names all of length 29. */
7621 /* AD_BAD_CERTIFICATE_HASH_VALUE NID_pkcs9_unstructuredAddress
7622 OCSP_RESPONSE_STATUS_TRYLATER OPENSSL_INIT_ENGINE_CRYPTODEV
7623 OPENSSL_INIT_LOAD_SSL_STRINGS OP_ALLOW_CLIENT_RENEGOTIATION
7624 OP_MICROSOFT_BIG_SSLV3_BUFFER R_SSL_SESSION_ID_IS_DIFFERENT
7625 SESS_CACHE_NO_INTERNAL_LOOKUP X509_V_ERR_AKID_SKID_MISMATCH
7626 X509_V_ERR_CERT_NOT_YET_VALID X509_V_ERR_EXCLUDED_VIOLATION
7627 X509_V_ERR_NO_EXPLICIT_POLICY X509_V_ERR_OCSP_VERIFY_FAILED
7628 X509_V_ERR_OCSP_VERIFY_NEEDED X509_V_ERR_SUBJECT_NAME_EMPTY
7629 X509_V_FLAG_ALLOW_PROXY_CERTS */
7630 /* Offset 16 gives the best switch position. */
7631 20 switch (name[16]) {
7632 1 case 'A':
7633 1 ▶ if (!memcmp(name, "OCSP_RESPONSE_STATUS_TRYLATER", 29)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "OCSP_RESPONSE_STATUS_TRYLATER", 29)) { 1 0 1
7634 /* ^ */
7635
7636 #ifdef OCSP_RESPONSE_STATUS_TRYLATER
7637 1 return OCSP_RESPONSE_STATUS_TRYLATER;
7638 #else
7639 goto not_there;
7640 #endif
7641  
7642 }
7643 0 break;
7644 1 case 'C':
7645 1 ▶ if (!memcmp(name, "X509_V_ERR_SUBJECT_NAME_EMPTY", 29)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "X509_V_ERR_SUBJECT_NAME_EMPTY", 29)) { 1 0 1
7646 /* ^ */
7647
7648 #ifdef X509_V_ERR_SUBJECT_NAME_EMPTY
7649 1 return X509_V_ERR_SUBJECT_NAME_EMPTY;
7650 #else
7651 goto not_there;
7652 #endif
7653  
7654 }
7655 0 break;
7656 2 case 'D':
7657 2 ▶ if (!memcmp(name, "OPENSSL_INIT_LOAD_SSL_STRINGS", 29)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "OPENSSL_INIT_LOAD_SSL_STRINGS", 29)) { 1 1 2
7658 /* ^ */
7659
7660 #ifdef OPENSSL_INIT_LOAD_SSL_STRINGS
7661 1 return OPENSSL_INIT_LOAD_SSL_STRINGS;
7662 #else
7663 goto not_there;
7664 #endif
7665  
7666 }
7667 1 ▶ if (!memcmp(name, "X509_V_ERR_EXCLUDED_VIOLATION", 29)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "X509_V_ERR_EXCLUDED_VIOLATION", 29)) { 1 0 1
7668 /* ^ */
7669
7670 #ifdef X509_V_ERR_EXCLUDED_VIOLATION
7671 1 return X509_V_ERR_EXCLUDED_VIOLATION;
7672 #else
7673 goto not_there;
7674 #endif
7675  
7676 }
7677 0 break;
7678 1 case 'I':
7679 1 ▶ if (!memcmp(name, "OPENSSL_INIT_ENGINE_CRYPTODEV", 29)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "OPENSSL_INIT_ENGINE_CRYPTODEV", 29)) { 1 0 1
7680 /* ^ */
7681
7682 #ifdef OPENSSL_INIT_ENGINE_CRYPTODEV
7683 1 return OPENSSL_INIT_ENGINE_CRYPTODEV;
7684 #else
7685 goto not_there;
7686 #endif
7687  
7688 }
7689 0 break;
7690 1 case 'N':
7691 1 ▶ if (!memcmp(name, "X509_V_ERR_CERT_NOT_YET_VALID", 29)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "X509_V_ERR_CERT_NOT_YET_VALID", 29)) { 1 0 1
7692 /* ^ */
7693
7694 #ifdef X509_V_ERR_CERT_NOT_YET_VALID
7695 1 return X509_V_ERR_CERT_NOT_YET_VALID;
7696 #else
7697 goto not_there;
7698 #endif
7699  
7700 }
7701 0 break;
7702 2 case 'P':
7703 2 ▶ if (!memcmp(name, "X509_V_ERR_NO_EXPLICIT_POLICY", 29)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "X509_V_ERR_NO_EXPLICIT_POLICY", 29)) { 2 0 2
7704 /* ^ */
7705
7706 #ifdef X509_V_ERR_NO_EXPLICIT_POLICY
7707 2 return X509_V_ERR_NO_EXPLICIT_POLICY;
7708 #else
7709 goto not_there;
7710 #endif
7711  
7712 }
7713 0 break;
7714 1 case 'R':
7715 1 ▶ if (!memcmp(name, "OP_ALLOW_CLIENT_RENEGOTIATION", 29)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "OP_ALLOW_CLIENT_RENEGOTIATION", 29)) { 1 0 1
7716 /* ^ */
7717
7718 #ifdef SSL_OP_ALLOW_CLIENT_RENEGOTIATION
7719 1 return SSL_OP_ALLOW_CLIENT_RENEGOTIATION;
7720 #else
7721 goto not_there;
7722 #endif
7723  
7724 }
7725 0 break;
7726 1 case 'S':
7727 1 ▶ if (!memcmp(name, "X509_V_ERR_AKID_SKID_MISMATCH", 29)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "X509_V_ERR_AKID_SKID_MISMATCH", 29)) { 1 0 1
7728 /* ^ */
7729
7730 #ifdef X509_V_ERR_AKID_SKID_MISMATCH
7731 1 return X509_V_ERR_AKID_SKID_MISMATCH;
7732 #else
7733 goto not_there;
7734 #endif
7735  
7736 }
7737 0 break;
7738 2 case 'T':
7739 2 ▶ if (!memcmp(name, "AD_BAD_CERTIFICATE_HASH_VALUE", 29)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "AD_BAD_CERTIFICATE_HASH_VALUE", 29)) { 1 1 2
7740 /* ^ */
7741
7742 #ifdef SSL_AD_BAD_CERTIFICATE_HASH_VALUE
7743 1 return SSL_AD_BAD_CERTIFICATE_HASH_VALUE;
7744 #else
7745 goto not_there;
7746 #endif
7747  
7748 }
7749 1 ▶ if (!memcmp(name, "SESS_CACHE_NO_INTERNAL_LOOKUP", 29)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "SESS_CACHE_NO_INTERNAL_LOOKUP", 29)) { 1 0 1
7750 /* ^ */
7751
7752 #ifdef SSL_SESS_CACHE_NO_INTERNAL_LOOKUP
7753 1 return SSL_SESS_CACHE_NO_INTERNAL_LOOKUP;
7754 #else
7755 goto not_there;
7756 #endif
7757  
7758 }
7759 0 break;
7760 2 case 'V':
7761 2 ▶ if (!memcmp(name, "X509_V_ERR_OCSP_VERIFY_FAILED", 29)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "X509_V_ERR_OCSP_VERIFY_FAILED", 29)) { 1 1 2
7762 /* ^ */
7763
7764 #ifdef X509_V_ERR_OCSP_VERIFY_FAILED
7765 1 return X509_V_ERR_OCSP_VERIFY_FAILED;
7766 #else
7767 goto not_there;
7768 #endif
7769  
7770 }
7771 1 ▶ if (!memcmp(name, "X509_V_ERR_OCSP_VERIFY_NEEDED", 29)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "X509_V_ERR_OCSP_VERIFY_NEEDED", 29)) { 1 0 1
7772 /* ^ */
7773
7774 #ifdef X509_V_ERR_OCSP_VERIFY_NEEDED
7775 1 return X509_V_ERR_OCSP_VERIFY_NEEDED;
7776 #else
7777 goto not_there;
7778 #endif
7779  
7780 }
7781 0 break;
7782 3 case 'W':
7783 3 ▶ if (!memcmp(name, "X509_V_FLAG_ALLOW_PROXY_CERTS", 29)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "X509_V_FLAG_ALLOW_PROXY_CERTS", 29)) { 3 0 3
7784 /* ^ */
7785
7786 #ifdef X509_V_FLAG_ALLOW_PROXY_CERTS
7787 3 return X509_V_FLAG_ALLOW_PROXY_CERTS;
7788 #else
7789 goto not_there;
7790 #endif
7791  
7792 }
7793 0 break;
7794 2 case '_':
7795 2 ▶ if (!memcmp(name, "OP_MICROSOFT_BIG_SSLV3_BUFFER", 29)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "OP_MICROSOFT_BIG_SSLV3_BUFFER", 29)) { 1 1 2
7796 /* ^ */
7797
7798 #ifdef SSL_OP_MICROSOFT_BIG_SSLV3_BUFFER
7799 1 return SSL_OP_MICROSOFT_BIG_SSLV3_BUFFER;
7800 #else
7801 goto not_there;
7802 #endif
7803  
7804 }
7805 1 ▶ if (!memcmp(name, "R_SSL_SESSION_ID_IS_DIFFERENT", 29)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "R_SSL_SESSION_ID_IS_DIFFERENT", 29)) { 1 0 1
7806 /* ^ */
7807
7808 #ifdef SSL_R_SSL_SESSION_ID_IS_DIFFERENT
7809 return SSL_R_SSL_SESSION_ID_IS_DIFFERENT;
7810 #else
7811 1 goto not_there;
7812 #endif
7813  
7814 }
7815 0 break;
7816 1 case 'c':
7817 1 ▶ if (!memcmp(name, "NID_pkcs9_unstructuredAddress", 29)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "NID_pkcs9_unstructuredAddress", 29)) { 1 0 1
7818 /* ^ */
7819
7820 #ifdef NID_pkcs9_unstructuredAddress
7821 1 return NID_pkcs9_unstructuredAddress;
7822 #else
7823 goto not_there;
7824 #endif
7825  
7826 }
7827 0 break;
7828 }
7829 0 break;
7830 11 case 30:
7831 /* Names all of length 30. */
7832 /* NID_netscape_ca_revocation_url OP_DONT_INSERT_EMPTY_FRAGMENTS
7833 OP_SSLREF2_REUSE_CERT_TYPE_BUG R_UNABLE_TO_EXTRACT_PUBLIC_KEY
7834 TLSEXT_TYPE_supported_versions X509_V_ERR_CERT_CHAIN_TOO_LONG
7835 X509_V_ERR_DIFFERENT_CRL_SCOPE X509_V_ERR_IP_ADDRESS_MISMATCH
7836 X509_V_ERR_PERMITTED_VIOLATION X509_V_FLAG_CHECK_SS_SIGNATURE */
7837 /* Offset 24 gives the best switch position. */
7838 11 switch (name[24]) {
7839 1 case 'G':
7840 1 ▶ if (!memcmp(name, "OP_DONT_INSERT_EMPTY_FRAGMENTS", 30)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "OP_DONT_INSERT_EMPTY_FRAGMENTS", 30)) { 1 0 1
7841 /* ^ */
7842
7843 #ifdef SSL_OP_DONT_INSERT_EMPTY_FRAGMENTS
7844 1 return SSL_OP_DONT_INSERT_EMPTY_FRAGMENTS;
7845 #else
7846 goto not_there;
7847 #endif
7848  
7849 }
7850 0 break;
7851 1 case 'I':
7852 1 ▶ if (!memcmp(name, "R_UNABLE_TO_EXTRACT_PUBLIC_KEY", 30)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "R_UNABLE_TO_EXTRACT_PUBLIC_KEY", 30)) { 1 0 1
7853 /* ^ */
7854
7855 #ifdef SSL_R_UNABLE_TO_EXTRACT_PUBLIC_KEY
7856 return SSL_R_UNABLE_TO_EXTRACT_PUBLIC_KEY;
7857 #else
7858 1 goto not_there;
7859 #endif
7860  
7861 }
7862 0 break;
7863 1 case 'L':
7864 1 ▶ if (!memcmp(name, "X509_V_ERR_PERMITTED_VIOLATION", 30)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "X509_V_ERR_PERMITTED_VIOLATION", 30)) { 1 0 1
7865 /* ^ */
7866
7867 #ifdef X509_V_ERR_PERMITTED_VIOLATION
7868 1 return X509_V_ERR_PERMITTED_VIOLATION;
7869 #else
7870 goto not_there;
7871 #endif
7872  
7873 }
7874 0 break;
7875 1 case 'N':
7876 1 ▶ if (!memcmp(name, "X509_V_FLAG_CHECK_SS_SIGNATURE", 30)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "X509_V_FLAG_CHECK_SS_SIGNATURE", 30)) { 1 0 1
7877 /* ^ */
7878
7879 #ifdef X509_V_FLAG_CHECK_SS_SIGNATURE
7880 1 return X509_V_FLAG_CHECK_SS_SIGNATURE;
7881 #else
7882 goto not_there;
7883 #endif
7884  
7885 }
7886 0 break;
7887 1 case 'O':
7888 1 ▶ if (!memcmp(name, "X509_V_ERR_CERT_CHAIN_TOO_LONG", 30)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "X509_V_ERR_CERT_CHAIN_TOO_LONG", 30)) { 1 0 1
7889 /* ^ */
7890
7891 #ifdef X509_V_ERR_CERT_CHAIN_TOO_LONG
7892 1 return X509_V_ERR_CERT_CHAIN_TOO_LONG;
7893 #else
7894 goto not_there;
7895 #endif
7896  
7897 }
7898 0 break;
7899 1 case 'P':
7900 1 ▶ if (!memcmp(name, "OP_SSLREF2_REUSE_CERT_TYPE_BUG", 30)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "OP_SSLREF2_REUSE_CERT_TYPE_BUG", 30)) { 1 0 1
7901 /* ^ */
7902
7903 #ifdef SSL_OP_SSLREF2_REUSE_CERT_TYPE_BUG
7904 1 return SSL_OP_SSLREF2_REUSE_CERT_TYPE_BUG;
7905 #else
7906 goto not_there;
7907 #endif
7908  
7909 }
7910 0 break;
7911 1 case 'S':
7912 1 ▶ if (!memcmp(name, "X509_V_ERR_IP_ADDRESS_MISMATCH", 30)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "X509_V_ERR_IP_ADDRESS_MISMATCH", 30)) { 1 0 1
7913 /* ^ */
7914
7915 #ifdef X509_V_ERR_IP_ADDRESS_MISMATCH
7916 1 return X509_V_ERR_IP_ADDRESS_MISMATCH;
7917 #else
7918 goto not_there;
7919 #endif
7920  
7921 }
7922 0 break;
7923 1 case '_':
7924 1 ▶ if (!memcmp(name, "X509_V_ERR_DIFFERENT_CRL_SCOPE", 30)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "X509_V_ERR_DIFFERENT_CRL_SCOPE", 30)) { 1 0 1
7925 /* ^ */
7926
7927 #ifdef X509_V_ERR_DIFFERENT_CRL_SCOPE
7928 1 return X509_V_ERR_DIFFERENT_CRL_SCOPE;
7929 #else
7930 goto not_there;
7931 #endif
7932  
7933 }
7934 0 break;
7935 1 case 'o':
7936 1 ▶ if (!memcmp(name, "NID_netscape_ca_revocation_url", 30)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "NID_netscape_ca_revocation_url", 30)) { 1 0 1
7937 /* ^ */
7938
7939 #ifdef NID_netscape_ca_revocation_url
7940 1 return NID_netscape_ca_revocation_url;
7941 #else
7942 goto not_there;
7943 #endif
7944  
7945 }
7946 0 break;
7947 2 case 'r':
7948 2 ▶ if (!memcmp(name, "TLSEXT_TYPE_supported_versions", 30)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "TLSEXT_TYPE_supported_versions", 30)) { 2 0 2
7949 /* ^ */
7950
7951 #ifdef TLSEXT_TYPE_supported_versions
7952 2 return TLSEXT_TYPE_supported_versions;
7953 #else
7954 goto not_there;
7955 #endif
7956  
7957 }
7958 0 break;
7959 }
7960 0 break;
7961 17 case 31:
7962 /* Names all of length 31. */
7963 /* CONF_MFLAGS_IGNORE_MISSING_FILE CONF_MFLAGS_IGNORE_RETURN_CODES
7964 MIN_RSA_MODULUS_LENGTH_IN_BYTES MODE_ACCEPT_MOVING_WRITE_BUFFER
7965 NID_pbe_WithSHA1And40BitRC2_CBC NID_sha512_224WithRSAEncryption
7966 NID_sha512_256WithRSAEncryption OCSP_RESPONSE_STATUS_SUCCESSFUL
7967 OPENSSL_INIT_NO_ADD_ALL_CIPHERS OPENSSL_INIT_NO_ADD_ALL_DIGESTS
7968 TLSEXT_TYPE_max_fragment_length TLSEXT_TYPE_post_handshake_auth
7969 X509_V_ERR_KEYUSAGE_NO_CERTSIGN X509_V_ERR_KEYUSAGE_NO_CRL_SIGN
7970 X509_V_ERR_NO_ISSUER_PUBLIC_KEY X509_V_ERR_PATH_LENGTH_EXCEEDED
7971 X509_V_FLAG_SUITEB_128_LOS_ONLY */
7972 /* Offset 13 gives the best switch position. */
7973 17 switch (name[13]) {
7974 1 case '4':
7975 1 ▶ if (!memcmp(name, "NID_sha512_224WithRSAEncryption", 31)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "NID_sha512_224WithRSAEncryption", 31)) { 1 0 1
7976 /* ^ */
7977
7978 #ifdef NID_sha512_224WithRSAEncryption
7979 1 return NID_sha512_224WithRSAEncryption;
7980 #else
7981 goto not_there;
7982 #endif
7983  
7984 }
7985 0 break;
7986 1 case '6':
7987 1 ▶ if (!memcmp(name, "NID_sha512_256WithRSAEncryption", 31)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "NID_sha512_256WithRSAEncryption", 31)) { 1 0 1
7988 /* ^ */
7989
7990 #ifdef NID_sha512_256WithRSAEncryption
7991 1 return NID_sha512_256WithRSAEncryption;
7992 #else
7993 goto not_there;
7994 #endif
7995  
7996 }
7997 0 break;
7998 2 case 'G':
7999 2 ▶ if (!memcmp(name, "CONF_MFLAGS_IGNORE_MISSING_FILE", 31)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "CONF_MFLAGS_IGNORE_MISSING_FILE", 31)) { 1 1 2
8000 /* ^ */
8001
8002 #ifdef CONF_MFLAGS_IGNORE_MISSING_FILE
8003 1 return CONF_MFLAGS_IGNORE_MISSING_FILE;
8004 #else
8005 goto not_there;
8006 #endif
8007  
8008 }
8009 1 ▶ if (!memcmp(name, "CONF_MFLAGS_IGNORE_RETURN_CODES", 31)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "CONF_MFLAGS_IGNORE_RETURN_CODES", 31)) { 1 0 1
8010 /* ^ */
8011
8012 #ifdef CONF_MFLAGS_IGNORE_RETURN_CODES
8013 1 return CONF_MFLAGS_IGNORE_RETURN_CODES;
8014 #else
8015 goto not_there;
8016 #endif
8017  
8018 }
8019 0 break;
8020 1 case 'H':
8021 1 ▶ if (!memcmp(name, "NID_pbe_WithSHA1And40BitRC2_CBC", 31)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "NID_pbe_WithSHA1And40BitRC2_CBC", 31)) { 1 0 1
8022 /* ^ */
8023
8024 #ifdef NID_pbe_WithSHA1And40BitRC2_CBC
8025 1 return NID_pbe_WithSHA1And40BitRC2_CBC;
8026 #else
8027 goto not_there;
8028 #endif
8029  
8030 }
8031 0 break;
8032 2 case 'N':
8033 2 ▶ if (!memcmp(name, "OPENSSL_INIT_NO_ADD_ALL_CIPHERS", 31)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "OPENSSL_INIT_NO_ADD_ALL_CIPHERS", 31)) { 1 1 2
8034 /* ^ */
8035
8036 #ifdef OPENSSL_INIT_NO_ADD_ALL_CIPHERS
8037 1 return OPENSSL_INIT_NO_ADD_ALL_CIPHERS;
8038 #else
8039 goto not_there;
8040 #endif
8041  
8042 }
8043 1 ▶ if (!memcmp(name, "OPENSSL_INIT_NO_ADD_ALL_DIGESTS", 31)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "OPENSSL_INIT_NO_ADD_ALL_DIGESTS", 31)) { 1 0 1
8044 /* ^ */
8045
8046 #ifdef OPENSSL_INIT_NO_ADD_ALL_DIGESTS
8047 1 return OPENSSL_INIT_NO_ADD_ALL_DIGESTS;
8048 #else
8049 goto not_there;
8050 #endif
8051  
8052 }
8053 0 break;
8054 1 case 'O':
8055 1 ▶ if (!memcmp(name, "MODE_ACCEPT_MOVING_WRITE_BUFFER", 31)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "MODE_ACCEPT_MOVING_WRITE_BUFFER", 31)) { 1 0 1
8056 /* ^ */
8057
8058 #ifdef SSL_MODE_ACCEPT_MOVING_WRITE_BUFFER
8059 1 return SSL_MODE_ACCEPT_MOVING_WRITE_BUFFER;
8060 #else
8061 goto not_there;
8062 #endif
8063  
8064 }
8065 0 break;
8066 1 case 'T':
8067 1 ▶ if (!memcmp(name, "X509_V_ERR_PATH_LENGTH_EXCEEDED", 31)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "X509_V_ERR_PATH_LENGTH_EXCEEDED", 31)) { 1 0 1
8068 /* ^ */
8069
8070 #ifdef X509_V_ERR_PATH_LENGTH_EXCEEDED
8071 1 return X509_V_ERR_PATH_LENGTH_EXCEEDED;
8072 #else
8073 goto not_there;
8074 #endif
8075  
8076 }
8077 0 break;
8078 2 case 'U':
8079 2 ▶ if (!memcmp(name, "MIN_RSA_MODULUS_LENGTH_IN_BYTES", 31)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "MIN_RSA_MODULUS_LENGTH_IN_BYTES", 31)) { 1 1 2
8080 /* ^ */
8081
8082 #ifdef SSL_MIN_RSA_MODULUS_LENGTH_IN_BYTES
8083 1 return SSL_MIN_RSA_MODULUS_LENGTH_IN_BYTES;
8084 #else
8085 goto not_there;
8086 #endif
8087  
8088 }
8089 1 ▶ if (!memcmp(name, "X509_V_FLAG_SUITEB_128_LOS_ONLY", 31)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "X509_V_FLAG_SUITEB_128_LOS_ONLY", 31)) { 1 0 1
8090 /* ^ */
8091
8092 #ifdef X509_V_FLAG_SUITEB_128_LOS_ONLY
8093 1 return X509_V_FLAG_SUITEB_128_LOS_ONLY;
8094 #else
8095 goto not_there;
8096 #endif
8097  
8098 }
8099 0 break;
8100 2 case 'Y':
8101 2 ▶ if (!memcmp(name, "X509_V_ERR_KEYUSAGE_NO_CERTSIGN", 31)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "X509_V_ERR_KEYUSAGE_NO_CERTSIGN", 31)) { 1 1 2
8102 /* ^ */
8103
8104 #ifdef X509_V_ERR_KEYUSAGE_NO_CERTSIGN
8105 1 return X509_V_ERR_KEYUSAGE_NO_CERTSIGN;
8106 #else
8107 goto not_there;
8108 #endif
8109  
8110 }
8111 1 ▶ if (!memcmp(name, "X509_V_ERR_KEYUSAGE_NO_CRL_SIGN", 31)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "X509_V_ERR_KEYUSAGE_NO_CRL_SIGN", 31)) { 1 0 1
8112 /* ^ */
8113
8114 #ifdef X509_V_ERR_KEYUSAGE_NO_CRL_SIGN
8115 1 return X509_V_ERR_KEYUSAGE_NO_CRL_SIGN;
8116 #else
8117 goto not_there;
8118 #endif
8119  
8120 }
8121 0 break;
8122 2 case '_':
8123 2 ▶ if (!memcmp(name, "OCSP_RESPONSE_STATUS_SUCCESSFUL", 31)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "OCSP_RESPONSE_STATUS_SUCCESSFUL", 31)) { 1 1 2
8124 /* ^ */
8125
8126 #ifdef OCSP_RESPONSE_STATUS_SUCCESSFUL
8127 1 return OCSP_RESPONSE_STATUS_SUCCESSFUL;
8128 #else
8129 goto not_there;
8130 #endif
8131  
8132 }
8133 1 ▶ if (!memcmp(name, "X509_V_ERR_NO_ISSUER_PUBLIC_KEY", 31)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "X509_V_ERR_NO_ISSUER_PUBLIC_KEY", 31)) { 1 0 1
8134 /* ^ */
8135
8136 #ifdef X509_V_ERR_NO_ISSUER_PUBLIC_KEY
8137 1 return X509_V_ERR_NO_ISSUER_PUBLIC_KEY;
8138 #else
8139 goto not_there;
8140 #endif
8141  
8142 }
8143 0 break;
8144 1 case 'a':
8145 1 ▶ if (!memcmp(name, "TLSEXT_TYPE_max_fragment_length", 31)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "TLSEXT_TYPE_max_fragment_length", 31)) { 1 0 1
8146 /* ^ */
8147
8148 #ifdef TLSEXT_TYPE_max_fragment_length
8149 1 return TLSEXT_TYPE_max_fragment_length;
8150 #else
8151 goto not_there;
8152 #endif
8153  
8154 }
8155 0 break;
8156 1 case 'o':
8157 1 ▶ if (!memcmp(name, "TLSEXT_TYPE_post_handshake_auth", 31)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "TLSEXT_TYPE_post_handshake_auth", 31)) { 1 0 1
8158 /* ^ */
8159
8160 #ifdef TLSEXT_TYPE_post_handshake_auth
8161 1 return TLSEXT_TYPE_post_handshake_auth;
8162 #else
8163 goto not_there;
8164 #endif
8165  
8166 }
8167 0 break;
8168 }
8169 0 break;
8170 10 case 32:
8171 /* Names all of length 32. */
8172 /* NID_pbe_WithSHA1And128BitRC2_CBC OCSP_RESPONSE_STATUS_SIGREQUIRED
8173 OPENSSL_INIT_LOAD_CRYPTO_STRINGS OPENSSL_INIT_NO_LOAD_SSL_STRINGS
8174 TLSEXT_TYPE_compress_certificate TLSEXT_TYPE_signature_algorithms
8175 X509_V_ERR_CA_BCONS_NOT_CRITICAL X509_V_ERR_CRL_SIGNATURE_FAILURE
8176 X509_V_ERR_SUITE_B_INVALID_CURVE X509_V_FLAG_EXTENDED_CRL_SUPPORT */
8177 /* Offset 17 gives the best switch position. */
8178 10 switch (name[17]) {
8179 1 case 'B':
8180 1 ▶ if (!memcmp(name, "X509_V_ERR_SUITE_B_INVALID_CURVE", 32)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "X509_V_ERR_SUITE_B_INVALID_CURVE", 32)) { 1 0 1
8181 /* ^ */
8182
8183 #ifdef X509_V_ERR_SUITE_B_INVALID_CURVE
8184 1 return X509_V_ERR_SUITE_B_INVALID_CURVE;
8185 #else
8186 goto not_there;
8187 #endif
8188  
8189 }
8190 0 break;
8191 1 case 'D':
8192 1 ▶ if (!memcmp(name, "X509_V_FLAG_EXTENDED_CRL_SUPPORT", 32)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "X509_V_FLAG_EXTENDED_CRL_SUPPORT", 32)) { 1 0 1
8193 /* ^ */
8194
8195 #ifdef X509_V_FLAG_EXTENDED_CRL_SUPPORT
8196 1 return X509_V_FLAG_EXTENDED_CRL_SUPPORT;
8197 #else
8198 goto not_there;
8199 #endif
8200  
8201 }
8202 0 break;
8203 1 case 'G':
8204 1 ▶ if (!memcmp(name, "X509_V_ERR_CRL_SIGNATURE_FAILURE", 32)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "X509_V_ERR_CRL_SIGNATURE_FAILURE", 32)) { 1 0 1
8205 /* ^ */
8206
8207 #ifdef X509_V_ERR_CRL_SIGNATURE_FAILURE
8208 1 return X509_V_ERR_CRL_SIGNATURE_FAILURE;
8209 #else
8210 goto not_there;
8211 #endif
8212  
8213 }
8214 0 break;
8215 1 case 'N':
8216 1 ▶ if (!memcmp(name, "X509_V_ERR_CA_BCONS_NOT_CRITICAL", 32)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "X509_V_ERR_CA_BCONS_NOT_CRITICAL", 32)) { 1 0 1
8217 /* ^ */
8218
8219 #ifdef X509_V_ERR_CA_BCONS_NOT_CRITICAL
8220 1 return X509_V_ERR_CA_BCONS_NOT_CRITICAL;
8221 #else
8222 goto not_there;
8223 #endif
8224  
8225 }
8226 0 break;
8227 1 case 'O':
8228 1 ▶ if (!memcmp(name, "OPENSSL_INIT_NO_LOAD_SSL_STRINGS", 32)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "OPENSSL_INIT_NO_LOAD_SSL_STRINGS", 32)) { 1 0 1
8229 /* ^ */
8230
8231 #ifdef OPENSSL_INIT_NO_LOAD_SSL_STRINGS
8232 1 return OPENSSL_INIT_NO_LOAD_SSL_STRINGS;
8233 #else
8234 goto not_there;
8235 #endif
8236  
8237 }
8238 0 break;
8239 1 case 'T':
8240 1 ▶ if (!memcmp(name, "OCSP_RESPONSE_STATUS_SIGREQUIRED", 32)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "OCSP_RESPONSE_STATUS_SIGREQUIRED", 32)) { 1 0 1
8241 /* ^ */
8242
8243 #ifdef OCSP_RESPONSE_STATUS_SIGREQUIRED
8244 1 return OCSP_RESPONSE_STATUS_SIGREQUIRED;
8245 #else
8246 goto not_there;
8247 #endif
8248  
8249 }
8250 0 break;
8251 1 case '_':
8252 1 ▶ if (!memcmp(name, "OPENSSL_INIT_LOAD_CRYPTO_STRINGS", 32)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "OPENSSL_INIT_LOAD_CRYPTO_STRINGS", 32)) { 1 0 1
8253 /* ^ */
8254
8255 #ifdef OPENSSL_INIT_LOAD_CRYPTO_STRINGS
8256 1 return OPENSSL_INIT_LOAD_CRYPTO_STRINGS;
8257 #else
8258 goto not_there;
8259 #endif
8260  
8261 }
8262 0 break;
8263 1 case 'e':
8264 1 ▶ if (!memcmp(name, "TLSEXT_TYPE_compress_certificate", 32)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "TLSEXT_TYPE_compress_certificate", 32)) { 1 0 1
8265 /* ^ */
8266
8267 #ifdef TLSEXT_TYPE_compress_certificate
8268 return TLSEXT_TYPE_compress_certificate;
8269 #else
8270 1 goto not_there;
8271 #endif
8272  
8273 }
8274 0 break;
8275 1 case 'n':
8276 1 ▶ if (!memcmp(name, "NID_pbe_WithSHA1And128BitRC2_CBC", 32)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "NID_pbe_WithSHA1And128BitRC2_CBC", 32)) { 1 0 1
8277 /* ^ */
8278
8279 #ifdef NID_pbe_WithSHA1And128BitRC2_CBC
8280 1 return NID_pbe_WithSHA1And128BitRC2_CBC;
8281 #else
8282 goto not_there;
8283 #endif
8284  
8285 }
8286 0 break;
8287 1 case 't':
8288 1 ▶ if (!memcmp(name, "TLSEXT_TYPE_signature_algorithms", 32)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "TLSEXT_TYPE_signature_algorithms", 32)) { 1 0 1
8289 /* ^ */
8290
8291 #ifdef TLSEXT_TYPE_signature_algorithms
8292 1 return TLSEXT_TYPE_signature_algorithms;
8293 #else
8294 goto not_there;
8295 #endif
8296  
8297 }
8298 0 break;
8299 }
8300 0 break;
8301 4 case 33:
8302 /* Names all of length 33. */
8303 /* OCSP_RESPONSE_STATUS_UNAUTHORIZED X509_V_ERR_CERT_SIGNATURE_FAILURE
8304 X509_V_ERR_EC_KEY_EXPLICIT_PARAMS X509_V_ERR_EMPTY_SUBJECT_ALT_NAME */
8305 /* Offset 29 gives the best switch position. */
8306 4 switch (name[29]) {
8307 1 case 'I':
8308 1 ▶ if (!memcmp(name, "OCSP_RESPONSE_STATUS_UNAUTHORIZED", 33)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "OCSP_RESPONSE_STATUS_UNAUTHORIZED", 33)) { 1 0 1
8309 /* ^ */
8310
8311 #ifdef OCSP_RESPONSE_STATUS_UNAUTHORIZED
8312 1 return OCSP_RESPONSE_STATUS_UNAUTHORIZED;
8313 #else
8314 goto not_there;
8315 #endif
8316  
8317 }
8318 0 break;
8319 1 case 'L':
8320 1 ▶ if (!memcmp(name, "X509_V_ERR_CERT_SIGNATURE_FAILURE", 33)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "X509_V_ERR_CERT_SIGNATURE_FAILURE", 33)) { 1 0 1
8321 /* ^ */
8322
8323 #ifdef X509_V_ERR_CERT_SIGNATURE_FAILURE
8324 1 return X509_V_ERR_CERT_SIGNATURE_FAILURE;
8325 #else
8326 goto not_there;
8327 #endif
8328  
8329 }
8330 0 break;
8331 1 case 'N':
8332 1 ▶ if (!memcmp(name, "X509_V_ERR_EMPTY_SUBJECT_ALT_NAME", 33)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "X509_V_ERR_EMPTY_SUBJECT_ALT_NAME", 33)) { 1 0 1
8333 /* ^ */
8334
8335 #ifdef X509_V_ERR_EMPTY_SUBJECT_ALT_NAME
8336 1 return X509_V_ERR_EMPTY_SUBJECT_ALT_NAME;
8337 #else
8338 goto not_there;
8339 #endif
8340  
8341 }
8342 0 break;
8343 1 case 'R':
8344 1 ▶ if (!memcmp(name, "X509_V_ERR_EC_KEY_EXPLICIT_PARAMS", 33)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "X509_V_ERR_EC_KEY_EXPLICIT_PARAMS", 33)) { 1 0 1
8345 /* ^ */
8346
8347 #ifdef X509_V_ERR_EC_KEY_EXPLICIT_PARAMS
8348 1 return X509_V_ERR_EC_KEY_EXPLICIT_PARAMS;
8349 #else
8350 goto not_there;
8351 #endif
8352  
8353 }
8354 0 break;
8355 }
8356 0 break;
8357 10 case 34:
8358 /* Names all of length 34. */
8359 /* AD_BAD_CERTIFICATE_STATUS_RESPONSE OCSP_RESPONSE_STATUS_INTERNALERROR
8360 OP_NETSCAPE_DEMO_CIPHER_CHANGE_BUG TLSEXT_TYPE_client_certificate_url
8361 TLSEXT_TYPE_extended_master_secret X509_V_ERR_SUBJECT_ISSUER_MISMATCH
8362 X509_V_ERR_SUITE_B_INVALID_VERSION X509_V_ERR_SUITE_B_LOS_NOT_ALLOWED
8363 X509_V_ERR_UNSUPPORTED_NAME_SYNTAX */
8364 /* Offset 33 gives the best switch position. */
8365 10 switch (name[33]) {
8366 1 case 'D':
8367 1 ▶ if (!memcmp(name, "X509_V_ERR_SUITE_B_LOS_NOT_ALLOWE", 33)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "X509_V_ERR_SUITE_B_LOS_NOT_ALLOWE", 33)) { 1 0 1
8368 /* D */
8369
8370 #ifdef X509_V_ERR_SUITE_B_LOS_NOT_ALLOWED
8371 1 return X509_V_ERR_SUITE_B_LOS_NOT_ALLOWED;
8372 #else
8373 goto not_there;
8374 #endif
8375  
8376 }
8377 0 break;
8378 1 case 'E':
8379 1 ▶ if (!memcmp(name, "AD_BAD_CERTIFICATE_STATUS_RESPONS", 33)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "AD_BAD_CERTIFICATE_STATUS_RESPONS", 33)) { 1 0 1
8380 /* E */
8381
8382 #ifdef SSL_AD_BAD_CERTIFICATE_STATUS_RESPONSE
8383 1 return SSL_AD_BAD_CERTIFICATE_STATUS_RESPONSE;
8384 #else
8385 goto not_there;
8386 #endif
8387  
8388 }
8389 0 break;
8390 1 case 'G':
8391 1 ▶ if (!memcmp(name, "OP_NETSCAPE_DEMO_CIPHER_CHANGE_BU", 33)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "OP_NETSCAPE_DEMO_CIPHER_CHANGE_BU", 33)) { 1 0 1
8392 /* G */
8393
8394 #ifdef SSL_OP_NETSCAPE_DEMO_CIPHER_CHANGE_BUG
8395 1 return SSL_OP_NETSCAPE_DEMO_CIPHER_CHANGE_BUG;
8396 #else
8397 goto not_there;
8398 #endif
8399  
8400 }
8401 0 break;
8402 1 case 'H':
8403 1 ▶ if (!memcmp(name, "X509_V_ERR_SUBJECT_ISSUER_MISMATC", 33)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "X509_V_ERR_SUBJECT_ISSUER_MISMATC", 33)) { 1 0 1
8404 /* H */
8405
8406 #ifdef X509_V_ERR_SUBJECT_ISSUER_MISMATCH
8407 1 return X509_V_ERR_SUBJECT_ISSUER_MISMATCH;
8408 #else
8409 goto not_there;
8410 #endif
8411  
8412 }
8413 0 break;
8414 1 case 'N':
8415 1 ▶ if (!memcmp(name, "X509_V_ERR_SUITE_B_INVALID_VERSIO", 33)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "X509_V_ERR_SUITE_B_INVALID_VERSIO", 33)) { 1 0 1
8416 /* N */
8417
8418 #ifdef X509_V_ERR_SUITE_B_INVALID_VERSION
8419 1 return X509_V_ERR_SUITE_B_INVALID_VERSION;
8420 #else
8421 goto not_there;
8422 #endif
8423  
8424 }
8425 0 break;
8426 1 case 'R':
8427 1 ▶ if (!memcmp(name, "OCSP_RESPONSE_STATUS_INTERNALERRO", 33)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "OCSP_RESPONSE_STATUS_INTERNALERRO", 33)) { 1 0 1
8428 /* R */
8429
8430 #ifdef OCSP_RESPONSE_STATUS_INTERNALERROR
8431 1 return OCSP_RESPONSE_STATUS_INTERNALERROR;
8432 #else
8433 goto not_there;
8434 #endif
8435  
8436 }
8437 0 break;
8438 1 case 'X':
8439 1 ▶ if (!memcmp(name, "X509_V_ERR_UNSUPPORTED_NAME_SYNTA", 33)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "X509_V_ERR_UNSUPPORTED_NAME_SYNTA", 33)) { 1 0 1
8440 /* X */
8441
8442 #ifdef X509_V_ERR_UNSUPPORTED_NAME_SYNTAX
8443 1 return X509_V_ERR_UNSUPPORTED_NAME_SYNTAX;
8444 #else
8445 goto not_there;
8446 #endif
8447  
8448 }
8449 0 break;
8450 1 case 'l':
8451 1 ▶ if (!memcmp(name, "TLSEXT_TYPE_client_certificate_ur", 33)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "TLSEXT_TYPE_client_certificate_ur", 33)) { 1 0 1
8452 /* l */
8453
8454 #ifdef TLSEXT_TYPE_client_certificate_url
8455 1 return TLSEXT_TYPE_client_certificate_url;
8456 #else
8457 goto not_there;
8458 #endif
8459  
8460 }
8461 0 break;
8462 2 case 't':
8463 2 ▶ if (!memcmp(name, "TLSEXT_TYPE_extended_master_secre", 33)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "TLSEXT_TYPE_extended_master_secre", 33)) { 2 0 2
8464 /* t */
8465
8466 #ifdef TLSEXT_TYPE_extended_master_secret
8467 2 return TLSEXT_TYPE_extended_master_secret;
8468 #else
8469 goto not_there;
8470 #endif
8471  
8472 }
8473 0 break;
8474 }
8475 0 break;
8476 11 case 35:
8477 /* Names all of length 35. */
8478 /* OPENSSL_INFO_DIR_FILENAME_SEPARATOR OPENSSL_INIT_NO_LOAD_CRYPTO_STRINGS
8479 OP_NETSCAPE_REUSE_CIPHER_CHANGE_BUG R_PEER_DID_NOT_RETURN_A_CERTIFICATE
8480 TLSEXT_TYPE_certificate_authorities X509_CHECK_FLAG_NEVER_CHECK_SUBJECT
8481 X509_V_ERR_APPLICATION_VERIFICATION X509_V_ERR_INVALID_POLICY_EXTENSION
8482 X509_V_ERR_UNABLE_TO_GET_CRL_ISSUER _NET_SSLEAY_TEST_UNDEFINED_CONSTANT
8483 */
8484 /* Offset 14 gives the best switch position. */
8485 11 switch (name[14]) {
8486 1 case 'A':
8487 1 ▶ if (!memcmp(name, "X509_V_ERR_INVALID_POLICY_EXTENSION", 35)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "X509_V_ERR_INVALID_POLICY_EXTENSION", 35)) { 1 0 1
8488 /* ^ */
8489
8490 #ifdef X509_V_ERR_INVALID_POLICY_EXTENSION
8491 1 return X509_V_ERR_INVALID_POLICY_EXTENSION;
8492 #else
8493 goto not_there;
8494 #endif
8495  
8496 }
8497 0 break;
8498 1 case 'B':
8499 1 ▶ if (!memcmp(name, "X509_V_ERR_UNABLE_TO_GET_CRL_ISSUER", 35)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "X509_V_ERR_UNABLE_TO_GET_CRL_ISSUER", 35)) { 1 0 1
8500 /* ^ */
8501
8502 #ifdef X509_V_ERR_UNABLE_TO_GET_CRL_ISSUER
8503 1 return X509_V_ERR_UNABLE_TO_GET_CRL_ISSUER;
8504 #else
8505 goto not_there;
8506 #endif
8507  
8508 }
8509 0 break;
8510 1 case 'G':
8511 1 ▶ if (!memcmp(name, "X509_CHECK_FLAG_NEVER_CHECK_SUBJECT", 35)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "X509_CHECK_FLAG_NEVER_CHECK_SUBJECT", 35)) { 1 0 1
8512 /* ^ */
8513
8514 #ifdef X509_CHECK_FLAG_NEVER_CHECK_SUBJECT
8515 1 return X509_CHECK_FLAG_NEVER_CHECK_SUBJECT;
8516 #else
8517 goto not_there;
8518 #endif
8519  
8520 }
8521 0 break;
8522 2 case 'I':
8523 2 ▶ if (!memcmp(name, "OPENSSL_INFO_DIR_FILENAME_SEPARATOR", 35)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "OPENSSL_INFO_DIR_FILENAME_SEPARATOR", 35)) { 2 0 2
8524 /* ^ */
8525
8526 #ifdef OPENSSL_INFO_DIR_FILENAME_SEPARATOR
8527 2 return OPENSSL_INFO_DIR_FILENAME_SEPARATOR;
8528 #else
8529 goto not_there;
8530 #endif
8531  
8532 }
8533 0 break;
8534 1 case 'L':
8535 1 ▶ if (!memcmp(name, "X509_V_ERR_APPLICATION_VERIFICATION", 35)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "X509_V_ERR_APPLICATION_VERIFICATION", 35)) { 1 0 1
8536 /* ^ */
8537
8538 #ifdef X509_V_ERR_APPLICATION_VERIFICATION
8539 1 return X509_V_ERR_APPLICATION_VERIFICATION;
8540 #else
8541 goto not_there;
8542 #endif
8543  
8544 }
8545 0 break;
8546 1 case 'O':
8547 1 ▶ if (!memcmp(name, "OPENSSL_INIT_NO_LOAD_CRYPTO_STRINGS", 35)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "OPENSSL_INIT_NO_LOAD_CRYPTO_STRINGS", 35)) { 1 0 1
8548 /* ^ */
8549
8550 #ifdef OPENSSL_INIT_NO_LOAD_CRYPTO_STRINGS
8551 1 return OPENSSL_INIT_NO_LOAD_CRYPTO_STRINGS;
8552 #else
8553 goto not_there;
8554 #endif
8555  
8556 }
8557 0 break;
8558 1 case 'S':
8559 1 ▶ if (!memcmp(name, "_NET_SSLEAY_TEST_UNDEFINED_CONSTANT", 35)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "_NET_SSLEAY_TEST_UNDEFINED_CONSTANT", 35)) { 1 0 1
8560 /* ^ */
8561
8562 #ifdef _NET_SSLEAY_TEST_UNDEFINED_CONSTANT
8563 return _NET_SSLEAY_TEST_UNDEFINED_CONSTANT;
8564 #else
8565 1 goto not_there;
8566 #endif
8567  
8568 }
8569 0 break;
8570 1 case 'U':
8571 1 ▶ if (!memcmp(name, "OP_NETSCAPE_REUSE_CIPHER_CHANGE_BUG", 35)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "OP_NETSCAPE_REUSE_CIPHER_CHANGE_BUG", 35)) { 1 0 1
8572 /* ^ */
8573
8574 #ifdef SSL_OP_NETSCAPE_REUSE_CIPHER_CHANGE_BUG
8575 1 return SSL_OP_NETSCAPE_REUSE_CIPHER_CHANGE_BUG;
8576 #else
8577 goto not_there;
8578 #endif
8579  
8580 }
8581 0 break;
8582 1 case '_':
8583 1 ▶ if (!memcmp(name, "R_PEER_DID_NOT_RETURN_A_CERTIFICATE", 35)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "R_PEER_DID_NOT_RETURN_A_CERTIFICATE", 35)) { 1 0 1
8584 /* ^ */
8585
8586 #ifdef SSL_R_PEER_DID_NOT_RETURN_A_CERTIFICATE
8587 1 return SSL_R_PEER_DID_NOT_RETURN_A_CERTIFICATE;
8588 #else
8589 goto not_there;
8590 #endif
8591  
8592 }
8593 0 break;
8594 1 case 'r':
8595 1 ▶ if (!memcmp(name, "TLSEXT_TYPE_certificate_authorities", 35)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "TLSEXT_TYPE_certificate_authorities", 35)) { 1 0 1
8596 /* ^ */
8597
8598 #ifdef TLSEXT_TYPE_certificate_authorities
8599 1 return TLSEXT_TYPE_certificate_authorities;
8600 #else
8601 goto not_there;
8602 #endif
8603  
8604 }
8605 0 break;
8606 }
8607 0 break;
8608 8 case 36:
8609 /* Names all of length 36. */
8610 /* OP_ALLOW_UNSAFE_LEGACY_RENEGOTIATION
8611 X509_CHECK_FLAG_ALWAYS_CHECK_SUBJECT
8612 X509_CHECK_FLAG_NO_PARTIAL_WILDCARDS
8613 X509_V_ERR_CA_CERT_MISSING_KEY_USAGE
8614 X509_V_ERR_CRL_PATH_VALIDATION_ERROR
8615 X509_V_ERR_SELF_SIGNED_CERT_IN_CHAIN
8616 X509_V_ERR_SUITE_B_INVALID_ALGORITHM
8617 X509_V_ERR_UNABLE_TO_GET_ISSUER_CERT */
8618 /* Offset 25 gives the best switch position. */
8619 8 switch (name[25]) {
8620 1 case 'A':
8621 1 ▶ if (!memcmp(name, "X509_V_ERR_CRL_PATH_VALIDATION_ERROR", 36)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "X509_V_ERR_CRL_PATH_VALIDATION_ERROR", 36)) { 1 0 1
8622 /* ^ */
8623
8624 #ifdef X509_V_ERR_CRL_PATH_VALIDATION_ERROR
8625 1 return X509_V_ERR_CRL_PATH_VALIDATION_ERROR;
8626 #else
8627 goto not_there;
8628 #endif
8629  
8630 }
8631 0 break;
8632 1 case 'D':
8633 1 ▶ if (!memcmp(name, "X509_V_ERR_SUITE_B_INVALID_ALGORITHM", 36)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "X509_V_ERR_SUITE_B_INVALID_ALGORITHM", 36)) { 1 0 1
8634 /* ^ */
8635
8636 #ifdef X509_V_ERR_SUITE_B_INVALID_ALGORITHM
8637 1 return X509_V_ERR_SUITE_B_INVALID_ALGORITHM;
8638 #else
8639 goto not_there;
8640 #endif
8641  
8642 }
8643 0 break;
8644 1 case 'E':
8645 1 ▶ if (!memcmp(name, "X509_CHECK_FLAG_ALWAYS_CHECK_SUBJECT", 36)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "X509_CHECK_FLAG_ALWAYS_CHECK_SUBJECT", 36)) { 1 0 1
8646 /* ^ */
8647
8648 #ifdef X509_CHECK_FLAG_ALWAYS_CHECK_SUBJECT
8649 1 return X509_CHECK_FLAG_ALWAYS_CHECK_SUBJECT;
8650 #else
8651 goto not_there;
8652 #endif
8653  
8654 }
8655 0 break;
8656 1 case 'G':
8657 1 ▶ if (!memcmp(name, "X509_V_ERR_CA_CERT_MISSING_KEY_USAGE", 36)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "X509_V_ERR_CA_CERT_MISSING_KEY_USAGE", 36)) { 1 0 1
8658 /* ^ */
8659
8660 #ifdef X509_V_ERR_CA_CERT_MISSING_KEY_USAGE
8661 1 return X509_V_ERR_CA_CERT_MISSING_KEY_USAGE;
8662 #else
8663 goto not_there;
8664 #endif
8665  
8666 }
8667 0 break;
8668 1 case 'I':
8669 1 ▶ if (!memcmp(name, "X509_V_ERR_UNABLE_TO_GET_ISSUER_CERT", 36)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "X509_V_ERR_UNABLE_TO_GET_ISSUER_CERT", 36)) { 1 0 1
8670 /* ^ */
8671
8672 #ifdef X509_V_ERR_UNABLE_TO_GET_ISSUER_CERT
8673 1 return X509_V_ERR_UNABLE_TO_GET_ISSUER_CERT;
8674 #else
8675 goto not_there;
8676 #endif
8677  
8678 }
8679 0 break;
8680 1 case 'L':
8681 1 ▶ if (!memcmp(name, "X509_CHECK_FLAG_NO_PARTIAL_WILDCARDS", 36)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "X509_CHECK_FLAG_NO_PARTIAL_WILDCARDS", 36)) { 1 0 1
8682 /* ^ */
8683
8684 #ifdef X509_CHECK_FLAG_NO_PARTIAL_WILDCARDS
8685 1 return X509_CHECK_FLAG_NO_PARTIAL_WILDCARDS;
8686 #else
8687 goto not_there;
8688 #endif
8689  
8690 }
8691 0 break;
8692 1 case 'N':
8693 1 ▶ if (!memcmp(name, "OP_ALLOW_UNSAFE_LEGACY_RENEGOTIATION", 36)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "OP_ALLOW_UNSAFE_LEGACY_RENEGOTIATION", 36)) { 1 0 1
8694 /* ^ */
8695
8696 #ifdef SSL_OP_ALLOW_UNSAFE_LEGACY_RENEGOTIATION
8697 1 return SSL_OP_ALLOW_UNSAFE_LEGACY_RENEGOTIATION;
8698 #else
8699 goto not_there;
8700 #endif
8701  
8702 }
8703 0 break;
8704 1 case 'R':
8705 1 ▶ if (!memcmp(name, "X509_V_ERR_SELF_SIGNED_CERT_IN_CHAIN", 36)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "X509_V_ERR_SELF_SIGNED_CERT_IN_CHAIN", 36)) { 1 0 1
8706 /* ^ */
8707
8708 #ifdef X509_V_ERR_SELF_SIGNED_CERT_IN_CHAIN
8709 1 return X509_V_ERR_SELF_SIGNED_CERT_IN_CHAIN;
8710 #else
8711 goto not_there;
8712 #endif
8713  
8714 }
8715 0 break;
8716 }
8717 0 break;
8718 6 case 37:
8719 /* Names all of length 37. */
8720 /* OCSP_RESPONSE_STATUS_MALFORMEDREQUEST
8721 TLSEXT_TYPE_quic_transport_parameters
8722 TLSEXT_TYPE_signature_algorithms_cert
8723 X509_CHECK_FLAG_MULTI_LABEL_WILDCARDS
8724 X509_V_ERR_PATHLEN_INVALID_FOR_NON_CA
8725 X509_V_ERR_PROXY_PATH_LENGTH_EXCEEDED */
8726 /* Offset 30 gives the best switch position. */
8727 6 switch (name[30]) {
8728 1 case 'L':
8729 1 ▶ if (!memcmp(name, "X509_CHECK_FLAG_MULTI_LABEL_WILDCARDS", 37)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "X509_CHECK_FLAG_MULTI_LABEL_WILDCARDS", 37)) { 1 0 1
8730 /* ^ */
8731
8732 #ifdef X509_CHECK_FLAG_MULTI_LABEL_WILDCARDS
8733 1 return X509_CHECK_FLAG_MULTI_LABEL_WILDCARDS;
8734 #else
8735 goto not_there;
8736 #endif
8737  
8738 }
8739 0 break;
8740 1 case 'R':
8741 1 ▶ if (!memcmp(name, "OCSP_RESPONSE_STATUS_MALFORMEDREQUEST", 37)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "OCSP_RESPONSE_STATUS_MALFORMEDREQUEST", 37)) { 1 0 1
8742 /* ^ */
8743
8744 #ifdef OCSP_RESPONSE_STATUS_MALFORMEDREQUEST
8745 1 return OCSP_RESPONSE_STATUS_MALFORMEDREQUEST;
8746 #else
8747 goto not_there;
8748 #endif
8749  
8750 }
8751 0 break;
8752 1 case 'X':
8753 1 ▶ if (!memcmp(name, "X509_V_ERR_PROXY_PATH_LENGTH_EXCEEDED", 37)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "X509_V_ERR_PROXY_PATH_LENGTH_EXCEEDED", 37)) { 1 0 1
8754 /* ^ */
8755
8756 #ifdef X509_V_ERR_PROXY_PATH_LENGTH_EXCEEDED
8757 1 return X509_V_ERR_PROXY_PATH_LENGTH_EXCEEDED;
8758 #else
8759 goto not_there;
8760 #endif
8761  
8762 }
8763 0 break;
8764 1 case '_':
8765 1 ▶ if (!memcmp(name, "X509_V_ERR_PATHLEN_INVALID_FOR_NON_CA", 37)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "X509_V_ERR_PATHLEN_INVALID_FOR_NON_CA", 37)) { 1 0 1
8766 /* ^ */
8767
8768 #ifdef X509_V_ERR_PATHLEN_INVALID_FOR_NON_CA
8769 1 return X509_V_ERR_PATHLEN_INVALID_FOR_NON_CA;
8770 #else
8771 goto not_there;
8772 #endif
8773  
8774 }
8775 0 break;
8776 1 case 'a':
8777 1 ▶ if (!memcmp(name, "TLSEXT_TYPE_quic_transport_parameters", 37)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "TLSEXT_TYPE_quic_transport_parameters", 37)) { 1 0 1
8778 /* ^ */
8779
8780 #ifdef TLSEXT_TYPE_quic_transport_parameters
8781 return TLSEXT_TYPE_quic_transport_parameters;
8782 #else
8783 1 goto not_there;
8784 #endif
8785  
8786 }
8787 0 break;
8788 1 case 'm':
8789 1 ▶ if (!memcmp(name, "TLSEXT_TYPE_signature_algorithms_cert", 37)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "TLSEXT_TYPE_signature_algorithms_cert", 37)) { 1 0 1
8790 /* ^ */
8791
8792 #ifdef TLSEXT_TYPE_signature_algorithms_cert
8793 1 return TLSEXT_TYPE_signature_algorithms_cert;
8794 #else
8795 goto not_there;
8796 #endif
8797  
8798 }
8799 0 break;
8800 }
8801 0 break;
8802 5 case 38:
8803 /* Names all of length 38. */
8804 /* NID_pbe_WithSHA1And2_Key_TripleDES_CBC
8805 NID_pbe_WithSHA1And3_Key_TripleDES_CBC
8806 X509_V_ERR_AKID_ISSUER_SERIAL_MISMATCH
8807 X509_V_ERR_DEPTH_ZERO_SELF_SIGNED_CERT
8808 X509_V_ERR_UNSUPPORTED_CONSTRAINT_TYPE */
8809 /* Offset 19 gives the best switch position. */
8810 5 switch (name[19]) {
8811 1 case '2':
8812 1 ▶ if (!memcmp(name, "NID_pbe_WithSHA1And2_Key_TripleDES_CBC", 38)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "NID_pbe_WithSHA1And2_Key_TripleDES_CBC", 38)) { 1 0 1
8813 /* ^ */
8814
8815 #ifdef NID_pbe_WithSHA1And2_Key_TripleDES_CBC
8816 1 return NID_pbe_WithSHA1And2_Key_TripleDES_CBC;
8817 #else
8818 goto not_there;
8819 #endif
8820  
8821 }
8822 0 break;
8823 1 case '3':
8824 1 ▶ if (!memcmp(name, "NID_pbe_WithSHA1And3_Key_TripleDES_CBC", 38)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "NID_pbe_WithSHA1And3_Key_TripleDES_CBC", 38)) { 1 0 1
8825 /* ^ */
8826
8827 #ifdef NID_pbe_WithSHA1And3_Key_TripleDES_CBC
8828 1 return NID_pbe_WithSHA1And3_Key_TripleDES_CBC;
8829 #else
8830 goto not_there;
8831 #endif
8832  
8833 }
8834 0 break;
8835 1 case 'R':
8836 1 ▶ if (!memcmp(name, "X509_V_ERR_DEPTH_ZERO_SELF_SIGNED_CERT", 38)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "X509_V_ERR_DEPTH_ZERO_SELF_SIGNED_CERT", 38)) { 1 0 1
8837 /* ^ */
8838
8839 #ifdef X509_V_ERR_DEPTH_ZERO_SELF_SIGNED_CERT
8840 1 return X509_V_ERR_DEPTH_ZERO_SELF_SIGNED_CERT;
8841 #else
8842 goto not_there;
8843 #endif
8844  
8845 }
8846 0 break;
8847 1 case 'T':
8848 1 ▶ if (!memcmp(name, "X509_V_ERR_UNSUPPORTED_CONSTRAINT_TYPE", 38)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "X509_V_ERR_UNSUPPORTED_CONSTRAINT_TYPE", 38)) { 1 0 1
8849 /* ^ */
8850
8851 #ifdef X509_V_ERR_UNSUPPORTED_CONSTRAINT_TYPE
8852 1 return X509_V_ERR_UNSUPPORTED_CONSTRAINT_TYPE;
8853 #else
8854 goto not_there;
8855 #endif
8856  
8857 }
8858 0 break;
8859 1 case 'U':
8860 1 ▶ if (!memcmp(name, "X509_V_ERR_AKID_ISSUER_SERIAL_MISMATCH", 38)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "X509_V_ERR_AKID_ISSUER_SERIAL_MISMATCH", 38)) { 1 0 1
8861 /* ^ */
8862
8863 #ifdef X509_V_ERR_AKID_ISSUER_SERIAL_MISMATCH
8864 1 return X509_V_ERR_AKID_ISSUER_SERIAL_MISMATCH;
8865 #else
8866 goto not_there;
8867 #endif
8868  
8869 }
8870 0 break;
8871 }
8872 0 break;
8873 5 case 39:
8874 /* Names all of length 39. */
8875 /* X509_CHECK_FLAG_SINGLE_LABEL_SUBDOMAINS
8876 X509_V_ERR_EXTENSIONS_REQUIRE_VERSION_3
8877 X509_V_ERR_PROXY_SUBJECT_NAME_VIOLATION
8878 X509_V_ERR_SIGNATURE_ALGORITHM_MISMATCH
8879 X509_V_ERR_UNHANDLED_CRITICAL_EXTENSION */
8880 /* Offset 19 gives the best switch position. */
8881 5 switch (name[19]) {
8882 1 case 'B':
8883 1 ▶ if (!memcmp(name, "X509_V_ERR_PROXY_SUBJECT_NAME_VIOLATION", 39)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "X509_V_ERR_PROXY_SUBJECT_NAME_VIOLATION", 39)) { 1 0 1
8884 /* ^ */
8885
8886 #ifdef X509_V_ERR_PROXY_SUBJECT_NAME_VIOLATION
8887 1 return X509_V_ERR_PROXY_SUBJECT_NAME_VIOLATION;
8888 #else
8889 goto not_there;
8890 #endif
8891  
8892 }
8893 0 break;
8894 1 case 'D':
8895 1 ▶ if (!memcmp(name, "X509_V_ERR_UNHANDLED_CRITICAL_EXTENSION", 39)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "X509_V_ERR_UNHANDLED_CRITICAL_EXTENSION", 39)) { 1 0 1
8896 /* ^ */
8897
8898 #ifdef X509_V_ERR_UNHANDLED_CRITICAL_EXTENSION
8899 1 return X509_V_ERR_UNHANDLED_CRITICAL_EXTENSION;
8900 #else
8901 goto not_there;
8902 #endif
8903  
8904 }
8905 0 break;
8906 1 case 'E':
8907 1 ▶ if (!memcmp(name, "X509_V_ERR_SIGNATURE_ALGORITHM_MISMATCH", 39)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "X509_V_ERR_SIGNATURE_ALGORITHM_MISMATCH", 39)) { 1 0 1
8908 /* ^ */
8909
8910 #ifdef X509_V_ERR_SIGNATURE_ALGORITHM_MISMATCH
8911 1 return X509_V_ERR_SIGNATURE_ALGORITHM_MISMATCH;
8912 #else
8913 goto not_there;
8914 #endif
8915  
8916 }
8917 0 break;
8918 1 case 'G':
8919 1 ▶ if (!memcmp(name, "X509_CHECK_FLAG_SINGLE_LABEL_SUBDOMAINS", 39)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "X509_CHECK_FLAG_SINGLE_LABEL_SUBDOMAINS", 39)) { 1 0 1
8920 /* ^ */
8921
8922 #ifdef X509_CHECK_FLAG_SINGLE_LABEL_SUBDOMAINS
8923 1 return X509_CHECK_FLAG_SINGLE_LABEL_SUBDOMAINS;
8924 #else
8925 goto not_there;
8926 #endif
8927  
8928 }
8929 0 break;
8930 1 case 'N':
8931 1 ▶ if (!memcmp(name, "X509_V_ERR_EXTENSIONS_REQUIRE_VERSION_3", 39)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "X509_V_ERR_EXTENSIONS_REQUIRE_VERSION_3", 39)) { 1 0 1
8932 /* ^ */
8933
8934 #ifdef X509_V_ERR_EXTENSIONS_REQUIRE_VERSION_3
8935 1 return X509_V_ERR_EXTENSIONS_REQUIRE_VERSION_3;
8936 #else
8937 goto not_there;
8938 #endif
8939  
8940 }
8941 0 break;
8942 }
8943 0 break;
8944 5 case 40:
8945 /* Names all of length 40. */
8946 /* TLSEXT_TYPE_signed_certificate_timestamp
8947 X509_V_ERR_ERROR_IN_CERT_NOT_AFTER_FIELD
8948 X509_V_ERR_KEYUSAGE_NO_DIGITAL_SIGNATURE
8949 X509_V_ERR_UNSUPPORTED_CONSTRAINT_SYNTAX
8950 X509_V_ERR_UNSUPPORTED_EXTENSION_FEATURE */
8951 /* Offset 24 gives the best switch position. */
8952 5 switch (name[24]) {
8953 1 case 'I':
8954 1 ▶ if (!memcmp(name, "X509_V_ERR_KEYUSAGE_NO_DIGITAL_SIGNATURE", 40)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "X509_V_ERR_KEYUSAGE_NO_DIGITAL_SIGNATURE", 40)) { 1 0 1
8955 /* ^ */
8956
8957 #ifdef X509_V_ERR_KEYUSAGE_NO_DIGITAL_SIGNATURE
8958 1 return X509_V_ERR_KEYUSAGE_NO_DIGITAL_SIGNATURE;
8959 #else
8960 goto not_there;
8961 #endif
8962  
8963 }
8964 0 break;
8965 1 case 'O':
8966 1 ▶ if (!memcmp(name, "X509_V_ERR_UNSUPPORTED_CONSTRAINT_SYNTAX", 40)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "X509_V_ERR_UNSUPPORTED_CONSTRAINT_SYNTAX", 40)) { 1 0 1
8967 /* ^ */
8968
8969 #ifdef X509_V_ERR_UNSUPPORTED_CONSTRAINT_SYNTAX
8970 1 return X509_V_ERR_UNSUPPORTED_CONSTRAINT_SYNTAX;
8971 #else
8972 goto not_there;
8973 #endif
8974  
8975 }
8976 0 break;
8977 1 case 'X':
8978 1 ▶ if (!memcmp(name, "X509_V_ERR_UNSUPPORTED_EXTENSION_FEATURE", 40)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "X509_V_ERR_UNSUPPORTED_EXTENSION_FEATURE", 40)) { 1 0 1
8979 /* ^ */
8980
8981 #ifdef X509_V_ERR_UNSUPPORTED_EXTENSION_FEATURE
8982 1 return X509_V_ERR_UNSUPPORTED_EXTENSION_FEATURE;
8983 #else
8984 goto not_there;
8985 #endif
8986  
8987 }
8988 0 break;
8989 1 case '_':
8990 1 ▶ if (!memcmp(name, "X509_V_ERR_ERROR_IN_CERT_NOT_AFTER_FIELD", 40)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "X509_V_ERR_ERROR_IN_CERT_NOT_AFTER_FIELD", 40)) { 1 0 1
8991 /* ^ */
8992
8993 #ifdef X509_V_ERR_ERROR_IN_CERT_NOT_AFTER_FIELD
8994 1 return X509_V_ERR_ERROR_IN_CERT_NOT_AFTER_FIELD;
8995 #else
8996 goto not_there;
8997 #endif
8998  
8999 }
9000 0 break;
9001 1 case 'f':
9002 1 ▶ if (!memcmp(name, "TLSEXT_TYPE_signed_certificate_timestamp", 40)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "TLSEXT_TYPE_signed_certificate_timestamp", 40)) { 1 0 1
9003 /* ^ */
9004
9005 #ifdef TLSEXT_TYPE_signed_certificate_timestamp
9006 1 return TLSEXT_TYPE_signed_certificate_timestamp;
9007 #else
9008 goto not_there;
9009 #endif
9010  
9011 }
9012 0 break;
9013 }
9014 0 break;
9015 8 case 41:
9016 /* Names all of length 41. */
9017 /* OP_NO_SESSION_RESUMPTION_ON_RENEGOTIATION
9018 R_PEER_ERROR_UNSUPPORTED_CERTIFICATE_TYPE
9019 X509_V_ERR_EMPTY_SUBJECT_SAN_NOT_CRITICAL
9020 X509_V_ERR_ERROR_IN_CERT_NOT_BEFORE_FIELD
9021 X509_V_ERR_ERROR_IN_CRL_LAST_UPDATE_FIELD
9022 X509_V_ERR_ERROR_IN_CRL_NEXT_UPDATE_FIELD
9023 X509_V_ERR_MISSING_SUBJECT_KEY_IDENTIFIER
9024 X509_V_ERR_PROXY_CERTIFICATES_NOT_ALLOWED */
9025 /* Offset 26 gives the best switch position. */
9026 8 switch (name[26]) {
9027 1 case 'A':
9028 1 ▶ if (!memcmp(name, "X509_V_ERR_EMPTY_SUBJECT_SAN_NOT_CRITICAL", 41)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "X509_V_ERR_EMPTY_SUBJECT_SAN_NOT_CRITICAL", 41)) { 1 0 1
9029 /* ^ */
9030
9031 #ifdef X509_V_ERR_EMPTY_SUBJECT_SAN_NOT_CRITICAL
9032 1 return X509_V_ERR_EMPTY_SUBJECT_SAN_NOT_CRITICAL;
9033 #else
9034 goto not_there;
9035 #endif
9036  
9037 }
9038 0 break;
9039 1 case 'E':
9040 1 ▶ if (!memcmp(name, "R_PEER_ERROR_UNSUPPORTED_CERTIFICATE_TYPE", 41)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "R_PEER_ERROR_UNSUPPORTED_CERTIFICATE_TYPE", 41)) { 1 0 1
9041 /* ^ */
9042
9043 #ifdef SSL_R_PEER_ERROR_UNSUPPORTED_CERTIFICATE_TYPE
9044 return SSL_R_PEER_ERROR_UNSUPPORTED_CERTIFICATE_TYPE;
9045 #else
9046 1 goto not_there;
9047 #endif
9048  
9049 }
9050 0 break;
9051 1 case 'N':
9052 1 ▶ if (!memcmp(name, "OP_NO_SESSION_RESUMPTION_ON_RENEGOTIATION", 41)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "OP_NO_SESSION_RESUMPTION_ON_RENEGOTIATION", 41)) { 1 0 1
9053 /* ^ */
9054
9055 #ifdef SSL_OP_NO_SESSION_RESUMPTION_ON_RENEGOTIATION
9056 1 return SSL_OP_NO_SESSION_RESUMPTION_ON_RENEGOTIATION;
9057 #else
9058 goto not_there;
9059 #endif
9060  
9061 }
9062 0 break;
9063 1 case 'O':
9064 1 ▶ if (!memcmp(name, "X509_V_ERR_ERROR_IN_CERT_NOT_BEFORE_FIELD", 41)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "X509_V_ERR_ERROR_IN_CERT_NOT_BEFORE_FIELD", 41)) { 1 0 1
9065 /* ^ */
9066
9067 #ifdef X509_V_ERR_ERROR_IN_CERT_NOT_BEFORE_FIELD
9068 1 return X509_V_ERR_ERROR_IN_CERT_NOT_BEFORE_FIELD;
9069 #else
9070 goto not_there;
9071 #endif
9072  
9073 }
9074 0 break;
9075 1 case 'S':
9076 1 ▶ if (!memcmp(name, "X509_V_ERR_ERROR_IN_CRL_LAST_UPDATE_FIELD", 41)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "X509_V_ERR_ERROR_IN_CRL_LAST_UPDATE_FIELD", 41)) { 1 0 1
9077 /* ^ */
9078
9079 #ifdef X509_V_ERR_ERROR_IN_CRL_LAST_UPDATE_FIELD
9080 1 return X509_V_ERR_ERROR_IN_CRL_LAST_UPDATE_FIELD;
9081 #else
9082 goto not_there;
9083 #endif
9084  
9085 }
9086 0 break;
9087 1 case 'T':
9088 1 ▶ if (!memcmp(name, "X509_V_ERR_PROXY_CERTIFICATES_NOT_ALLOWED", 41)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "X509_V_ERR_PROXY_CERTIFICATES_NOT_ALLOWED", 41)) { 1 0 1
9089 /* ^ */
9090
9091 #ifdef X509_V_ERR_PROXY_CERTIFICATES_NOT_ALLOWED
9092 1 return X509_V_ERR_PROXY_CERTIFICATES_NOT_ALLOWED;
9093 #else
9094 goto not_there;
9095 #endif
9096  
9097 }
9098 0 break;
9099 1 case 'X':
9100 1 ▶ if (!memcmp(name, "X509_V_ERR_ERROR_IN_CRL_NEXT_UPDATE_FIELD", 41)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "X509_V_ERR_ERROR_IN_CRL_NEXT_UPDATE_FIELD", 41)) { 1 0 1
9101 /* ^ */
9102
9103 #ifdef X509_V_ERR_ERROR_IN_CRL_NEXT_UPDATE_FIELD
9104 1 return X509_V_ERR_ERROR_IN_CRL_NEXT_UPDATE_FIELD;
9105 #else
9106 goto not_there;
9107 #endif
9108  
9109 }
9110 0 break;
9111 1 case '_':
9112 1 ▶ if (!memcmp(name, "X509_V_ERR_MISSING_SUBJECT_KEY_IDENTIFIER", 41)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "X509_V_ERR_MISSING_SUBJECT_KEY_IDENTIFIER", 41)) { 1 0 1
9113 /* ^ */
9114
9115 #ifdef X509_V_ERR_MISSING_SUBJECT_KEY_IDENTIFIER
9116 1 return X509_V_ERR_MISSING_SUBJECT_KEY_IDENTIFIER;
9117 #else
9118 goto not_there;
9119 #endif
9120  
9121 }
9122 0 break;
9123 }
9124 0 break;
9125 4 case 42:
9126 /* Names all of length 42. */
9127 /* X509_V_ERR_SUBJECT_KEY_IDENTIFIER_CRITICAL
9128 X509_V_ERR_UNABLE_TO_DECRYPT_CRL_SIGNATURE
9129 X509_V_ERR_UNABLE_TO_VERIFY_LEAF_SIGNATURE
9130 X509_V_ERR_UNSUPPORTED_SIGNATURE_ALGORITHM */
9131 /* Offset 23 gives the best switch position. */
9132 4 switch (name[23]) {
9133 1 case 'C':
9134 1 ▶ if (!memcmp(name, "X509_V_ERR_UNABLE_TO_DECRYPT_CRL_SIGNATURE", 42)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "X509_V_ERR_UNABLE_TO_DECRYPT_CRL_SIGNATURE", 42)) { 1 0 1
9135 /* ^ */
9136
9137 #ifdef X509_V_ERR_UNABLE_TO_DECRYPT_CRL_SIGNATURE
9138 1 return X509_V_ERR_UNABLE_TO_DECRYPT_CRL_SIGNATURE;
9139 #else
9140 goto not_there;
9141 #endif
9142  
9143 }
9144 0 break;
9145 1 case 'I':
9146 1 ▶ if (!memcmp(name, "X509_V_ERR_SUBJECT_KEY_IDENTIFIER_CRITICAL", 42)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "X509_V_ERR_SUBJECT_KEY_IDENTIFIER_CRITICAL", 42)) { 1 0 1
9147 /* ^ */
9148
9149 #ifdef X509_V_ERR_SUBJECT_KEY_IDENTIFIER_CRITICAL
9150 1 return X509_V_ERR_SUBJECT_KEY_IDENTIFIER_CRITICAL;
9151 #else
9152 goto not_there;
9153 #endif
9154  
9155 }
9156 0 break;
9157 1 case 'R':
9158 1 ▶ if (!memcmp(name, "X509_V_ERR_UNABLE_TO_VERIFY_LEAF_SIGNATURE", 42)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "X509_V_ERR_UNABLE_TO_VERIFY_LEAF_SIGNATURE", 42)) { 1 0 1
9159 /* ^ */
9160
9161 #ifdef X509_V_ERR_UNABLE_TO_VERIFY_LEAF_SIGNATURE
9162 1 return X509_V_ERR_UNABLE_TO_VERIFY_LEAF_SIGNATURE;
9163 #else
9164 goto not_there;
9165 #endif
9166  
9167 }
9168 0 break;
9169 1 case 'S':
9170 1 ▶ if (!memcmp(name, "X509_V_ERR_UNSUPPORTED_SIGNATURE_ALGORITHM", 42)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "X509_V_ERR_UNSUPPORTED_SIGNATURE_ALGORITHM", 42)) { 1 0 1
9171 /* ^ */
9172
9173 #ifdef X509_V_ERR_UNSUPPORTED_SIGNATURE_ALGORITHM
9174 1 return X509_V_ERR_UNSUPPORTED_SIGNATURE_ALGORITHM;
9175 #else
9176 goto not_there;
9177 #endif
9178  
9179 }
9180 0 break;
9181 }
9182 0 break;
9183 4 case 43:
9184 /* Names all of length 43. */
9185 /* X509_V_ERR_MISSING_AUTHORITY_KEY_IDENTIFIER
9186 X509_V_ERR_PATHLEN_WITHOUT_KU_KEY_CERT_SIGN
9187 X509_V_ERR_UNABLE_TO_DECRYPT_CERT_SIGNATURE
9188 X509_V_ERR_UNHANDLED_CRITICAL_CRL_EXTENSION */
9189 /* Offset 36 gives the best switch position. */
9190 4 switch (name[36]) {
9191 1 case 'G':
9192 1 ▶ if (!memcmp(name, "X509_V_ERR_UNABLE_TO_DECRYPT_CERT_SIGNATURE", 43)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "X509_V_ERR_UNABLE_TO_DECRYPT_CERT_SIGNATURE", 43)) { 1 0 1
9193 /* ^ */
9194
9195 #ifdef X509_V_ERR_UNABLE_TO_DECRYPT_CERT_SIGNATURE
9196 1 return X509_V_ERR_UNABLE_TO_DECRYPT_CERT_SIGNATURE;
9197 #else
9198 goto not_there;
9199 #endif
9200  
9201 }
9202 0 break;
9203 1 case 'N':
9204 1 ▶ if (!memcmp(name, "X509_V_ERR_MISSING_AUTHORITY_KEY_IDENTIFIER", 43)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "X509_V_ERR_MISSING_AUTHORITY_KEY_IDENTIFIER", 43)) { 1 0 1
9205 /* ^ */
9206
9207 #ifdef X509_V_ERR_MISSING_AUTHORITY_KEY_IDENTIFIER
9208 1 return X509_V_ERR_MISSING_AUTHORITY_KEY_IDENTIFIER;
9209 #else
9210 goto not_there;
9211 #endif
9212  
9213 }
9214 0 break;
9215 1 case 'R':
9216 1 ▶ if (!memcmp(name, "X509_V_ERR_PATHLEN_WITHOUT_KU_KEY_CERT_SIGN", 43)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "X509_V_ERR_PATHLEN_WITHOUT_KU_KEY_CERT_SIGN", 43)) { 1 0 1
9217 /* ^ */
9218
9219 #ifdef X509_V_ERR_PATHLEN_WITHOUT_KU_KEY_CERT_SIGN
9220 1 return X509_V_ERR_PATHLEN_WITHOUT_KU_KEY_CERT_SIGN;
9221 #else
9222 goto not_there;
9223 #endif
9224  
9225 }
9226 0 break;
9227 1 case 'T':
9228 1 ▶ if (!memcmp(name, "X509_V_ERR_UNHANDLED_CRITICAL_CRL_EXTENSION", 43)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "X509_V_ERR_UNHANDLED_CRITICAL_CRL_EXTENSION", 43)) { 1 0 1
9229 /* ^ */
9230
9231 #ifdef X509_V_ERR_UNHANDLED_CRITICAL_CRL_EXTENSION
9232 1 return X509_V_ERR_UNHANDLED_CRITICAL_CRL_EXTENSION;
9233 #else
9234 goto not_there;
9235 #endif
9236  
9237 }
9238 0 break;
9239 }
9240 0 break;
9241 4 case 44:
9242 /* Names all of length 44. */
9243 /* X509_V_ERR_AUTHORITY_KEY_IDENTIFIER_CRITICAL
9244 X509_V_ERR_SIGNATURE_ALGORITHM_INCONSISTENCY
9245 X509_V_ERR_UNABLE_TO_GET_ISSUER_CERT_LOCALLY */
9246 /* Offset 40 gives the best switch position. */
9247 4 switch (name[40]) {
9248 2 case 'A':
9249 2 ▶ if (!memcmp(name, "X509_V_ERR_UNABLE_TO_GET_ISSUER_CERT_LOCALLY", 44)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "X509_V_ERR_UNABLE_TO_GET_ISSUER_CERT_LOCALLY", 44)) { 2 0 2
9250 /* ^ */
9251
9252 #ifdef X509_V_ERR_UNABLE_TO_GET_ISSUER_CERT_LOCALLY
9253 2 return X509_V_ERR_UNABLE_TO_GET_ISSUER_CERT_LOCALLY;
9254 #else
9255 goto not_there;
9256 #endif
9257  
9258 }
9259 0 break;
9260 1 case 'E':
9261 1 ▶ if (!memcmp(name, "X509_V_ERR_SIGNATURE_ALGORITHM_INCONSISTENCY", 44)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "X509_V_ERR_SIGNATURE_ALGORITHM_INCONSISTENCY", 44)) { 1 0 1
9262 /* ^ */
9263
9264 #ifdef X509_V_ERR_SIGNATURE_ALGORITHM_INCONSISTENCY
9265 1 return X509_V_ERR_SIGNATURE_ALGORITHM_INCONSISTENCY;
9266 #else
9267 goto not_there;
9268 #endif
9269  
9270 }
9271 0 break;
9272 1 case 'I':
9273 1 ▶ if (!memcmp(name, "X509_V_ERR_AUTHORITY_KEY_IDENTIFIER_CRITICAL", 44)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "X509_V_ERR_AUTHORITY_KEY_IDENTIFIER_CRITICAL", 44)) { 1 0 1
9274 /* ^ */
9275
9276 #ifdef X509_V_ERR_AUTHORITY_KEY_IDENTIFIER_CRITICAL
9277 1 return X509_V_ERR_AUTHORITY_KEY_IDENTIFIER_CRITICAL;
9278 #else
9279 goto not_there;
9280 #endif
9281  
9282 }
9283 0 break;
9284 }
9285 0 break;
9286 1 case 45:
9287 1 ▶ if (!memcmp(name, "X509_V_ERR_UNABLE_TO_DECODE_ISSUER_PUBLIC_KEY", 45)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "X509_V_ERR_UNABLE_TO_DECODE_ISSUER_PUBLIC_KEY", 45)) { 1 0 1
9288
9289 #ifdef X509_V_ERR_UNABLE_TO_DECODE_ISSUER_PUBLIC_KEY
9290 1 return X509_V_ERR_UNABLE_TO_DECODE_ISSUER_PUBLIC_KEY;
9291 #else
9292 goto not_there;
9293 #endif
9294  
9295 }
9296 0 break;
9297 2 case 46:
9298 /* Names all of length 46. */
9299 /* X509_V_ERR_KU_KEY_CERT_SIGN_INVALID_FOR_NON_CA
9300 X509_V_ERR_SUITE_B_INVALID_SIGNATURE_ALGORITHM */
9301 /* Offset 40 gives the best switch position. */
9302 2 switch (name[40]) {
9303 1 case 'N':
9304 1 ▶ if (!memcmp(name, "X509_V_ERR_KU_KEY_CERT_SIGN_INVALID_FOR_NON_CA", 46)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "X509_V_ERR_KU_KEY_CERT_SIGN_INVALID_FOR_NON_CA", 46)) { 1 0 1
9305 /* ^ */
9306
9307 #ifdef X509_V_ERR_KU_KEY_CERT_SIGN_INVALID_FOR_NON_CA
9308 1 return X509_V_ERR_KU_KEY_CERT_SIGN_INVALID_FOR_NON_CA;
9309 #else
9310 goto not_there;
9311 #endif
9312  
9313 }
9314 0 break;
9315 1 case 'O':
9316 1 ▶ if (!memcmp(name, "X509_V_ERR_SUITE_B_INVALID_SIGNATURE_ALGORITHM", 46)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "X509_V_ERR_SUITE_B_INVALID_SIGNATURE_ALGORITHM", 46)) { 1 0 1
9317 /* ^ */
9318
9319 #ifdef X509_V_ERR_SUITE_B_INVALID_SIGNATURE_ALGORITHM
9320 1 return X509_V_ERR_SUITE_B_INVALID_SIGNATURE_ALGORITHM;
9321 #else
9322 goto not_there;
9323 #endif
9324  
9325 }
9326 0 break;
9327 }
9328 0 break;
9329 1 case 47:
9330 1 ▶ if (!memcmp(name, "X509_V_ERR_SUITE_B_CANNOT_SIGN_P_384_WITH_P_256", 47)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "X509_V_ERR_SUITE_B_CANNOT_SIGN_P_384_WITH_P_256", 47)) { 1 0 1
9331
9332 #ifdef X509_V_ERR_SUITE_B_CANNOT_SIGN_P_384_WITH_P_256
9333 1 return X509_V_ERR_SUITE_B_CANNOT_SIGN_P_384_WITH_P_256;
9334 #else
9335 goto not_there;
9336 #endif
9337  
9338 }
9339 0 break;
9340 1 case 50:
9341 1 ▶ if (!memcmp(name, "TLSEXT_TYPE_application_layer_protocol_negotiation", 50)) {
Branch: 1 branch
BranchTrueFalseTotal
if (!memcmp(name, "TLSEXT_TYPE_application_layer_protocol_negotiation", 50)) { 1 0 1
9342
9343 #ifdef TLSEXT_TYPE_application_layer_protocol_negotiation
9344 1 return TLSEXT_TYPE_application_layer_protocol_negotiation;
9345 #else
9346 goto not_there;
9347 #endif
9348  
9349 }
9350 0 break;
9351 }
9352
9353 100 errno = EINVAL;
9354 100 return 0;
9355  
9356 75 not_there:
9357 75 errno = ENOENT;
9358 75 return 0;
9359  
9360 }
« SSLeay.xs ↑ Summary