OpenCoverage

store_strings.c

Absolute File Name:/home/opencoverage/opencoverage/guest-scripts/openssl/src/crypto/store/store_strings.c
Switch to Source codePreprocessed file
LineSourceCount
1-
2static char *type_strings[] = {-
3 "Name",-
4 "Parameters",-
5 "Pkey",-
6 "Certificate",-
7 "CRL"-
8};-
9-
10const char *OSSL_STORE_INFO_type_string(int type)-
11{-
12 int types = sizeof(type_strings) / sizeof(type_strings[0]);-
13-
14 if (type < 1
type < 1Description
TRUEnever evaluated
FALSEnever evaluated
|| type > types
type > typesDescription
TRUEnever evaluated
FALSEnever evaluated
)
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: return type_strings[type - 1];
type_strings[type - 1];
never executed: return type_strings[type - 1];
0
20}-
Switch to Source codePreprocessed file

Generated by Squish Coco 4.2.2