| Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/asn1/tasn_typ.c |
| Switch to Source code | Preprocessed file |
| Line | Source | Count |
|---|---|---|
| 1 | - | |
| 2 | - | |
| 3 | - | |
| 4 | const ASN1_ITEM ASN1_INTEGER_it = { | - |
| 5 | .itype = 0x0, | - |
| 6 | .utype = 2, | - |
| 7 | .sname = "ASN1_INTEGER", | - |
| 8 | }; | - |
| 9 | - | |
| 10 | ASN1_INTEGER * | - |
| 11 | d2i_ASN1_INTEGER(ASN1_INTEGER **a, const unsigned char **in, long len) | - |
| 12 | { | - |
| 13 | return executed 2 times by 1 test: (ASN1_INTEGER *)ASN1_item_d2i((ASN1_VALUE **)a, in, len,return (ASN1_INTEGER *)ASN1_item_d2i((ASN1_VALUE **)a, in, len, &ASN1_INTEGER_it);Executed by:
executed 2 times by 1 test: return (ASN1_INTEGER *)ASN1_item_d2i((ASN1_VALUE **)a, in, len, &ASN1_INTEGER_it);Executed by:
| 2 |
| 14 | &ASN1_INTEGER_it); executed 2 times by 1 test: return (ASN1_INTEGER *)ASN1_item_d2i((ASN1_VALUE **)a, in, len, &ASN1_INTEGER_it);Executed by:
| 2 |
| 15 | } | - |
| 16 | - | |
| 17 | int | - |
| 18 | i2d_ASN1_INTEGER(ASN1_INTEGER *a, unsigned char **out) | - |
| 19 | { | - |
| 20 | return executed 79 times by 2 tests: ASN1_item_i2d((ASN1_VALUE *)a, out, &ASN1_INTEGER_it);return ASN1_item_i2d((ASN1_VALUE *)a, out, &ASN1_INTEGER_it);Executed by:
executed 79 times by 2 tests: return ASN1_item_i2d((ASN1_VALUE *)a, out, &ASN1_INTEGER_it);Executed by:
| 79 |
| 21 | } | - |
| 22 | - | |
| 23 | ASN1_INTEGER * | - |
| 24 | ASN1_INTEGER_new(void) | - |
| 25 | { | - |
| 26 | return executed 227 times by 8 tests: (ASN1_INTEGER *)ASN1_item_new(&ASN1_INTEGER_it);return (ASN1_INTEGER *)ASN1_item_new(&ASN1_INTEGER_it);Executed by:
executed 227 times by 8 tests: return (ASN1_INTEGER *)ASN1_item_new(&ASN1_INTEGER_it);Executed by:
| 227 |
| 27 | } | - |
| 28 | - | |
| 29 | void | - |
| 30 | ASN1_INTEGER_free(ASN1_INTEGER *a) | - |
| 31 | { | - |
| 32 | ASN1_item_free((ASN1_VALUE *)a, &ASN1_INTEGER_it); | - |
| 33 | } executed 12 times by 3 tests: end of blockExecuted by:
| 12 |
| 34 | - | |
| 35 | - | |
| 36 | const ASN1_ITEM ASN1_ENUMERATED_it = { | - |
| 37 | .itype = 0x0, | - |
| 38 | .utype = 10, | - |
| 39 | .sname = "ASN1_ENUMERATED", | - |
| 40 | }; | - |
| 41 | - | |
| 42 | ASN1_ENUMERATED * | - |
| 43 | d2i_ASN1_ENUMERATED(ASN1_ENUMERATED **a, const unsigned char **in, long len) | - |
| 44 | { | - |
| 45 | return never executed: (ASN1_ENUMERATED *)ASN1_item_d2i((ASN1_VALUE **)a, in, len,return (ASN1_ENUMERATED *)ASN1_item_d2i((ASN1_VALUE **)a, in, len, &ASN1_ENUMERATED_it);never executed: return (ASN1_ENUMERATED *)ASN1_item_d2i((ASN1_VALUE **)a, in, len, &ASN1_ENUMERATED_it); | 0 |
| 46 | &ASN1_ENUMERATED_it); never executed: return (ASN1_ENUMERATED *)ASN1_item_d2i((ASN1_VALUE **)a, in, len, &ASN1_ENUMERATED_it); | 0 |
| 47 | } | - |
| 48 | - | |
| 49 | int | - |
| 50 | i2d_ASN1_ENUMERATED(ASN1_ENUMERATED *a, unsigned char **out) | - |
| 51 | { | - |
| 52 | return never executed: ASN1_item_i2d((ASN1_VALUE *)a, out, &ASN1_ENUMERATED_it);return ASN1_item_i2d((ASN1_VALUE *)a, out, &ASN1_ENUMERATED_it);never executed: return ASN1_item_i2d((ASN1_VALUE *)a, out, &ASN1_ENUMERATED_it); | 0 |
| 53 | } | - |
| 54 | - | |
| 55 | ASN1_ENUMERATED * | - |
| 56 | ASN1_ENUMERATED_new(void) | - |
| 57 | { | - |
| 58 | return never executed: (ASN1_ENUMERATED *)ASN1_item_new(&ASN1_ENUMERATED_it);return (ASN1_ENUMERATED *)ASN1_item_new(&ASN1_ENUMERATED_it);never executed: return (ASN1_ENUMERATED *)ASN1_item_new(&ASN1_ENUMERATED_it); | 0 |
| 59 | } | - |
| 60 | - | |
| 61 | void | - |
| 62 | ASN1_ENUMERATED_free(ASN1_ENUMERATED *a) | - |
| 63 | { | - |
| 64 | ASN1_item_free((ASN1_VALUE *)a, &ASN1_ENUMERATED_it); | - |
| 65 | } executed 1 time by 1 test: end of blockExecuted by:
| 1 |
| 66 | - | |
| 67 | - | |
| 68 | const ASN1_ITEM ASN1_BIT_STRING_it = { | - |
| 69 | .itype = 0x0, | - |
| 70 | .utype = 3, | - |
| 71 | .sname = "ASN1_BIT_STRING", | - |
| 72 | }; | - |
| 73 | - | |
| 74 | ASN1_BIT_STRING * | - |
| 75 | d2i_ASN1_BIT_STRING(ASN1_BIT_STRING **a, const unsigned char **in, long len) | - |
| 76 | { | - |
| 77 | return never executed: (ASN1_BIT_STRING *)ASN1_item_d2i((ASN1_VALUE **)a, in, len,return (ASN1_BIT_STRING *)ASN1_item_d2i((ASN1_VALUE **)a, in, len, &ASN1_BIT_STRING_it);never executed: return (ASN1_BIT_STRING *)ASN1_item_d2i((ASN1_VALUE **)a, in, len, &ASN1_BIT_STRING_it); | 0 |
| 78 | &ASN1_BIT_STRING_it); never executed: return (ASN1_BIT_STRING *)ASN1_item_d2i((ASN1_VALUE **)a, in, len, &ASN1_BIT_STRING_it); | 0 |
| 79 | } | - |
| 80 | - | |
| 81 | int | - |
| 82 | i2d_ASN1_BIT_STRING(ASN1_BIT_STRING *a, unsigned char **out) | - |
| 83 | { | - |
| 84 | return never executed: ASN1_item_i2d((ASN1_VALUE *)a, out, &ASN1_BIT_STRING_it);return ASN1_item_i2d((ASN1_VALUE *)a, out, &ASN1_BIT_STRING_it);never executed: return ASN1_item_i2d((ASN1_VALUE *)a, out, &ASN1_BIT_STRING_it); | 0 |
| 85 | } | - |
| 86 | - | |
| 87 | ASN1_BIT_STRING * | - |
| 88 | ASN1_BIT_STRING_new(void) | - |
| 89 | { | - |
| 90 | return executed 197 times by 5 tests: (ASN1_BIT_STRING *)ASN1_item_new(&ASN1_BIT_STRING_it);return (ASN1_BIT_STRING *)ASN1_item_new(&ASN1_BIT_STRING_it);Executed by:
executed 197 times by 5 tests: return (ASN1_BIT_STRING *)ASN1_item_new(&ASN1_BIT_STRING_it);Executed by:
| 197 |
| 91 | } | - |
| 92 | - | |
| 93 | void | - |
| 94 | ASN1_BIT_STRING_free(ASN1_BIT_STRING *a) | - |
| 95 | { | - |
| 96 | ASN1_item_free((ASN1_VALUE *)a, &ASN1_BIT_STRING_it); | - |
| 97 | } executed 197 times by 5 tests: end of blockExecuted by:
| 197 |
| 98 | - | |
| 99 | - | |
| 100 | const ASN1_ITEM ASN1_OCTET_STRING_it = { | - |
| 101 | .itype = 0x0, | - |
| 102 | .utype = 4, | - |
| 103 | .sname = "ASN1_OCTET_STRING", | - |
| 104 | }; | - |
| 105 | - | |
| 106 | ASN1_OCTET_STRING * | - |
| 107 | d2i_ASN1_OCTET_STRING(ASN1_OCTET_STRING **a, const unsigned char **in, long len) | - |
| 108 | { | - |
| 109 | return never executed: (ASN1_OCTET_STRING *)ASN1_item_d2i((ASN1_VALUE **)a, in, len,return (ASN1_OCTET_STRING *)ASN1_item_d2i((ASN1_VALUE **)a, in, len, &ASN1_OCTET_STRING_it);never executed: return (ASN1_OCTET_STRING *)ASN1_item_d2i((ASN1_VALUE **)a, in, len, &ASN1_OCTET_STRING_it); | 0 |
| 110 | &ASN1_OCTET_STRING_it); never executed: return (ASN1_OCTET_STRING *)ASN1_item_d2i((ASN1_VALUE **)a, in, len, &ASN1_OCTET_STRING_it); | 0 |
| 111 | } | - |
| 112 | - | |
| 113 | int | - |
| 114 | i2d_ASN1_OCTET_STRING(ASN1_OCTET_STRING *a, unsigned char **out) | - |
| 115 | { | - |
| 116 | return never executed: ASN1_item_i2d((ASN1_VALUE *)a, out, &ASN1_OCTET_STRING_it);return ASN1_item_i2d((ASN1_VALUE *)a, out, &ASN1_OCTET_STRING_it);never executed: return ASN1_item_i2d((ASN1_VALUE *)a, out, &ASN1_OCTET_STRING_it); | 0 |
| 117 | } | - |
| 118 | - | |
| 119 | ASN1_OCTET_STRING * | - |
| 120 | ASN1_OCTET_STRING_new(void) | - |
| 121 | { | - |
| 122 | return executed 20 times by 3 tests: (ASN1_OCTET_STRING *)ASN1_item_new(&ASN1_OCTET_STRING_it);return (ASN1_OCTET_STRING *)ASN1_item_new(&ASN1_OCTET_STRING_it);Executed by:
executed 20 times by 3 tests: return (ASN1_OCTET_STRING *)ASN1_item_new(&ASN1_OCTET_STRING_it);Executed by:
| 20 |
| 123 | } | - |
| 124 | - | |
| 125 | void | - |
| 126 | ASN1_OCTET_STRING_free(ASN1_OCTET_STRING *a) | - |
| 127 | { | - |
| 128 | ASN1_item_free((ASN1_VALUE *)a, &ASN1_OCTET_STRING_it); | - |
| 129 | } executed 2064 times by 10 tests: end of blockExecuted by:
| 2064 |
| 130 | - | |
| 131 | - | |
| 132 | const ASN1_ITEM ASN1_NULL_it = { | - |
| 133 | .itype = 0x0, | - |
| 134 | .utype = 5, | - |
| 135 | .sname = "ASN1_NULL", | - |
| 136 | }; | - |
| 137 | - | |
| 138 | ASN1_NULL * | - |
| 139 | d2i_ASN1_NULL(ASN1_NULL **a, const unsigned char **in, long len) | - |
| 140 | { | - |
| 141 | return never executed: (ASN1_NULL *)ASN1_item_d2i((ASN1_VALUE **)a, in, len,return (ASN1_NULL *)ASN1_item_d2i((ASN1_VALUE **)a, in, len, &ASN1_NULL_it);never executed: return (ASN1_NULL *)ASN1_item_d2i((ASN1_VALUE **)a, in, len, &ASN1_NULL_it); | 0 |
| 142 | &ASN1_NULL_it); never executed: return (ASN1_NULL *)ASN1_item_d2i((ASN1_VALUE **)a, in, len, &ASN1_NULL_it); | 0 |
| 143 | } | - |
| 144 | - | |
| 145 | int | - |
| 146 | i2d_ASN1_NULL(ASN1_NULL *a, unsigned char **out) | - |
| 147 | { | - |
| 148 | return never executed: ASN1_item_i2d((ASN1_VALUE *)a, out, &ASN1_NULL_it);return ASN1_item_i2d((ASN1_VALUE *)a, out, &ASN1_NULL_it);never executed: return ASN1_item_i2d((ASN1_VALUE *)a, out, &ASN1_NULL_it); | 0 |
| 149 | } | - |
| 150 | - | |
| 151 | ASN1_NULL * | - |
| 152 | ASN1_NULL_new(void) | - |
| 153 | { | - |
| 154 | return never executed: (ASN1_NULL *)ASN1_item_new(&ASN1_NULL_it);return (ASN1_NULL *)ASN1_item_new(&ASN1_NULL_it);never executed: return (ASN1_NULL *)ASN1_item_new(&ASN1_NULL_it); | 0 |
| 155 | } | - |
| 156 | - | |
| 157 | void | - |
| 158 | ASN1_NULL_free(ASN1_NULL *a) | - |
| 159 | { | - |
| 160 | ASN1_item_free((ASN1_VALUE *)a, &ASN1_NULL_it); | - |
| 161 | } executed 1 time by 1 test: end of blockExecuted by:
| 1 |
| 162 | - | |
| 163 | - | |
| 164 | const ASN1_ITEM ASN1_OBJECT_it = { | - |
| 165 | .itype = 0x0, | - |
| 166 | .utype = 6, | - |
| 167 | .sname = "ASN1_OBJECT", | - |
| 168 | }; | - |
| 169 | - | |
| 170 | - | |
| 171 | const ASN1_ITEM ASN1_UTF8STRING_it = { | - |
| 172 | .itype = 0x0, | - |
| 173 | .utype = 12, | - |
| 174 | .sname = "ASN1_UTF8STRING", | - |
| 175 | }; | - |
| 176 | - | |
| 177 | ASN1_UTF8STRING * | - |
| 178 | d2i_ASN1_UTF8STRING(ASN1_UTF8STRING **a, const unsigned char **in, long len) | - |
| 179 | { | - |
| 180 | return never executed: (ASN1_UTF8STRING *)ASN1_item_d2i((ASN1_VALUE **)a, in, len,return (ASN1_UTF8STRING *)ASN1_item_d2i((ASN1_VALUE **)a, in, len, &ASN1_UTF8STRING_it);never executed: return (ASN1_UTF8STRING *)ASN1_item_d2i((ASN1_VALUE **)a, in, len, &ASN1_UTF8STRING_it); | 0 |
| 181 | &ASN1_UTF8STRING_it); never executed: return (ASN1_UTF8STRING *)ASN1_item_d2i((ASN1_VALUE **)a, in, len, &ASN1_UTF8STRING_it); | 0 |
| 182 | } | - |
| 183 | - | |
| 184 | int | - |
| 185 | i2d_ASN1_UTF8STRING(ASN1_UTF8STRING *a, unsigned char **out) | - |
| 186 | { | - |
| 187 | return never executed: ASN1_item_i2d((ASN1_VALUE *)a, out, &ASN1_UTF8STRING_it);return ASN1_item_i2d((ASN1_VALUE *)a, out, &ASN1_UTF8STRING_it);never executed: return ASN1_item_i2d((ASN1_VALUE *)a, out, &ASN1_UTF8STRING_it); | 0 |
| 188 | } | - |
| 189 | - | |
| 190 | ASN1_UTF8STRING * | - |
| 191 | ASN1_UTF8STRING_new(void) | - |
| 192 | { | - |
| 193 | return never executed: (ASN1_UTF8STRING *)ASN1_item_new(&ASN1_UTF8STRING_it);return (ASN1_UTF8STRING *)ASN1_item_new(&ASN1_UTF8STRING_it);never executed: return (ASN1_UTF8STRING *)ASN1_item_new(&ASN1_UTF8STRING_it); | 0 |
| 194 | } | - |
| 195 | - | |
| 196 | void | - |
| 197 | ASN1_UTF8STRING_free(ASN1_UTF8STRING *a) | - |
| 198 | { | - |
| 199 | ASN1_item_free((ASN1_VALUE *)a, &ASN1_UTF8STRING_it); | - |
| 200 | } executed 1 time by 1 test: end of blockExecuted by:
| 1 |
| 201 | - | |
| 202 | - | |
| 203 | const ASN1_ITEM ASN1_PRINTABLESTRING_it = { | - |
| 204 | .itype = 0x0, | - |
| 205 | .utype = 19, | - |
| 206 | .sname = "ASN1_PRINTABLESTRING", | - |
| 207 | }; | - |
| 208 | - | |
| 209 | ASN1_PRINTABLESTRING * | - |
| 210 | d2i_ASN1_PRINTABLESTRING(ASN1_PRINTABLESTRING **a, const unsigned char **in, | - |
| 211 | long len) | - |
| 212 | { | - |
| 213 | return never executed: (ASN1_PRINTABLESTRING *)ASN1_item_d2i((ASN1_VALUE **)a, in, len,return (ASN1_PRINTABLESTRING *)ASN1_item_d2i((ASN1_VALUE **)a, in, len, &ASN1_PRINTABLESTRING_it);never executed: return (ASN1_PRINTABLESTRING *)ASN1_item_d2i((ASN1_VALUE **)a, in, len, &ASN1_PRINTABLESTRING_it); | 0 |
| 214 | &ASN1_PRINTABLESTRING_it); never executed: return (ASN1_PRINTABLESTRING *)ASN1_item_d2i((ASN1_VALUE **)a, in, len, &ASN1_PRINTABLESTRING_it); | 0 |
| 215 | } | - |
| 216 | - | |
| 217 | int | - |
| 218 | i2d_ASN1_PRINTABLESTRING(ASN1_PRINTABLESTRING *a, unsigned char **out) | - |
| 219 | { | - |
| 220 | return never executed: ASN1_item_i2d((ASN1_VALUE *)a, out, &ASN1_PRINTABLESTRING_it);return ASN1_item_i2d((ASN1_VALUE *)a, out, &ASN1_PRINTABLESTRING_it);never executed: return ASN1_item_i2d((ASN1_VALUE *)a, out, &ASN1_PRINTABLESTRING_it); | 0 |
| 221 | } | - |
| 222 | - | |
| 223 | ASN1_PRINTABLESTRING * | - |
| 224 | ASN1_PRINTABLESTRING_new(void) | - |
| 225 | { | - |
| 226 | return never executed: (ASN1_PRINTABLESTRING *)ASN1_item_new(&ASN1_PRINTABLESTRING_it);return (ASN1_PRINTABLESTRING *)ASN1_item_new(&ASN1_PRINTABLESTRING_it);never executed: return (ASN1_PRINTABLESTRING *)ASN1_item_new(&ASN1_PRINTABLESTRING_it); | 0 |
| 227 | } | - |
| 228 | - | |
| 229 | void | - |
| 230 | ASN1_PRINTABLESTRING_free(ASN1_PRINTABLESTRING *a) | - |
| 231 | { | - |
| 232 | ASN1_item_free((ASN1_VALUE *)a, &ASN1_PRINTABLESTRING_it); | - |
| 233 | } executed 1 time by 1 test: end of blockExecuted by:
| 1 |
| 234 | - | |
| 235 | - | |
| 236 | const ASN1_ITEM ASN1_T61STRING_it = { | - |
| 237 | .itype = 0x0, | - |
| 238 | .utype = 20, | - |
| 239 | .sname = "ASN1_T61STRING", | - |
| 240 | }; | - |
| 241 | - | |
| 242 | ASN1_T61STRING * | - |
| 243 | d2i_ASN1_T61STRING(ASN1_T61STRING **a, const unsigned char **in, long len) | - |
| 244 | { | - |
| 245 | return never executed: (ASN1_T61STRING *)ASN1_item_d2i((ASN1_VALUE **)a, in, len,return (ASN1_T61STRING *)ASN1_item_d2i((ASN1_VALUE **)a, in, len, &ASN1_T61STRING_it);never executed: return (ASN1_T61STRING *)ASN1_item_d2i((ASN1_VALUE **)a, in, len, &ASN1_T61STRING_it); | 0 |
| 246 | &ASN1_T61STRING_it); never executed: return (ASN1_T61STRING *)ASN1_item_d2i((ASN1_VALUE **)a, in, len, &ASN1_T61STRING_it); | 0 |
| 247 | } | - |
| 248 | - | |
| 249 | int | - |
| 250 | i2d_ASN1_T61STRING(ASN1_T61STRING *a, unsigned char **out) | - |
| 251 | { | - |
| 252 | return never executed: ASN1_item_i2d((ASN1_VALUE *)a, out, &ASN1_T61STRING_it);return ASN1_item_i2d((ASN1_VALUE *)a, out, &ASN1_T61STRING_it);never executed: return ASN1_item_i2d((ASN1_VALUE *)a, out, &ASN1_T61STRING_it); | 0 |
| 253 | } | - |
| 254 | - | |
| 255 | ASN1_T61STRING * | - |
| 256 | ASN1_T61STRING_new(void) | - |
| 257 | { | - |
| 258 | return never executed: (ASN1_T61STRING *)ASN1_item_new(&ASN1_T61STRING_it);return (ASN1_T61STRING *)ASN1_item_new(&ASN1_T61STRING_it);never executed: return (ASN1_T61STRING *)ASN1_item_new(&ASN1_T61STRING_it); | 0 |
| 259 | } | - |
| 260 | - | |
| 261 | void | - |
| 262 | ASN1_T61STRING_free(ASN1_T61STRING *a) | - |
| 263 | { | - |
| 264 | ASN1_item_free((ASN1_VALUE *)a, &ASN1_T61STRING_it); | - |
| 265 | } executed 1 time by 1 test: end of blockExecuted by:
| 1 |
| 266 | - | |
| 267 | - | |
| 268 | const ASN1_ITEM ASN1_IA5STRING_it = { | - |
| 269 | .itype = 0x0, | - |
| 270 | .utype = 22, | - |
| 271 | .sname = "ASN1_IA5STRING", | - |
| 272 | }; | - |
| 273 | - | |
| 274 | ASN1_IA5STRING * | - |
| 275 | d2i_ASN1_IA5STRING(ASN1_IA5STRING **a, const unsigned char **in, long len) | - |
| 276 | { | - |
| 277 | return never executed: (ASN1_IA5STRING *)ASN1_item_d2i((ASN1_VALUE **)a, in, len,return (ASN1_IA5STRING *)ASN1_item_d2i((ASN1_VALUE **)a, in, len, &ASN1_IA5STRING_it);never executed: return (ASN1_IA5STRING *)ASN1_item_d2i((ASN1_VALUE **)a, in, len, &ASN1_IA5STRING_it); | 0 |
| 278 | &ASN1_IA5STRING_it); never executed: return (ASN1_IA5STRING *)ASN1_item_d2i((ASN1_VALUE **)a, in, len, &ASN1_IA5STRING_it); | 0 |
| 279 | } | - |
| 280 | - | |
| 281 | int | - |
| 282 | i2d_ASN1_IA5STRING(ASN1_IA5STRING *a, unsigned char **out) | - |
| 283 | { | - |
| 284 | return never executed: ASN1_item_i2d((ASN1_VALUE *)a, out, &ASN1_IA5STRING_it);return ASN1_item_i2d((ASN1_VALUE *)a, out, &ASN1_IA5STRING_it);never executed: return ASN1_item_i2d((ASN1_VALUE *)a, out, &ASN1_IA5STRING_it); | 0 |
| 285 | } | - |
| 286 | - | |
| 287 | ASN1_IA5STRING * | - |
| 288 | ASN1_IA5STRING_new(void) | - |
| 289 | { | - |
| 290 | return never executed: (ASN1_IA5STRING *)ASN1_item_new(&ASN1_IA5STRING_it);return (ASN1_IA5STRING *)ASN1_item_new(&ASN1_IA5STRING_it);never executed: return (ASN1_IA5STRING *)ASN1_item_new(&ASN1_IA5STRING_it); | 0 |
| 291 | } | - |
| 292 | - | |
| 293 | void | - |
| 294 | ASN1_IA5STRING_free(ASN1_IA5STRING *a) | - |
| 295 | { | - |
| 296 | ASN1_item_free((ASN1_VALUE *)a, &ASN1_IA5STRING_it); | - |
| 297 | } executed 1 time by 1 test: end of blockExecuted by:
| 1 |
| 298 | - | |
| 299 | - | |
| 300 | const ASN1_ITEM ASN1_GENERALSTRING_it = { | - |
| 301 | .itype = 0x0, | - |
| 302 | .utype = 27, | - |
| 303 | .sname = "ASN1_GENERALSTRING", | - |
| 304 | }; | - |
| 305 | - | |
| 306 | ASN1_GENERALSTRING * | - |
| 307 | d2i_ASN1_GENERALSTRING(ASN1_GENERALSTRING **a, const unsigned char **in, | - |
| 308 | long len) | - |
| 309 | { | - |
| 310 | return never executed: (ASN1_GENERALSTRING *)ASN1_item_d2i((ASN1_VALUE **)a, in, len,return (ASN1_GENERALSTRING *)ASN1_item_d2i((ASN1_VALUE **)a, in, len, &ASN1_GENERALSTRING_it);never executed: return (ASN1_GENERALSTRING *)ASN1_item_d2i((ASN1_VALUE **)a, in, len, &ASN1_GENERALSTRING_it); | 0 |
| 311 | &ASN1_GENERALSTRING_it); never executed: return (ASN1_GENERALSTRING *)ASN1_item_d2i((ASN1_VALUE **)a, in, len, &ASN1_GENERALSTRING_it); | 0 |
| 312 | } | - |
| 313 | - | |
| 314 | int | - |
| 315 | i2d_ASN1_GENERALSTRING(ASN1_GENERALSTRING *a, unsigned char **out) | - |
| 316 | { | - |
| 317 | return never executed: ASN1_item_i2d((ASN1_VALUE *)a, out, &ASN1_GENERALSTRING_it);return ASN1_item_i2d((ASN1_VALUE *)a, out, &ASN1_GENERALSTRING_it);never executed: return ASN1_item_i2d((ASN1_VALUE *)a, out, &ASN1_GENERALSTRING_it); | 0 |
| 318 | } | - |
| 319 | - | |
| 320 | ASN1_GENERALSTRING * | - |
| 321 | ASN1_GENERALSTRING_new(void) | - |
| 322 | { | - |
| 323 | return never executed: (ASN1_GENERALSTRING *)ASN1_item_new(&ASN1_GENERALSTRING_it);return (ASN1_GENERALSTRING *)ASN1_item_new(&ASN1_GENERALSTRING_it);never executed: return (ASN1_GENERALSTRING *)ASN1_item_new(&ASN1_GENERALSTRING_it); | 0 |
| 324 | } | - |
| 325 | - | |
| 326 | void | - |
| 327 | ASN1_GENERALSTRING_free(ASN1_GENERALSTRING *a) | - |
| 328 | { | - |
| 329 | ASN1_item_free((ASN1_VALUE *)a, &ASN1_GENERALSTRING_it); | - |
| 330 | } executed 1 time by 1 test: end of blockExecuted by:
| 1 |
| 331 | - | |
| 332 | - | |
| 333 | const ASN1_ITEM ASN1_UTCTIME_it = { | - |
| 334 | .itype = 0x0, | - |
| 335 | .utype = 23, | - |
| 336 | .sname = "ASN1_UTCTIME", | - |
| 337 | }; | - |
| 338 | - | |
| 339 | ASN1_UTCTIME * | - |
| 340 | d2i_ASN1_UTCTIME(ASN1_UTCTIME **a, const unsigned char **in, long len) | - |
| 341 | { | - |
| 342 | return executed 4 times by 1 test: (ASN1_UTCTIME *)ASN1_item_d2i((ASN1_VALUE **)a, in, len,return (ASN1_UTCTIME *)ASN1_item_d2i((ASN1_VALUE **)a, in, len, &ASN1_UTCTIME_it);Executed by:
executed 4 times by 1 test: return (ASN1_UTCTIME *)ASN1_item_d2i((ASN1_VALUE **)a, in, len, &ASN1_UTCTIME_it);Executed by:
| 4 |
| 343 | &ASN1_UTCTIME_it); executed 4 times by 1 test: return (ASN1_UTCTIME *)ASN1_item_d2i((ASN1_VALUE **)a, in, len, &ASN1_UTCTIME_it);Executed by:
| 4 |
| 344 | } | - |
| 345 | - | |
| 346 | int | - |
| 347 | i2d_ASN1_UTCTIME(ASN1_UTCTIME *a, unsigned char **out) | - |
| 348 | { | - |
| 349 | return executed 4 times by 1 test: ASN1_item_i2d((ASN1_VALUE *)a, out, &ASN1_UTCTIME_it);return ASN1_item_i2d((ASN1_VALUE *)a, out, &ASN1_UTCTIME_it);Executed by:
executed 4 times by 1 test: return ASN1_item_i2d((ASN1_VALUE *)a, out, &ASN1_UTCTIME_it);Executed by:
| 4 |
| 350 | } | - |
| 351 | - | |
| 352 | ASN1_UTCTIME * | - |
| 353 | ASN1_UTCTIME_new(void) | - |
| 354 | { | - |
| 355 | return executed 45 times by 2 tests: (ASN1_UTCTIME *)ASN1_item_new(&ASN1_UTCTIME_it);return (ASN1_UTCTIME *)ASN1_item_new(&ASN1_UTCTIME_it);Executed by:
executed 45 times by 2 tests: return (ASN1_UTCTIME *)ASN1_item_new(&ASN1_UTCTIME_it);Executed by:
| 45 |
| 356 | } | - |
| 357 | - | |
| 358 | void | - |
| 359 | ASN1_UTCTIME_free(ASN1_UTCTIME *a) | - |
| 360 | { | - |
| 361 | ASN1_item_free((ASN1_VALUE *)a, &ASN1_UTCTIME_it); | - |
| 362 | } executed 59 times by 3 tests: end of blockExecuted by:
| 59 |
| 363 | - | |
| 364 | - | |
| 365 | const ASN1_ITEM ASN1_GENERALIZEDTIME_it = { | - |
| 366 | .itype = 0x0, | - |
| 367 | .utype = 24, | - |
| 368 | .sname = "ASN1_GENERALIZEDTIME", | - |
| 369 | }; | - |
| 370 | - | |
| 371 | ASN1_GENERALIZEDTIME * | - |
| 372 | d2i_ASN1_GENERALIZEDTIME(ASN1_GENERALIZEDTIME **a, const unsigned char **in, | - |
| 373 | long len) | - |
| 374 | { | - |
| 375 | return executed 2 times by 1 test: (ASN1_GENERALIZEDTIME *)ASN1_item_d2i((ASN1_VALUE **)a, in, len,return (ASN1_GENERALIZEDTIME *)ASN1_item_d2i((ASN1_VALUE **)a, in, len, &ASN1_GENERALIZEDTIME_it);Executed by:
executed 2 times by 1 test: return (ASN1_GENERALIZEDTIME *)ASN1_item_d2i((ASN1_VALUE **)a, in, len, &ASN1_GENERALIZEDTIME_it);Executed by:
| 2 |
| 376 | &ASN1_GENERALIZEDTIME_it); executed 2 times by 1 test: return (ASN1_GENERALIZEDTIME *)ASN1_item_d2i((ASN1_VALUE **)a, in, len, &ASN1_GENERALIZEDTIME_it);Executed by:
| 2 |
| 377 | } | - |
| 378 | - | |
| 379 | int | - |
| 380 | i2d_ASN1_GENERALIZEDTIME(ASN1_GENERALIZEDTIME *a, unsigned char **out) | - |
| 381 | { | - |
| 382 | return executed 2 times by 1 test: ASN1_item_i2d((ASN1_VALUE *)a, out, &ASN1_GENERALIZEDTIME_it);return ASN1_item_i2d((ASN1_VALUE *)a, out, &ASN1_GENERALIZEDTIME_it);Executed by:
executed 2 times by 1 test: return ASN1_item_i2d((ASN1_VALUE *)a, out, &ASN1_GENERALIZEDTIME_it);Executed by:
| 2 |
| 383 | } | - |
| 384 | - | |
| 385 | ASN1_GENERALIZEDTIME * | - |
| 386 | ASN1_GENERALIZEDTIME_new(void) | - |
| 387 | { | - |
| 388 | return executed 37 times by 2 tests: (ASN1_GENERALIZEDTIME *)ASN1_item_new(&ASN1_GENERALIZEDTIME_it);return (ASN1_GENERALIZEDTIME *)ASN1_item_new(&ASN1_GENERALIZEDTIME_it);Executed by:
executed 37 times by 2 tests: return (ASN1_GENERALIZEDTIME *)ASN1_item_new(&ASN1_GENERALIZEDTIME_it);Executed by:
| 37 |
| 389 | } | - |
| 390 | - | |
| 391 | void | - |
| 392 | ASN1_GENERALIZEDTIME_free(ASN1_GENERALIZEDTIME *a) | - |
| 393 | { | - |
| 394 | ASN1_item_free((ASN1_VALUE *)a, &ASN1_GENERALIZEDTIME_it); | - |
| 395 | } executed 43 times by 3 tests: end of blockExecuted by:
| 43 |
| 396 | - | |
| 397 | - | |
| 398 | const ASN1_ITEM ASN1_VISIBLESTRING_it = { | - |
| 399 | .itype = 0x0, | - |
| 400 | .utype = 26, | - |
| 401 | .sname = "ASN1_VISIBLESTRING", | - |
| 402 | }; | - |
| 403 | - | |
| 404 | ASN1_VISIBLESTRING * | - |
| 405 | d2i_ASN1_VISIBLESTRING(ASN1_VISIBLESTRING **a, const unsigned char **in, | - |
| 406 | long len) | - |
| 407 | { | - |
| 408 | return never executed: (ASN1_VISIBLESTRING *)ASN1_item_d2i((ASN1_VALUE **)a, in, len,return (ASN1_VISIBLESTRING *)ASN1_item_d2i((ASN1_VALUE **)a, in, len, &ASN1_VISIBLESTRING_it);never executed: return (ASN1_VISIBLESTRING *)ASN1_item_d2i((ASN1_VALUE **)a, in, len, &ASN1_VISIBLESTRING_it); | 0 |
| 409 | &ASN1_VISIBLESTRING_it); never executed: return (ASN1_VISIBLESTRING *)ASN1_item_d2i((ASN1_VALUE **)a, in, len, &ASN1_VISIBLESTRING_it); | 0 |
| 410 | } | - |
| 411 | - | |
| 412 | int | - |
| 413 | i2d_ASN1_VISIBLESTRING(ASN1_VISIBLESTRING *a, unsigned char **out) | - |
| 414 | { | - |
| 415 | return never executed: ASN1_item_i2d((ASN1_VALUE *)a, out, &ASN1_VISIBLESTRING_it);return ASN1_item_i2d((ASN1_VALUE *)a, out, &ASN1_VISIBLESTRING_it);never executed: return ASN1_item_i2d((ASN1_VALUE *)a, out, &ASN1_VISIBLESTRING_it); | 0 |
| 416 | } | - |
| 417 | - | |
| 418 | ASN1_VISIBLESTRING * | - |
| 419 | ASN1_VISIBLESTRING_new(void) | - |
| 420 | { | - |
| 421 | return never executed: (ASN1_VISIBLESTRING *)ASN1_item_new(&ASN1_VISIBLESTRING_it);return (ASN1_VISIBLESTRING *)ASN1_item_new(&ASN1_VISIBLESTRING_it);never executed: return (ASN1_VISIBLESTRING *)ASN1_item_new(&ASN1_VISIBLESTRING_it); | 0 |
| 422 | } | - |
| 423 | - | |
| 424 | void | - |
| 425 | ASN1_VISIBLESTRING_free(ASN1_VISIBLESTRING *a) | - |
| 426 | { | - |
| 427 | ASN1_item_free((ASN1_VALUE *)a, &ASN1_VISIBLESTRING_it); | - |
| 428 | } executed 1 time by 1 test: end of blockExecuted by:
| 1 |
| 429 | - | |
| 430 | - | |
| 431 | const ASN1_ITEM ASN1_UNIVERSALSTRING_it = { | - |
| 432 | .itype = 0x0, | - |
| 433 | .utype = 28, | - |
| 434 | .sname = "ASN1_UNIVERSALSTRING", | - |
| 435 | }; | - |
| 436 | - | |
| 437 | ASN1_UNIVERSALSTRING * | - |
| 438 | d2i_ASN1_UNIVERSALSTRING(ASN1_UNIVERSALSTRING **a, const unsigned char **in, | - |
| 439 | long len) | - |
| 440 | { | - |
| 441 | return never executed: (ASN1_UNIVERSALSTRING *)ASN1_item_d2i((ASN1_VALUE **)a, in, len,return (ASN1_UNIVERSALSTRING *)ASN1_item_d2i((ASN1_VALUE **)a, in, len, &ASN1_UNIVERSALSTRING_it);never executed: return (ASN1_UNIVERSALSTRING *)ASN1_item_d2i((ASN1_VALUE **)a, in, len, &ASN1_UNIVERSALSTRING_it); | 0 |
| 442 | &ASN1_UNIVERSALSTRING_it); never executed: return (ASN1_UNIVERSALSTRING *)ASN1_item_d2i((ASN1_VALUE **)a, in, len, &ASN1_UNIVERSALSTRING_it); | 0 |
| 443 | } | - |
| 444 | - | |
| 445 | int | - |
| 446 | i2d_ASN1_UNIVERSALSTRING(ASN1_UNIVERSALSTRING *a, unsigned char **out) | - |
| 447 | { | - |
| 448 | return never executed: ASN1_item_i2d((ASN1_VALUE *)a, out, &ASN1_UNIVERSALSTRING_it);return ASN1_item_i2d((ASN1_VALUE *)a, out, &ASN1_UNIVERSALSTRING_it);never executed: return ASN1_item_i2d((ASN1_VALUE *)a, out, &ASN1_UNIVERSALSTRING_it); | 0 |
| 449 | } | - |
| 450 | - | |
| 451 | ASN1_UNIVERSALSTRING * | - |
| 452 | ASN1_UNIVERSALSTRING_new(void) | - |
| 453 | { | - |
| 454 | return never executed: (ASN1_UNIVERSALSTRING *)ASN1_item_new(&ASN1_UNIVERSALSTRING_it);return (ASN1_UNIVERSALSTRING *)ASN1_item_new(&ASN1_UNIVERSALSTRING_it);never executed: return (ASN1_UNIVERSALSTRING *)ASN1_item_new(&ASN1_UNIVERSALSTRING_it); | 0 |
| 455 | } | - |
| 456 | - | |
| 457 | void | - |
| 458 | ASN1_UNIVERSALSTRING_free(ASN1_UNIVERSALSTRING *a) | - |
| 459 | { | - |
| 460 | ASN1_item_free((ASN1_VALUE *)a, &ASN1_UNIVERSALSTRING_it); | - |
| 461 | } executed 1 time by 1 test: end of blockExecuted by:
| 1 |
| 462 | - | |
| 463 | - | |
| 464 | const ASN1_ITEM ASN1_BMPSTRING_it = { | - |
| 465 | .itype = 0x0, | - |
| 466 | .utype = 30, | - |
| 467 | .sname = "ASN1_BMPSTRING", | - |
| 468 | }; | - |
| 469 | - | |
| 470 | ASN1_BMPSTRING * | - |
| 471 | d2i_ASN1_BMPSTRING(ASN1_BMPSTRING **a, const unsigned char **in, long len) | - |
| 472 | { | - |
| 473 | return never executed: (ASN1_BMPSTRING *)ASN1_item_d2i((ASN1_VALUE **)a, in, len,return (ASN1_BMPSTRING *)ASN1_item_d2i((ASN1_VALUE **)a, in, len, &ASN1_BMPSTRING_it);never executed: return (ASN1_BMPSTRING *)ASN1_item_d2i((ASN1_VALUE **)a, in, len, &ASN1_BMPSTRING_it); | 0 |
| 474 | &ASN1_BMPSTRING_it); never executed: return (ASN1_BMPSTRING *)ASN1_item_d2i((ASN1_VALUE **)a, in, len, &ASN1_BMPSTRING_it); | 0 |
| 475 | } | - |
| 476 | - | |
| 477 | int | - |
| 478 | i2d_ASN1_BMPSTRING(ASN1_BMPSTRING *a, unsigned char **out) | - |
| 479 | { | - |
| 480 | return never executed: ASN1_item_i2d((ASN1_VALUE *)a, out, &ASN1_BMPSTRING_it);return ASN1_item_i2d((ASN1_VALUE *)a, out, &ASN1_BMPSTRING_it);never executed: return ASN1_item_i2d((ASN1_VALUE *)a, out, &ASN1_BMPSTRING_it); | 0 |
| 481 | } | - |
| 482 | - | |
| 483 | ASN1_BMPSTRING * | - |
| 484 | ASN1_BMPSTRING_new(void) | - |
| 485 | { | - |
| 486 | return never executed: (ASN1_BMPSTRING *)ASN1_item_new(&ASN1_BMPSTRING_it);return (ASN1_BMPSTRING *)ASN1_item_new(&ASN1_BMPSTRING_it);never executed: return (ASN1_BMPSTRING *)ASN1_item_new(&ASN1_BMPSTRING_it); | 0 |
| 487 | } | - |
| 488 | - | |
| 489 | void | - |
| 490 | ASN1_BMPSTRING_free(ASN1_BMPSTRING *a) | - |
| 491 | { | - |
| 492 | ASN1_item_free((ASN1_VALUE *)a, &ASN1_BMPSTRING_it); | - |
| 493 | } executed 1 time by 1 test: end of blockExecuted by:
| 1 |
| 494 | - | |
| 495 | - | |
| 496 | const ASN1_ITEM ASN1_ANY_it = { | - |
| 497 | .itype = 0x0, | - |
| 498 | .utype = -4, | - |
| 499 | .sname = "ASN1_ANY", | - |
| 500 | }; | - |
| 501 | - | |
| 502 | - | |
| 503 | - | |
| 504 | const ASN1_ITEM ASN1_SEQUENCE_it = { | - |
| 505 | .itype = 0x0, | - |
| 506 | .utype = 16, | - |
| 507 | .sname = "ASN1_SEQUENCE", | - |
| 508 | }; | - |
| 509 | - | |
| 510 | - | |
| 511 | ASN1_TYPE * | - |
| 512 | d2i_ASN1_TYPE(ASN1_TYPE **a, const unsigned char **in, long len) | - |
| 513 | { | - |
| 514 | return never executed: (ASN1_TYPE *)ASN1_item_d2i((ASN1_VALUE **)a, in, len,return (ASN1_TYPE *)ASN1_item_d2i((ASN1_VALUE **)a, in, len, &ASN1_ANY_it);never executed: return (ASN1_TYPE *)ASN1_item_d2i((ASN1_VALUE **)a, in, len, &ASN1_ANY_it); | 0 |
| 515 | &ASN1_ANY_it); never executed: return (ASN1_TYPE *)ASN1_item_d2i((ASN1_VALUE **)a, in, len, &ASN1_ANY_it); | 0 |
| 516 | } | - |
| 517 | - | |
| 518 | int | - |
| 519 | i2d_ASN1_TYPE(ASN1_TYPE *a, unsigned char **out) | - |
| 520 | { | - |
| 521 | return never executed: ASN1_item_i2d((ASN1_VALUE *)a, out, &ASN1_ANY_it);return ASN1_item_i2d((ASN1_VALUE *)a, out, &ASN1_ANY_it);never executed: return ASN1_item_i2d((ASN1_VALUE *)a, out, &ASN1_ANY_it); | 0 |
| 522 | } | - |
| 523 | - | |
| 524 | ASN1_TYPE * | - |
| 525 | ASN1_TYPE_new(void) | - |
| 526 | { | - |
| 527 | return executed 700 times by 7 tests: (ASN1_TYPE *)ASN1_item_new(&ASN1_ANY_it);return (ASN1_TYPE *)ASN1_item_new(&ASN1_ANY_it);Executed by:
executed 700 times by 7 tests: return (ASN1_TYPE *)ASN1_item_new(&ASN1_ANY_it);Executed by:
| 700 |
| 528 | } | - |
| 529 | - | |
| 530 | void | - |
| 531 | ASN1_TYPE_free(ASN1_TYPE *a) | - |
| 532 | { | - |
| 533 | ASN1_item_free((ASN1_VALUE *)a, &ASN1_ANY_it); | - |
| 534 | } executed 1 time by 1 test: end of blockExecuted by:
| 1 |
| 535 | - | |
| 536 | - | |
| 537 | - | |
| 538 | - | |
| 539 | const ASN1_ITEM ASN1_PRINTABLE_it = { | - |
| 540 | .itype = 0x5, | - |
| 541 | .utype = 0x0001| 0x0002| 0x0004| 0x0010| 0x0400| 0x0100| 0x0800| 0x2000| 0x10000| 0x1000, | - |
| 542 | .templates = | - |
| 543 | ((void *)0) | - |
| 544 | , | - |
| 545 | .tcount = 0, | - |
| 546 | .funcs = | - |
| 547 | ((void *)0) | - |
| 548 | , | - |
| 549 | .size = sizeof(ASN1_STRING), | - |
| 550 | .sname = "ASN1_PRINTABLE", | - |
| 551 | }; | - |
| 552 | - | |
| 553 | ASN1_STRING * | - |
| 554 | d2i_ASN1_PRINTABLE(ASN1_STRING **a, const unsigned char **in, long len) | - |
| 555 | { | - |
| 556 | return never executed: (ASN1_STRING *)ASN1_item_d2i((ASN1_VALUE **)a, in, len,return (ASN1_STRING *)ASN1_item_d2i((ASN1_VALUE **)a, in, len, &ASN1_PRINTABLE_it);never executed: return (ASN1_STRING *)ASN1_item_d2i((ASN1_VALUE **)a, in, len, &ASN1_PRINTABLE_it); | 0 |
| 557 | &ASN1_PRINTABLE_it); never executed: return (ASN1_STRING *)ASN1_item_d2i((ASN1_VALUE **)a, in, len, &ASN1_PRINTABLE_it); | 0 |
| 558 | } | - |
| 559 | - | |
| 560 | int | - |
| 561 | i2d_ASN1_PRINTABLE(ASN1_STRING *a, unsigned char **out) | - |
| 562 | { | - |
| 563 | return never executed: ASN1_item_i2d((ASN1_VALUE *)a, out, &ASN1_PRINTABLE_it);return ASN1_item_i2d((ASN1_VALUE *)a, out, &ASN1_PRINTABLE_it);never executed: return ASN1_item_i2d((ASN1_VALUE *)a, out, &ASN1_PRINTABLE_it); | 0 |
| 564 | } | - |
| 565 | - | |
| 566 | ASN1_STRING * | - |
| 567 | ASN1_PRINTABLE_new(void) | - |
| 568 | { | - |
| 569 | return never executed: (ASN1_STRING *)ASN1_item_new(&ASN1_PRINTABLE_it);return (ASN1_STRING *)ASN1_item_new(&ASN1_PRINTABLE_it);never executed: return (ASN1_STRING *)ASN1_item_new(&ASN1_PRINTABLE_it); | 0 |
| 570 | } | - |
| 571 | - | |
| 572 | void | - |
| 573 | ASN1_PRINTABLE_free(ASN1_STRING *a) | - |
| 574 | { | - |
| 575 | ASN1_item_free((ASN1_VALUE *)a, &ASN1_PRINTABLE_it); | - |
| 576 | } executed 1 time by 1 test: end of blockExecuted by:
| 1 |
| 577 | - | |
| 578 | - | |
| 579 | const ASN1_ITEM DISPLAYTEXT_it = { | - |
| 580 | .itype = 0x5, | - |
| 581 | .utype = 0x0010| 0x0040| 0x0800| 0x2000, | - |
| 582 | .templates = | - |
| 583 | ((void *)0) | - |
| 584 | , | - |
| 585 | .tcount = 0, | - |
| 586 | .funcs = | - |
| 587 | ((void *)0) | - |
| 588 | , | - |
| 589 | .size = sizeof(ASN1_STRING), | - |
| 590 | .sname = "DISPLAYTEXT", | - |
| 591 | }; | - |
| 592 | - | |
| 593 | ASN1_STRING * | - |
| 594 | d2i_DISPLAYTEXT(ASN1_STRING **a, const unsigned char **in, long len) | - |
| 595 | { | - |
| 596 | return never executed: (ASN1_STRING *)ASN1_item_d2i((ASN1_VALUE **)a, in, len,return (ASN1_STRING *)ASN1_item_d2i((ASN1_VALUE **)a, in, len, &DISPLAYTEXT_it);never executed: return (ASN1_STRING *)ASN1_item_d2i((ASN1_VALUE **)a, in, len, &DISPLAYTEXT_it); | 0 |
| 597 | &DISPLAYTEXT_it); never executed: return (ASN1_STRING *)ASN1_item_d2i((ASN1_VALUE **)a, in, len, &DISPLAYTEXT_it); | 0 |
| 598 | } | - |
| 599 | - | |
| 600 | int | - |
| 601 | i2d_DISPLAYTEXT(ASN1_STRING *a, unsigned char **out) | - |
| 602 | { | - |
| 603 | return never executed: ASN1_item_i2d((ASN1_VALUE *)a, out, &DISPLAYTEXT_it);return ASN1_item_i2d((ASN1_VALUE *)a, out, &DISPLAYTEXT_it);never executed: return ASN1_item_i2d((ASN1_VALUE *)a, out, &DISPLAYTEXT_it); | 0 |
| 604 | } | - |
| 605 | - | |
| 606 | ASN1_STRING * | - |
| 607 | DISPLAYTEXT_new(void) | - |
| 608 | { | - |
| 609 | return never executed: (ASN1_STRING *)ASN1_item_new(&DISPLAYTEXT_it);return (ASN1_STRING *)ASN1_item_new(&DISPLAYTEXT_it);never executed: return (ASN1_STRING *)ASN1_item_new(&DISPLAYTEXT_it); | 0 |
| 610 | } | - |
| 611 | - | |
| 612 | void | - |
| 613 | DISPLAYTEXT_free(ASN1_STRING *a) | - |
| 614 | { | - |
| 615 | ASN1_item_free((ASN1_VALUE *)a, &DISPLAYTEXT_it); | - |
| 616 | } executed 1 time by 1 test: end of blockExecuted by:
| 1 |
| 617 | - | |
| 618 | - | |
| 619 | const ASN1_ITEM DIRECTORYSTRING_it = { | - |
| 620 | .itype = 0x5, | - |
| 621 | .utype = 0x0002| 0x0004| 0x0800| 0x0100| 0x2000, | - |
| 622 | .templates = | - |
| 623 | ((void *)0) | - |
| 624 | , | - |
| 625 | .tcount = 0, | - |
| 626 | .funcs = | - |
| 627 | ((void *)0) | - |
| 628 | , | - |
| 629 | .size = sizeof(ASN1_STRING), | - |
| 630 | .sname = "DIRECTORYSTRING", | - |
| 631 | }; | - |
| 632 | - | |
| 633 | ASN1_STRING * | - |
| 634 | d2i_DIRECTORYSTRING(ASN1_STRING **a, const unsigned char **in, long len) | - |
| 635 | { | - |
| 636 | return never executed: (ASN1_STRING *)ASN1_item_d2i((ASN1_VALUE **)a, in, len,return (ASN1_STRING *)ASN1_item_d2i((ASN1_VALUE **)a, in, len, &DIRECTORYSTRING_it);never executed: return (ASN1_STRING *)ASN1_item_d2i((ASN1_VALUE **)a, in, len, &DIRECTORYSTRING_it); | 0 |
| 637 | &DIRECTORYSTRING_it); never executed: return (ASN1_STRING *)ASN1_item_d2i((ASN1_VALUE **)a, in, len, &DIRECTORYSTRING_it); | 0 |
| 638 | } | - |
| 639 | - | |
| 640 | int | - |
| 641 | i2d_DIRECTORYSTRING(ASN1_STRING *a, unsigned char **out) | - |
| 642 | { | - |
| 643 | return never executed: ASN1_item_i2d((ASN1_VALUE *)a, out, &DIRECTORYSTRING_it);return ASN1_item_i2d((ASN1_VALUE *)a, out, &DIRECTORYSTRING_it);never executed: return ASN1_item_i2d((ASN1_VALUE *)a, out, &DIRECTORYSTRING_it); | 0 |
| 644 | } | - |
| 645 | - | |
| 646 | ASN1_STRING * | - |
| 647 | DIRECTORYSTRING_new(void) | - |
| 648 | { | - |
| 649 | return never executed: (ASN1_STRING *)ASN1_item_new(&DIRECTORYSTRING_it);return (ASN1_STRING *)ASN1_item_new(&DIRECTORYSTRING_it);never executed: return (ASN1_STRING *)ASN1_item_new(&DIRECTORYSTRING_it); | 0 |
| 650 | } | - |
| 651 | - | |
| 652 | void | - |
| 653 | DIRECTORYSTRING_free(ASN1_STRING *a) | - |
| 654 | { | - |
| 655 | ASN1_item_free((ASN1_VALUE *)a, &DIRECTORYSTRING_it); | - |
| 656 | } executed 1 time by 1 test: end of blockExecuted by:
| 1 |
| 657 | - | |
| 658 | - | |
| 659 | - | |
| 660 | const ASN1_ITEM ASN1_BOOLEAN_it = { | - |
| 661 | .itype = 0x0, | - |
| 662 | .utype = 1, | - |
| 663 | .size = -1, | - |
| 664 | .sname = "ASN1_BOOLEAN", | - |
| 665 | }; | - |
| 666 | - | |
| 667 | const ASN1_ITEM ASN1_TBOOLEAN_it = { | - |
| 668 | .itype = 0x0, | - |
| 669 | .utype = 1, | - |
| 670 | .size = 1, | - |
| 671 | .sname = "ASN1_TBOOLEAN", | - |
| 672 | }; | - |
| 673 | - | |
| 674 | const ASN1_ITEM ASN1_FBOOLEAN_it = { | - |
| 675 | .itype = 0x0, | - |
| 676 | .utype = 1, | - |
| 677 | .size = 0, | - |
| 678 | .sname = "ASN1_FBOOLEAN", | - |
| 679 | }; | - |
| 680 | - | |
| 681 | - | |
| 682 | - | |
| 683 | const ASN1_ITEM ASN1_OCTET_STRING_NDEF_it = { | - |
| 684 | .itype = 0x0, | - |
| 685 | .utype = 4, | - |
| 686 | .size = (0x1<<11), | - |
| 687 | .sname = "ASN1_OCTET_STRING_NDEF", | - |
| 688 | }; | - |
| 689 | - | |
| 690 | static const ASN1_TEMPLATE ASN1_SEQUENCE_ANY_item_tt = { | - |
| 691 | .flags = (0x2 << 1), | - |
| 692 | .tag = 0, | - |
| 693 | .offset = 0, | - |
| 694 | .field_name = "ASN1_SEQUENCE_ANY", | - |
| 695 | .item = &ASN1_ANY_it, | - |
| 696 | }; | - |
| 697 | - | |
| 698 | const ASN1_ITEM ASN1_SEQUENCE_ANY_it = { | - |
| 699 | .itype = 0x0, | - |
| 700 | .utype = -1, | - |
| 701 | .templates = &ASN1_SEQUENCE_ANY_item_tt, | - |
| 702 | .tcount = 0, | - |
| 703 | .funcs = | - |
| 704 | ((void *)0) | - |
| 705 | , | - |
| 706 | .size = 0, | - |
| 707 | .sname = "ASN1_SEQUENCE_ANY", | - |
| 708 | }; | - |
| 709 | - | |
| 710 | static const ASN1_TEMPLATE ASN1_SET_ANY_item_tt = { | - |
| 711 | .flags = (0x1 << 1), | - |
| 712 | .tag = 0, | - |
| 713 | .offset = 0, | - |
| 714 | .field_name = "ASN1_SET_ANY", | - |
| 715 | .item = &ASN1_ANY_it, | - |
| 716 | }; | - |
| 717 | - | |
| 718 | const ASN1_ITEM ASN1_SET_ANY_it = { | - |
| 719 | .itype = 0x0, | - |
| 720 | .utype = -1, | - |
| 721 | .templates = &ASN1_SET_ANY_item_tt, | - |
| 722 | .tcount = 0, | - |
| 723 | .funcs = | - |
| 724 | ((void *)0) | - |
| 725 | , | - |
| 726 | .size = 0, | - |
| 727 | .sname = "ASN1_SET_ANY", | - |
| 728 | }; | - |
| 729 | - | |
| 730 | - | |
| 731 | ASN1_SEQUENCE_ANY * | - |
| 732 | d2i_ASN1_SEQUENCE_ANY(ASN1_SEQUENCE_ANY **a, const unsigned char **in, long len) | - |
| 733 | { | - |
| 734 | return never executed: (ASN1_SEQUENCE_ANY *)ASN1_item_d2i((ASN1_VALUE **)a, in, len,return (ASN1_SEQUENCE_ANY *)ASN1_item_d2i((ASN1_VALUE **)a, in, len, &ASN1_SEQUENCE_ANY_it);never executed: return (ASN1_SEQUENCE_ANY *)ASN1_item_d2i((ASN1_VALUE **)a, in, len, &ASN1_SEQUENCE_ANY_it); | 0 |
| 735 | &ASN1_SEQUENCE_ANY_it); never executed: return (ASN1_SEQUENCE_ANY *)ASN1_item_d2i((ASN1_VALUE **)a, in, len, &ASN1_SEQUENCE_ANY_it); | 0 |
| 736 | } | - |
| 737 | - | |
| 738 | int | - |
| 739 | i2d_ASN1_SEQUENCE_ANY(const ASN1_SEQUENCE_ANY *a, unsigned char **out) | - |
| 740 | { | - |
| 741 | return never executed: ASN1_item_i2d((ASN1_VALUE *)a, out, &ASN1_SEQUENCE_ANY_it);return ASN1_item_i2d((ASN1_VALUE *)a, out, &ASN1_SEQUENCE_ANY_it);never executed: return ASN1_item_i2d((ASN1_VALUE *)a, out, &ASN1_SEQUENCE_ANY_it); | 0 |
| 742 | } | - |
| 743 | - | |
| 744 | ASN1_SEQUENCE_ANY * | - |
| 745 | d2i_ASN1_SET_ANY(ASN1_SEQUENCE_ANY **a, const unsigned char **in, long len) | - |
| 746 | { | - |
| 747 | return never executed: (ASN1_SEQUENCE_ANY *)ASN1_item_d2i((ASN1_VALUE **)a, in, len,return (ASN1_SEQUENCE_ANY *)ASN1_item_d2i((ASN1_VALUE **)a, in, len, &ASN1_SET_ANY_it);never executed: return (ASN1_SEQUENCE_ANY *)ASN1_item_d2i((ASN1_VALUE **)a, in, len, &ASN1_SET_ANY_it); | 0 |
| 748 | &ASN1_SET_ANY_it); never executed: return (ASN1_SEQUENCE_ANY *)ASN1_item_d2i((ASN1_VALUE **)a, in, len, &ASN1_SET_ANY_it); | 0 |
| 749 | } | - |
| 750 | - | |
| 751 | int | - |
| 752 | i2d_ASN1_SET_ANY(const ASN1_SEQUENCE_ANY *a, unsigned char **out) | - |
| 753 | { | - |
| 754 | return never executed: ASN1_item_i2d((ASN1_VALUE *)a, out, &ASN1_SET_ANY_it);return ASN1_item_i2d((ASN1_VALUE *)a, out, &ASN1_SET_ANY_it);never executed: return ASN1_item_i2d((ASN1_VALUE *)a, out, &ASN1_SET_ANY_it); | 0 |
| 755 | } | - |
| Switch to Source code | Preprocessed file |