LCOV - code coverage report
Current view: top level - bin/default/source4/heimdal/lib/asn1 - asn1_err.c (source / functions) Hit Total Coverage
Test: coverage report for abartlet/fix-coverage dd10fb34 Lines: 3 6 50.0 %
Date: 2021-09-23 10:06:22 Functions: 1 2 50.0 %

          Line data    Source code
       1             : #include "config.h"
       2             : /* Generated from /builds/samba-team/devel/samba/source4/heimdal/lib/asn1/asn1_err.et */
       3             : /* $Id$ */
       4             : 
       5             : #include <stddef.h>
       6             : #include <com_err.h>
       7             : #include "asn1_err.h"
       8             : 
       9             : #define N_(x) (x)
      10             : 
      11             : static const char *asn1_error_strings[] = {
      12             :         /* 000 */ N_("ASN.1 failed call to system time library"),
      13             :         /* 001 */ N_("ASN.1 structure is missing a required field"),
      14             :         /* 002 */ N_("ASN.1 unexpected field number"),
      15             :         /* 003 */ N_("ASN.1 type numbers are inconsistent"),
      16             :         /* 004 */ N_("ASN.1 value too large"),
      17             :         /* 005 */ N_("ASN.1 encoding ended unexpectedly"),
      18             :         /* 006 */ N_("ASN.1 identifier doesn't match expected value"),
      19             :         /* 007 */ N_("ASN.1 length doesn't match expected value"),
      20             :         /* 008 */ N_("ASN.1 badly-formatted encoding"),
      21             :         /* 009 */ N_("ASN.1 parse error"),
      22             :         /* 010 */ N_("ASN.1 extra data past end of end structure"),
      23             :         /* 011 */ N_("ASN.1 invalid character in string"),
      24             :         /* 012 */ N_("ASN.1 too few elements"),
      25             :         /* 013 */ N_("ASN.1 too many elements"),
      26             :         /* 014 */ N_("ASN.1 wrong number of elements"),
      27             :         /* 015 */ N_("ASN.1 BER indefinte encoding overrun"),
      28             :         /* 016 */ N_("ASN.1 BER indefinte encoding underun"),
      29             :         /* 017 */ N_("ASN.1 got BER encoded when expected DER"),
      30             :         /* 018 */ N_("ASN.1 EoC tag contained data"),
      31             :         NULL
      32             : };
      33             : 
      34             : #define num_errors 19
      35             : 
      36      883056 : void initialize_asn1_error_table_r(struct et_list **list)
      37             : {
      38      883056 :     initialize_error_table_r(list, asn1_error_strings, num_errors, ERROR_TABLE_BASE_asn1);
      39      883056 : }
      40             : 
      41           0 : void initialize_asn1_error_table(void)
      42             : {
      43           0 :     init_error_table(asn1_error_strings, ERROR_TABLE_BASE_asn1, num_errors);
      44           0 : }

Generated by: LCOV version 1.13