Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssl/src/crypto/asn1/i2d_pr.c |
Switch to Source code | Preprocessed file |
Line | Source | Count | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
1 | - | |||||||||||||
2 | int i2d_PrivateKey(EVP_PKEY *a, unsigned char **pp) | - | ||||||||||||
3 | { | - | ||||||||||||
4 | if (a->ameth
| 0-112 | ||||||||||||
5 | return executed 108 times by 1 test: a->ameth->old_priv_encode(a, pp);return a->ameth->old_priv_encode(a, pp); Executed by:
executed 108 times by 1 test: return a->ameth->old_priv_encode(a, pp); Executed by:
| 108 | ||||||||||||
6 | } | - | ||||||||||||
7 | if (a->ameth
| 0-4 | ||||||||||||
8 | PKCS8_PRIV_KEY_INFO *p8 = EVP_PKEY2PKCS8(a); | - | ||||||||||||
9 | int ret = 0; | - | ||||||||||||
10 | if (p8 !=
| 0-4 | ||||||||||||
11 | ((void *)0)
| 0-4 | ||||||||||||
12 | ) { | - | ||||||||||||
13 | ret = i2d_PKCS8_PRIV_KEY_INFO(p8, pp); | - | ||||||||||||
14 | PKCS8_PRIV_KEY_INFO_free(p8); | - | ||||||||||||
15 | } executed 4 times by 1 test: end of block Executed by:
| 4 | ||||||||||||
16 | return executed 4 times by 1 test: ret;return ret; Executed by:
executed 4 times by 1 test: return ret; Executed by:
| 4 | ||||||||||||
17 | } | - | ||||||||||||
18 | ERR_put_error(13,(163),(167),__FILE__,31); | - | ||||||||||||
19 | return never executed: -1;return -1; never executed: return -1; | 0 | ||||||||||||
20 | } | - | ||||||||||||
Switch to Source code | Preprocessed file |