OpenCoverage

pem_oth.c

Absolute File Name:/home/opencoverage/opencoverage/guest-scripts/openssl/src/crypto/pem/pem_oth.c
Switch to Source codePreprocessed file
LineSourceCount
1-
2-
3-
4-
5void *PEM_ASN1_read_bio(d2i_of_void *d2i, const char *name, BIO *bp, void **x,-
6 pem_password_cb *cb, void *u)-
7{-
8 const unsigned char *p = -
9 ((void *)0)-
10 ;-
11 unsigned char *data = -
12 ((void *)0)-
13 ;-
14 long len;-
15 char *ret = -
16 ((void *)0)-
17 ;-
18-
19 if (!PEM_bytes_read_bio(&data, &len,
!PEM_bytes_rea...me, bp, cb, u)Description
TRUEevaluated 2144 times by 1 test
Evaluated by:
  • libcrypto.so.1.1
FALSEevaluated 8086 times by 1 test
Evaluated by:
  • libcrypto.so.1.1
2144-8086
20 ((void *)0)
!PEM_bytes_rea...me, bp, cb, u)Description
TRUEevaluated 2144 times by 1 test
Evaluated by:
  • libcrypto.so.1.1
FALSEevaluated 8086 times by 1 test
Evaluated by:
  • libcrypto.so.1.1
2144-8086
21 , name, bp, cb, u)
!PEM_bytes_rea...me, bp, cb, u)Description
TRUEevaluated 2144 times by 1 test
Evaluated by:
  • libcrypto.so.1.1
FALSEevaluated 8086 times by 1 test
Evaluated by:
  • libcrypto.so.1.1
)
2144-8086
22 return
executed 2144 times by 1 test: return ((void *)0) ;
Executed by:
  • libcrypto.so.1.1
executed 2144 times by 1 test: return ((void *)0) ;
Executed by:
  • libcrypto.so.1.1
2144
23 ((void *)0)
executed 2144 times by 1 test: return ((void *)0) ;
Executed by:
  • libcrypto.so.1.1
2144
24 ;
executed 2144 times by 1 test: return ((void *)0) ;
Executed by:
  • libcrypto.so.1.1
2144
25 p = data;-
26 ret = d2i(x, &p, len);-
27 if (ret ==
ret == ((void *)0)Description
TRUEevaluated 4 times by 1 test
Evaluated by:
  • libcrypto.so.1.1
FALSEevaluated 8082 times by 1 test
Evaluated by:
  • libcrypto.so.1.1
4-8082
28 ((void *)0)
ret == ((void *)0)Description
TRUEevaluated 4 times by 1 test
Evaluated by:
  • libcrypto.so.1.1
FALSEevaluated 8082 times by 1 test
Evaluated by:
  • libcrypto.so.1.1
4-8082
29 )-
30 ERR_put_error(9,(103),(13),__FILE__,33);
executed 4 times by 1 test: ERR_put_error(9,(103),(13),__FILE__,33);
Executed by:
  • libcrypto.so.1.1
4
31 CRYPTO_free(data, __FILE__, 34);-
32 return
executed 8086 times by 1 test: return ret;
Executed by:
  • libcrypto.so.1.1
ret;
executed 8086 times by 1 test: return ret;
Executed by:
  • libcrypto.so.1.1
8086
33}-
Switch to Source codePreprocessed file

Generated by Squish Coco 4.2.2