| Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssl/src/crypto/store/store_strings.c |
| Switch to Source code | Preprocessed file |
| Line | Source | Count | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 1 | - | |||||||||||||
| 2 | static char *type_strings[] = { | - | ||||||||||||
| 3 | "Name", | - | ||||||||||||
| 4 | "Parameters", | - | ||||||||||||
| 5 | "Pkey", | - | ||||||||||||
| 6 | "Certificate", | - | ||||||||||||
| 7 | "CRL" | - | ||||||||||||
| 8 | }; | - | ||||||||||||
| 9 | - | |||||||||||||
| 10 | const char *OSSL_STORE_INFO_type_string(int type) | - | ||||||||||||
| 11 | { | - | ||||||||||||
| 12 | int types = sizeof(type_strings) / sizeof(type_strings[0]); | - | ||||||||||||
| 13 | - | |||||||||||||
| 14 | if (type < 1
| 0 | ||||||||||||
| 15 | return never executed: return ((void *)0) ;never executed: return ((void *)0) ; | 0 | ||||||||||||
| 16 | ((void *)0) never executed: return ((void *)0) ; | 0 | ||||||||||||
| 17 | ; never executed: return ((void *)0) ; | 0 | ||||||||||||
| 18 | - | |||||||||||||
| 19 | return never executed: type_strings[type - 1];return type_strings[type - 1];never executed: return type_strings[type - 1]; | 0 | ||||||||||||
| 20 | } | - | ||||||||||||
| Switch to Source code | Preprocessed file |