OpenCoverage

ts_req_print.c

Absolute File Name:/home/opencoverage/opencoverage/guest-scripts/openssl/src/crypto/ts/ts_req_print.c
Switch to Source codePreprocessed file
LineSourceCount
1-
2-
3int TS_REQ_print_bio(BIO *bio, TS_REQ *a)-
4{-
5 int v;-
6 ASN1_OBJECT *policy_id;-
7-
8 if (a ==
a == ((void *)0)Description
TRUEnever evaluated
FALSEevaluated 446 times by 1 test
Evaluated by:
  • libcrypto.so.1.1
0-446
9 ((void *)0)
a == ((void *)0)Description
TRUEnever evaluated
FALSEevaluated 446 times by 1 test
Evaluated by:
  • libcrypto.so.1.1
0-446
10 )-
11 return
never executed: return 0;
0;
never executed: return 0;
0
12-
13 v = TS_REQ_get_version(a);-
14 BIO_printf(bio, "Version: %d\n", v);-
15-
16 TS_MSG_IMPRINT_print_bio(bio, a->msg_imprint);-
17-
18 BIO_printf(bio, "Policy OID: ");-
19 policy_id = TS_REQ_get_policy_id(a);-
20 if (policy_id ==
policy_id == ((void *)0)Description
TRUEevaluated 445 times by 1 test
Evaluated by:
  • libcrypto.so.1.1
FALSEevaluated 1 time by 1 test
Evaluated by:
  • libcrypto.so.1.1
1-445
21 ((void *)0)
policy_id == ((void *)0)Description
TRUEevaluated 445 times by 1 test
Evaluated by:
  • libcrypto.so.1.1
FALSEevaluated 1 time by 1 test
Evaluated by:
  • libcrypto.so.1.1
1-445
22 )-
23 BIO_printf(bio, "unspecified\n");
executed 445 times by 1 test: BIO_printf(bio, "unspecified\n");
Executed by:
  • libcrypto.so.1.1
445
24 else-
25 TS_OBJ_print_bio(bio, policy_id);
executed 1 time by 1 test: TS_OBJ_print_bio(bio, policy_id);
Executed by:
  • libcrypto.so.1.1
1
26-
27 BIO_printf(bio, "Nonce: ");-
28 if (a->nonce ==
a->nonce == ((void *)0)Description
TRUEevaluated 223 times by 1 test
Evaluated by:
  • libcrypto.so.1.1
FALSEevaluated 223 times by 1 test
Evaluated by:
  • libcrypto.so.1.1
223
29 ((void *)0)
a->nonce == ((void *)0)Description
TRUEevaluated 223 times by 1 test
Evaluated by:
  • libcrypto.so.1.1
FALSEevaluated 223 times by 1 test
Evaluated by:
  • libcrypto.so.1.1
223
30 )-
31 BIO_printf(bio, "unspecified");
executed 223 times by 1 test: BIO_printf(bio, "unspecified");
Executed by:
  • libcrypto.so.1.1
223
32 else-
33 TS_ASN1_INTEGER_print_bio(bio, a->nonce);
executed 223 times by 1 test: TS_ASN1_INTEGER_print_bio(bio, a->nonce);
Executed by:
  • libcrypto.so.1.1
223
34 BIO_write(bio, "\n", 1);-
35-
36 BIO_printf(bio, "Certificate required: %s\n",-
37 a->cert_req ? "yes" : "no");-
38-
39 TS_ext_print_bio(bio, a->extensions);-
40-
41 return
executed 446 times by 1 test: return 1;
Executed by:
  • libcrypto.so.1.1
1;
executed 446 times by 1 test: return 1;
Executed by:
  • libcrypto.so.1.1
446
42}-
Switch to Source codePreprocessed file

Generated by Squish Coco 4.2.2