| Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssl/src/crypto/evp/p_enc.c |
| Switch to Source code | Preprocessed file |
| Line | Source | Count | ||||||
|---|---|---|---|---|---|---|---|---|
| 1 | - | |||||||
| 2 | - | |||||||
| 3 | int EVP_PKEY_encrypt_old(unsigned char *ek, const unsigned char *key, | - | ||||||
| 4 | int key_len, EVP_PKEY *pubk) | - | ||||||
| 5 | { | - | ||||||
| 6 | int ret = 0; | - | ||||||
| 7 | - | |||||||
| 8 | - | |||||||
| 9 | if (EVP_PKEY_id(pubk) != 6
| 0-1 | ||||||
| 10 | - | |||||||
| 11 | ERR_put_error(6,(152),(106),__FILE__,25); | - | ||||||
| 12 | - | |||||||
| 13 | goto never executed: err;goto err;never executed: goto err; | 0 | ||||||
| 14 | } | - | ||||||
| 15 | ret = | - | ||||||
| 16 | RSA_public_encrypt(key_len, key, ek, EVP_PKEY_get0_RSA(pubk), | - | ||||||
| 17 | 1); | - | ||||||
| 18 | err: code before this statement executed 1 time by 1 test: err:Executed by:
| 1 | ||||||
| 19 | - | |||||||
| 20 | return executed 1 time by 1 test: ret;return ret;Executed by:
executed 1 time by 1 test: return ret;Executed by:
| 1 | ||||||
| 21 | } | - | ||||||
| Switch to Source code | Preprocessed file |