| Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssl/src/crypto/x509/x_exten.c |
| Switch to Source code | Preprocessed file |
| Line | Source | Count |
|---|---|---|
| 1 | - | |
| 2 | - | |
| 3 | static const ASN1_TEMPLATE X509_EXTENSION_seq_tt[] = { | - |
| 4 | { (0), (0), | - |
| 5 | __builtin_offsetof ( | - |
| 6 | X509_EXTENSION | - |
| 7 | , | - |
| 8 | object | - |
| 9 | ) | - |
| 10 | , "object", (&(ASN1_OBJECT_it)) }, | - |
| 11 | { ((0x1)), (0), | - |
| 12 | __builtin_offsetof ( | - |
| 13 | X509_EXTENSION | - |
| 14 | , | - |
| 15 | critical | - |
| 16 | ) | - |
| 17 | , "critical", (&(ASN1_BOOLEAN_it)) }, | - |
| 18 | { ((0x1 << 12)), (0), | - |
| 19 | __builtin_offsetof ( | - |
| 20 | X509_EXTENSION | - |
| 21 | , | - |
| 22 | value | - |
| 23 | ) | - |
| 24 | , "value", (&(ASN1_OCTET_STRING_it)) } | - |
| 25 | } ; const ASN1_ITEM X509_EXTENSION_it = { 0x1, 16, X509_EXTENSION_seq_tt, sizeof(X509_EXTENSION_seq_tt) / sizeof(ASN1_TEMPLATE), | - |
| 26 | ((void *)0) | - |
| 27 | , sizeof(X509_EXTENSION), "X509_EXTENSION" }; | - |
| 28 | - | |
| 29 | static const ASN1_TEMPLATE X509_EXTENSIONS_item_tt = | - |
| 30 | { ((0x2 << 1)), (0), 0, "Extension", (&(X509_EXTENSION_it)) } | - |
| 31 | ; const ASN1_ITEM X509_EXTENSIONS_it = { 0x0, -1, &X509_EXTENSIONS_item_tt, 0, | - |
| 32 | ((void *)0) | - |
| 33 | , 0, "X509_EXTENSIONS" }; | - |
| 34 | - | |
| 35 | X509_EXTENSION *d2i_X509_EXTENSION(X509_EXTENSION **a, const unsigned char **in, long len) { return never executed: (X509_EXTENSION *)ASN1_item_d2i((ASN1_VALUE **)a, in, len, (&(X509_EXTENSION_it)));return (X509_EXTENSION *)ASN1_item_d2i((ASN1_VALUE **)a, in, len, (&(X509_EXTENSION_it)));never executed: } int i2d_X509_EXTENSION(X509_EXTENSION *a, unsigned char **out) { returnreturn (X509_EXTENSION *)ASN1_item_d2i((ASN1_VALUE **)a, in, len, (&(X509_EXTENSION_it)));never executed: ASN1_item_i2d((ASN1_VALUE *)a, out, (&(X509_EXTENSION_it)));return ASN1_item_i2d((ASN1_VALUE *)a, out, (&(X509_EXTENSION_it)));never executed: } X509_EXTENSION *X509_EXTENSION_new(void) { returnreturn ASN1_item_i2d((ASN1_VALUE *)a, out, (&(X509_EXTENSION_it)));executed 221 times by 1 test: (X509_EXTENSION *)ASN1_item_new((&(X509_EXTENSION_it)));return (X509_EXTENSION *)ASN1_item_new((&(X509_EXTENSION_it)));Executed by:
executed 221 times by 1 test: } void X509_EXTENSION_free(X509_EXTENSION *a) { ASN1_item_free((ASN1_VALUE *)a, (&(X509_EXTENSION_it))); }return (X509_EXTENSION *)ASN1_item_new((&(X509_EXTENSION_it)));Executed by:
executed 128 times by 1 test: end of blockExecuted by:
| 0-221 |
| 36 | X509_EXTENSIONS *d2i_X509_EXTENSIONS(X509_EXTENSIONS **a, const unsigned char **in, long len) { return executed 6 times by 1 test: (X509_EXTENSIONS *)ASN1_item_d2i((ASN1_VALUE **)a, in, len, (&(X509_EXTENSIONS_it)));return (X509_EXTENSIONS *)ASN1_item_d2i((ASN1_VALUE **)a, in, len, (&(X509_EXTENSIONS_it)));Executed by:
executed 6 times by 1 test: } int i2d_X509_EXTENSIONS(X509_EXTENSIONS *a, unsigned char **out) { returnreturn (X509_EXTENSIONS *)ASN1_item_d2i((ASN1_VALUE **)a, in, len, (&(X509_EXTENSIONS_it)));Executed by:
never executed: ASN1_item_i2d((ASN1_VALUE *)a, out, (&(X509_EXTENSIONS_it)));return ASN1_item_i2d((ASN1_VALUE *)a, out, (&(X509_EXTENSIONS_it)));never executed: }return ASN1_item_i2d((ASN1_VALUE *)a, out, (&(X509_EXTENSIONS_it))); | 0-6 |
| 37 | X509_EXTENSION * X509_EXTENSION_dup(X509_EXTENSION *x) { return executed 35 times by 1 test: ASN1_item_dup((&(X509_EXTENSION_it)), x);return ASN1_item_dup((&(X509_EXTENSION_it)), x);Executed by:
executed 35 times by 1 test: }return ASN1_item_dup((&(X509_EXTENSION_it)), x);Executed by:
| 35 |
| Switch to Source code | Preprocessed file |