OpenCoverage

m_null.c

Absolute File Name:/home/opencoverage/opencoverage/guest-scripts/openssl/src/crypto/evp/m_null.c
Switch to Source codePreprocessed file
LineSourceCount
1-
2-
3static int init(EVP_MD_CTX *ctx)-
4{-
5 return
never executed: return 1;
1;
never executed: return 1;
0
6}-
7-
8static int update(EVP_MD_CTX *ctx, const void *data, size_t count)-
9{-
10 return
never executed: return 1;
1;
never executed: return 1;
0
11}-
12-
13static int final(EVP_MD_CTX *ctx, unsigned char *md)-
14{-
15 return
never executed: return 1;
1;
never executed: return 1;
0
16}-
17-
18static const EVP_MD null_md = {-
19 0,-
20 0,-
21 0,-
22 0,-
23 init,-
24 update,-
25 final,-
26 -
27 ((void *)0)-
28 ,-
29 -
30 ((void *)0)-
31 ,-
32 0,-
33 sizeof(EVP_MD *),-
34};-
35-
36const EVP_MD *EVP_md_null(void)-
37{-
38 return
executed 2 times by 1 test: return &null_md;
Executed by:
  • libcrypto.so.1.1
&null_md;
executed 2 times by 1 test: return &null_md;
Executed by:
  • libcrypto.so.1.1
2
39}-
Switch to Source codePreprocessed file

Generated by Squish Coco 4.2.2