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