| Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/x509v3/v3_akeya.c |
| Switch to Source code | Preprocessed file |
| Line | Source | Count |
|---|---|---|
| 1 | - | |
| 2 | - | |
| 3 | static const ASN1_TEMPLATE AUTHORITY_KEYID_seq_tt[] = { | - |
| 4 | { | - |
| 5 | .flags = (0x1 << 3)|(0x2<<6) | (0x1), | - |
| 6 | .tag = 0, | - |
| 7 | .offset = | - |
| 8 | __builtin_offsetof ( | - |
| 9 | AUTHORITY_KEYID | - |
| 10 | , | - |
| 11 | keyid | - |
| 12 | ) | - |
| 13 | , | - |
| 14 | .field_name = "keyid", | - |
| 15 | .item = &ASN1_OCTET_STRING_it, | - |
| 16 | }, | - |
| 17 | { | - |
| 18 | .flags = (0x1 << 3)|(0x2<<6) | (0x2 << 1) | (0x1), | - |
| 19 | .tag = 1, | - |
| 20 | .offset = | - |
| 21 | __builtin_offsetof ( | - |
| 22 | AUTHORITY_KEYID | - |
| 23 | , | - |
| 24 | issuer | - |
| 25 | ) | - |
| 26 | , | - |
| 27 | .field_name = "issuer", | - |
| 28 | .item = &GENERAL_NAME_it, | - |
| 29 | }, | - |
| 30 | { | - |
| 31 | .flags = (0x1 << 3)|(0x2<<6) | (0x1), | - |
| 32 | .tag = 2, | - |
| 33 | .offset = | - |
| 34 | __builtin_offsetof ( | - |
| 35 | AUTHORITY_KEYID | - |
| 36 | , | - |
| 37 | serial | - |
| 38 | ) | - |
| 39 | , | - |
| 40 | .field_name = "serial", | - |
| 41 | .item = &ASN1_INTEGER_it, | - |
| 42 | }, | - |
| 43 | }; | - |
| 44 | - | |
| 45 | const ASN1_ITEM AUTHORITY_KEYID_it = { | - |
| 46 | .itype = 0x1, | - |
| 47 | .utype = 16, | - |
| 48 | .templates = AUTHORITY_KEYID_seq_tt, | - |
| 49 | .tcount = sizeof(AUTHORITY_KEYID_seq_tt) / sizeof(ASN1_TEMPLATE), | - |
| 50 | .funcs = | - |
| 51 | ((void *)0) | - |
| 52 | , | - |
| 53 | .size = sizeof(AUTHORITY_KEYID), | - |
| 54 | .sname = "AUTHORITY_KEYID", | - |
| 55 | }; | - |
| 56 | - | |
| 57 | - | |
| 58 | AUTHORITY_KEYID * | - |
| 59 | d2i_AUTHORITY_KEYID(AUTHORITY_KEYID **a, const unsigned char **in, long len) | - |
| 60 | { | - |
| 61 | return never executed: (AUTHORITY_KEYID *)ASN1_item_d2i((ASN1_VALUE **)a, in, len,return (AUTHORITY_KEYID *)ASN1_item_d2i((ASN1_VALUE **)a, in, len, &AUTHORITY_KEYID_it);never executed: return (AUTHORITY_KEYID *)ASN1_item_d2i((ASN1_VALUE **)a, in, len, &AUTHORITY_KEYID_it); | 0 |
| 62 | &AUTHORITY_KEYID_it); never executed: return (AUTHORITY_KEYID *)ASN1_item_d2i((ASN1_VALUE **)a, in, len, &AUTHORITY_KEYID_it); | 0 |
| 63 | } | - |
| 64 | - | |
| 65 | int | - |
| 66 | i2d_AUTHORITY_KEYID(AUTHORITY_KEYID *a, unsigned char **out) | - |
| 67 | { | - |
| 68 | return never executed: ASN1_item_i2d((ASN1_VALUE *)a, out, &AUTHORITY_KEYID_it);return ASN1_item_i2d((ASN1_VALUE *)a, out, &AUTHORITY_KEYID_it);never executed: return ASN1_item_i2d((ASN1_VALUE *)a, out, &AUTHORITY_KEYID_it); | 0 |
| 69 | } | - |
| 70 | - | |
| 71 | AUTHORITY_KEYID * | - |
| 72 | AUTHORITY_KEYID_new(void) | - |
| 73 | { | - |
| 74 | return never executed: (AUTHORITY_KEYID *)ASN1_item_new(&AUTHORITY_KEYID_it);return (AUTHORITY_KEYID *)ASN1_item_new(&AUTHORITY_KEYID_it);never executed: return (AUTHORITY_KEYID *)ASN1_item_new(&AUTHORITY_KEYID_it); | 0 |
| 75 | } | - |
| 76 | - | |
| 77 | void | - |
| 78 | AUTHORITY_KEYID_free(AUTHORITY_KEYID *a) | - |
| 79 | { | - |
| 80 | ASN1_item_free((ASN1_VALUE *)a, &AUTHORITY_KEYID_it); | - |
| 81 | } executed 245 times by 8 tests: end of blockExecuted by:
| 245 |
| Switch to Source code | Preprocessed file |