Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssl/src/crypto/ts/ts_req_print.c |
Switch to Source code | Preprocessed file |
Line | Source | Count | ||||||
---|---|---|---|---|---|---|---|---|
1 | - | |||||||
2 | - | |||||||
3 | int TS_REQ_print_bio(BIO *bio, TS_REQ *a) | - | ||||||
4 | { | - | ||||||
5 | int v; | - | ||||||
6 | ASN1_OBJECT *policy_id; | - | ||||||
7 | - | |||||||
8 | if (a ==
| 0-446 | ||||||
9 | ((void *)0)
| 0-446 | ||||||
10 | ) | - | ||||||
11 | return never executed: 0;return 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 ==
| 1-445 | ||||||
21 | ((void *)0)
| 1-445 | ||||||
22 | ) | - | ||||||
23 | BIO_printf(bio, "unspecified\n"); executed 445 times by 1 test: BIO_printf(bio, "unspecified\n"); Executed by:
| 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:
| 1 | ||||||
26 | - | |||||||
27 | BIO_printf(bio, "Nonce: "); | - | ||||||
28 | if (a->nonce ==
| 223 | ||||||
29 | ((void *)0)
| 223 | ||||||
30 | ) | - | ||||||
31 | BIO_printf(bio, "unspecified"); executed 223 times by 1 test: BIO_printf(bio, "unspecified"); Executed by:
| 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:
| 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: 1;return 1; Executed by:
executed 446 times by 1 test: return 1; Executed by:
| 446 | ||||||
42 | } | - | ||||||
Switch to Source code | Preprocessed file |