| Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/asn1/a_digest.c | 
| Switch to Source code | Preprocessed file | 
| Line | Source | Count | ||||||
|---|---|---|---|---|---|---|---|---|
| 1 | - | |||||||
| 2 | - | |||||||
| 3 | - | |||||||
| 4 | int | - | ||||||
| 5 | ASN1_item_digest(const ASN1_ITEM *it, const EVP_MD *type, void *asn, | - | ||||||
| 6 | unsigned char *md, unsigned int *len) | - | ||||||
| 7 | { | - | ||||||
| 8 | int i; | - | ||||||
| 9 | unsigned char *str = | - | ||||||
| 10 | ((void *)0) | - | ||||||
| 11 | ; | - | ||||||
| 12 | - | |||||||
| 13 | i = ASN1_item_i2d(asn, &str, it); | - | ||||||
| 14 |  if (!str
  | 0-202 | ||||||
| 15 |   return never executed:   (0);return (0);never executed:  return (0); | 0 | ||||||
| 16 | - | |||||||
| 17 |  if (!EVP_Digest(str, i, md, len, type, 
  | 0-202 | ||||||
| 18 |                                        ((void *)0)
  | 0-202 | ||||||
| 19 |                                            )
  | 0-202 | ||||||
| 20 | free(str); | - | ||||||
| 21 |   return never executed:   (0);return (0);never executed:  return (0); | 0 | ||||||
| 22 | } | - | ||||||
| 23 | - | |||||||
| 24 | free(str); | - | ||||||
| 25 |  return executed 202 times by 5 tests:   (1);return (1);Executed by: 
 executed 202 times by 5 tests:  return (1);Executed by: 
  | 202 | ||||||
| 26 | } | - | ||||||
| Switch to Source code | Preprocessed file |