| Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/x509v3/v3_pcia.c |
| Switch to Source code | Preprocessed file |
| Line | Source | Count |
|---|---|---|
| 1 | - | |
| 2 | static const ASN1_TEMPLATE PROXY_POLICY_seq_tt[] = { | - |
| 3 | { | - |
| 4 | .flags = 0, | - |
| 5 | .tag = 0, | - |
| 6 | .offset = | - |
| 7 | __builtin_offsetof ( | - |
| 8 | PROXY_POLICY | - |
| 9 | , | - |
| 10 | policyLanguage | - |
| 11 | ) | - |
| 12 | , | - |
| 13 | .field_name = "policyLanguage", | - |
| 14 | .item = &ASN1_OBJECT_it, | - |
| 15 | }, | - |
| 16 | { | - |
| 17 | .flags = (0x1), | - |
| 18 | .tag = 0, | - |
| 19 | .offset = | - |
| 20 | __builtin_offsetof ( | - |
| 21 | PROXY_POLICY | - |
| 22 | , | - |
| 23 | policy | - |
| 24 | ) | - |
| 25 | , | - |
| 26 | .field_name = "policy", | - |
| 27 | .item = &ASN1_OCTET_STRING_it, | - |
| 28 | }, | - |
| 29 | }; | - |
| 30 | - | |
| 31 | const ASN1_ITEM PROXY_POLICY_it = { | - |
| 32 | .itype = 0x1, | - |
| 33 | .utype = 16, | - |
| 34 | .templates = PROXY_POLICY_seq_tt, | - |
| 35 | .tcount = sizeof(PROXY_POLICY_seq_tt) / sizeof(ASN1_TEMPLATE), | - |
| 36 | .funcs = | - |
| 37 | ((void *)0) | - |
| 38 | , | - |
| 39 | .size = sizeof(PROXY_POLICY), | - |
| 40 | .sname = "PROXY_POLICY", | - |
| 41 | }; | - |
| 42 | - | |
| 43 | - | |
| 44 | PROXY_POLICY * | - |
| 45 | d2i_PROXY_POLICY(PROXY_POLICY **a, const unsigned char **in, long len) | - |
| 46 | { | - |
| 47 | return never executed: (PROXY_POLICY *)ASN1_item_d2i((ASN1_VALUE **)a, in, len,return (PROXY_POLICY *)ASN1_item_d2i((ASN1_VALUE **)a, in, len, &PROXY_POLICY_it);never executed: return (PROXY_POLICY *)ASN1_item_d2i((ASN1_VALUE **)a, in, len, &PROXY_POLICY_it); | 0 |
| 48 | &PROXY_POLICY_it); never executed: return (PROXY_POLICY *)ASN1_item_d2i((ASN1_VALUE **)a, in, len, &PROXY_POLICY_it); | 0 |
| 49 | } | - |
| 50 | - | |
| 51 | int | - |
| 52 | i2d_PROXY_POLICY(PROXY_POLICY *a, unsigned char **out) | - |
| 53 | { | - |
| 54 | return never executed: ASN1_item_i2d((ASN1_VALUE *)a, out, &PROXY_POLICY_it);return ASN1_item_i2d((ASN1_VALUE *)a, out, &PROXY_POLICY_it);never executed: return ASN1_item_i2d((ASN1_VALUE *)a, out, &PROXY_POLICY_it); | 0 |
| 55 | } | - |
| 56 | - | |
| 57 | PROXY_POLICY * | - |
| 58 | PROXY_POLICY_new(void) | - |
| 59 | { | - |
| 60 | return never executed: (PROXY_POLICY *)ASN1_item_new(&PROXY_POLICY_it);return (PROXY_POLICY *)ASN1_item_new(&PROXY_POLICY_it);never executed: return (PROXY_POLICY *)ASN1_item_new(&PROXY_POLICY_it); | 0 |
| 61 | } | - |
| 62 | - | |
| 63 | void | - |
| 64 | PROXY_POLICY_free(PROXY_POLICY *a) | - |
| 65 | { | - |
| 66 | ASN1_item_free((ASN1_VALUE *)a, &PROXY_POLICY_it); | - |
| 67 | } executed 1 time by 1 test: end of blockExecuted by:
| 1 |
| 68 | - | |
| 69 | static const ASN1_TEMPLATE PROXY_CERT_INFO_EXTENSION_seq_tt[] = { | - |
| 70 | { | - |
| 71 | .flags = (0x1), | - |
| 72 | .tag = 0, | - |
| 73 | .offset = | - |
| 74 | __builtin_offsetof ( | - |
| 75 | PROXY_CERT_INFO_EXTENSION | - |
| 76 | , | - |
| 77 | pcPathLengthConstraint | - |
| 78 | ) | - |
| 79 | , | - |
| 80 | .field_name = "pcPathLengthConstraint", | - |
| 81 | .item = &ASN1_INTEGER_it, | - |
| 82 | }, | - |
| 83 | { | - |
| 84 | .flags = 0, | - |
| 85 | .tag = 0, | - |
| 86 | .offset = | - |
| 87 | __builtin_offsetof ( | - |
| 88 | PROXY_CERT_INFO_EXTENSION | - |
| 89 | , | - |
| 90 | proxyPolicy | - |
| 91 | ) | - |
| 92 | , | - |
| 93 | .field_name = "proxyPolicy", | - |
| 94 | .item = &PROXY_POLICY_it, | - |
| 95 | }, | - |
| 96 | }; | - |
| 97 | - | |
| 98 | const ASN1_ITEM PROXY_CERT_INFO_EXTENSION_it = { | - |
| 99 | .itype = 0x1, | - |
| 100 | .utype = 16, | - |
| 101 | .templates = PROXY_CERT_INFO_EXTENSION_seq_tt, | - |
| 102 | .tcount = sizeof(PROXY_CERT_INFO_EXTENSION_seq_tt) / sizeof(ASN1_TEMPLATE), | - |
| 103 | .funcs = | - |
| 104 | ((void *)0) | - |
| 105 | , | - |
| 106 | .size = sizeof(PROXY_CERT_INFO_EXTENSION), | - |
| 107 | .sname = "PROXY_CERT_INFO_EXTENSION", | - |
| 108 | }; | - |
| 109 | - | |
| 110 | - | |
| 111 | PROXY_CERT_INFO_EXTENSION * | - |
| 112 | d2i_PROXY_CERT_INFO_EXTENSION(PROXY_CERT_INFO_EXTENSION **a, const unsigned char **in, long len) | - |
| 113 | { | - |
| 114 | return never executed: (PROXY_CERT_INFO_EXTENSION *)ASN1_item_d2i((ASN1_VALUE **)a, in, len,return (PROXY_CERT_INFO_EXTENSION *)ASN1_item_d2i((ASN1_VALUE **)a, in, len, &PROXY_CERT_INFO_EXTENSION_it);never executed: return (PROXY_CERT_INFO_EXTENSION *)ASN1_item_d2i((ASN1_VALUE **)a, in, len, &PROXY_CERT_INFO_EXTENSION_it); | 0 |
| 115 | &PROXY_CERT_INFO_EXTENSION_it); never executed: return (PROXY_CERT_INFO_EXTENSION *)ASN1_item_d2i((ASN1_VALUE **)a, in, len, &PROXY_CERT_INFO_EXTENSION_it); | 0 |
| 116 | } | - |
| 117 | - | |
| 118 | int | - |
| 119 | i2d_PROXY_CERT_INFO_EXTENSION(PROXY_CERT_INFO_EXTENSION *a, unsigned char **out) | - |
| 120 | { | - |
| 121 | return never executed: ASN1_item_i2d((ASN1_VALUE *)a, out, &PROXY_CERT_INFO_EXTENSION_it);return ASN1_item_i2d((ASN1_VALUE *)a, out, &PROXY_CERT_INFO_EXTENSION_it);never executed: return ASN1_item_i2d((ASN1_VALUE *)a, out, &PROXY_CERT_INFO_EXTENSION_it); | 0 |
| 122 | } | - |
| 123 | - | |
| 124 | PROXY_CERT_INFO_EXTENSION * | - |
| 125 | PROXY_CERT_INFO_EXTENSION_new(void) | - |
| 126 | { | - |
| 127 | return never executed: (PROXY_CERT_INFO_EXTENSION *)ASN1_item_new(&PROXY_CERT_INFO_EXTENSION_it);return (PROXY_CERT_INFO_EXTENSION *)ASN1_item_new(&PROXY_CERT_INFO_EXTENSION_it);never executed: return (PROXY_CERT_INFO_EXTENSION *)ASN1_item_new(&PROXY_CERT_INFO_EXTENSION_it); | 0 |
| 128 | } | - |
| 129 | - | |
| 130 | void | - |
| 131 | PROXY_CERT_INFO_EXTENSION_free(PROXY_CERT_INFO_EXTENSION *a) | - |
| 132 | { | - |
| 133 | ASN1_item_free((ASN1_VALUE *)a, &PROXY_CERT_INFO_EXTENSION_it); | - |
| 134 | } executed 1 time by 1 test: end of blockExecuted by:
| 1 |
| Switch to Source code | Preprocessed file |