| Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/asn1/x_sig.c | 
| Switch to Source code | Preprocessed file | 
| Line | Source | Count | 
|---|---|---|
| 1 | - | |
| 2 | - | |
| 3 | static const ASN1_TEMPLATE X509_SIG_seq_tt[] = { | - | 
| 4 | { | - | 
| 5 | .offset = | - | 
| 6 | __builtin_offsetof ( | - | 
| 7 | X509_SIG | - | 
| 8 | , | - | 
| 9 | algor | - | 
| 10 | ) | - | 
| 11 | , | - | 
| 12 | .field_name = "algor", | - | 
| 13 | .item = &X509_ALGOR_it, | - | 
| 14 | }, | - | 
| 15 | { | - | 
| 16 | .offset = | - | 
| 17 | __builtin_offsetof ( | - | 
| 18 | X509_SIG | - | 
| 19 | , | - | 
| 20 | digest | - | 
| 21 | ) | - | 
| 22 | , | - | 
| 23 | .field_name = "digest", | - | 
| 24 | .item = &ASN1_OCTET_STRING_it, | - | 
| 25 | }, | - | 
| 26 | }; | - | 
| 27 | - | |
| 28 | const ASN1_ITEM X509_SIG_it = { | - | 
| 29 | .itype = 0x1, | - | 
| 30 | .utype = 16, | - | 
| 31 | .templates = X509_SIG_seq_tt, | - | 
| 32 | .tcount = sizeof(X509_SIG_seq_tt) / sizeof(ASN1_TEMPLATE), | - | 
| 33 | .size = sizeof(X509_SIG), | - | 
| 34 | .sname = "X509_SIG", | - | 
| 35 | }; | - | 
| 36 | - | |
| 37 | - | |
| 38 | X509_SIG * | - | 
| 39 | d2i_X509_SIG(X509_SIG **a, const unsigned char **in, long len) | - | 
| 40 | { | - | 
| 41 | return never executed: (X509_SIG *)ASN1_item_d2i((ASN1_VALUE **)a, in, len, return (X509_SIG *)ASN1_item_d2i((ASN1_VALUE **)a, in, len, &X509_SIG_it);never executed:  return (X509_SIG *)ASN1_item_d2i((ASN1_VALUE **)a, in, len, &X509_SIG_it); | 0 | 
| 42 | &X509_SIG_it); never executed:  return (X509_SIG *)ASN1_item_d2i((ASN1_VALUE **)a, in, len, &X509_SIG_it); | 0 | 
| 43 | } | - | 
| 44 | - | |
| 45 | int | - | 
| 46 | i2d_X509_SIG(X509_SIG *a, unsigned char **out) | - | 
| 47 | { | - | 
| 48 | return executed 142 times by 5 tests: ASN1_item_i2d((ASN1_VALUE *)a, out, &X509_SIG_it); return ASN1_item_i2d((ASN1_VALUE *)a, out, &X509_SIG_it);Executed by: 
 executed 142 times by 5 tests:  return ASN1_item_i2d((ASN1_VALUE *)a, out, &X509_SIG_it);Executed by: 
 | 142 | 
| 49 | } | - | 
| 50 | - | |
| 51 | X509_SIG * | - | 
| 52 | X509_SIG_new(void) | - | 
| 53 | { | - | 
| 54 | return never executed: (X509_SIG *)ASN1_item_new(&X509_SIG_it); return (X509_SIG *)ASN1_item_new(&X509_SIG_it);never executed:  return (X509_SIG *)ASN1_item_new(&X509_SIG_it); | 0 | 
| 55 | } | - | 
| 56 | - | |
| 57 | void | - | 
| 58 | X509_SIG_free(X509_SIG *a) | - | 
| 59 | { | - | 
| 60 | ASN1_item_free((ASN1_VALUE *)a, &X509_SIG_it); | - | 
| 61 | } executed 1 time by 1 test:  end of blockExecuted by: 
 | 1 | 
| Switch to Source code | Preprocessed file |