OpenCoverage

pem_oth.c

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

Generated by Squish Coco 4.2.2