OpenCoverage

p_dec.c

Absolute File Name:/home/opencoverage/opencoverage/guest-scripts/openssl/src/crypto/evp/p_dec.c
Switch to Source codePreprocessed file
LineSourceCount
1-
2-
3int 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
EVP_PKEY_id(priv) != 6Description
TRUEnever evaluated
FALSEevaluated 1 time by 1 test
Evaluated by:
  • libcrypto.so.1.1
) {
0-1
10-
11 ERR_put_error(6,(151),(106),__FILE__,25);-
12-
13 goto
never executed: goto err;
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:
  • libcrypto.so.1.1
1
20-
21 return
executed 1 time by 1 test: return ret;
Executed by:
  • libcrypto.so.1.1
ret;
executed 1 time by 1 test: return ret;
Executed by:
  • libcrypto.so.1.1
1
22}-
Switch to Source codePreprocessed file

Generated by Squish Coco 4.2.2