LCOV - code coverage report
Current view: top level - bin/default/third_party/heimdal/lib/hx509 - hx509_err.c (source / functions) Hit Total Coverage
Test: coverage report for master 70ed9daf Lines: 3 6 50.0 %
Date: 2024-01-11 09:59:51 Functions: 1 2 50.0 %

          Line data    Source code
       1             : #include "config.h"
       2             : /* Generated from /builds/wxiaomeng2016/samba/third_party/heimdal/lib/hx509/hx509_err.et */
       3             : /* $Id$ */
       4             : 
       5             : #include <stddef.h>
       6             : #include <com_err.h>
       7             : #include "hx509_err.h"
       8             : 
       9             : #define N_(x) (x)
      10             : 
      11             : static const char *const hx_error_strings[] = {
      12             :         /* 000 */ N_("ASN.1 failed call to system time library"),
      13             :         /* 001 */ N_("Extension not found"),
      14             :         /* 002 */ N_("Certification path not found"),
      15             :         /* 003 */ N_("Parent certificate is not a CA"),
      16             :         /* 004 */ N_("CA path too deep"),
      17             :         /* 005 */ N_("Signature algorithm not supported"),
      18             :         /* 006 */ N_("Signature algorithm doesn't match certificate key"),
      19             :         /* 007 */ N_("Certificate used before it became valid"),
      20             :         /* 008 */ N_("Certificate used after it became invalid"),
      21             :         /* 009 */ N_("Private key required for the operation is missing"),
      22             :         /* 010 */ N_("Algorithm not supported"),
      23             :         /* 011 */ N_("Issuer couldn't be found"),
      24             :         /* 012 */ N_("Error verifying constraints"),
      25             :         /* 013 */ N_("Number too large"),
      26             :         /* 014 */ N_("Error while verifying name constraints"),
      27             :         /* 015 */ N_("Path is too long, failed to find valid anchor"),
      28             :         /* 016 */ N_("Required keyusage for this certificate is missing"),
      29             :         /* 017 */ N_("Certificate not found"),
      30             :         /* 018 */ N_("Unknown lock command"),
      31             :         /* 019 */ N_("Parent certificate is a CA"),
      32             :         /* 020 */ N_("Extra data was found after the structure"),
      33             :         /* 021 */ N_("Proxy certificate is invalid"),
      34             :         /* 022 */ N_("Proxy certificate name is wrong"),
      35             :         /* 023 */ N_("Name is malformed"),
      36             :         /* 024 */ N_("Certificate is malformed"),
      37             :         /* 025 */ N_("Certificate is missing a required EKU"),
      38             :         /* 026 */ N_("Proxy certificate not canonicalized"),
      39             :         /* 027 */ N_("No such item / iteration end"),
      40             :         /* 028 */ "Reserved hx error (28)",
      41             :         /* 029 */ "Reserved hx error (29)",
      42             :         /* 030 */ "Reserved hx error (30)",
      43             :         /* 031 */ "Reserved hx error (31)",
      44             :         /* 032 */ N_("Failed to create signature"),
      45             :         /* 033 */ N_("Missing signer data"),
      46             :         /* 034 */ N_("Couldn't find signers certificate"),
      47             :         /* 035 */ N_("No data to perform the operation on"),
      48             :         /* 036 */ N_("Data in the message is invalid"),
      49             :         /* 037 */ N_("Padding in the message invalid"),
      50             :         /* 038 */ N_("Couldn't find recipient certificate"),
      51             :         /* 039 */ N_("Mismatch bewteen signed type and unsigned type"),
      52             :         /* 040 */ "Reserved hx error (40)",
      53             :         /* 041 */ "Reserved hx error (41)",
      54             :         /* 042 */ "Reserved hx error (42)",
      55             :         /* 043 */ "Reserved hx error (43)",
      56             :         /* 044 */ "Reserved hx error (44)",
      57             :         /* 045 */ "Reserved hx error (45)",
      58             :         /* 046 */ "Reserved hx error (46)",
      59             :         /* 047 */ "Reserved hx error (47)",
      60             :         /* 048 */ "Reserved hx error (48)",
      61             :         /* 049 */ "Reserved hx error (49)",
      62             :         /* 050 */ "Reserved hx error (50)",
      63             :         /* 051 */ "Reserved hx error (51)",
      64             :         /* 052 */ "Reserved hx error (52)",
      65             :         /* 053 */ "Reserved hx error (53)",
      66             :         /* 054 */ "Reserved hx error (54)",
      67             :         /* 055 */ "Reserved hx error (55)",
      68             :         /* 056 */ "Reserved hx error (56)",
      69             :         /* 057 */ "Reserved hx error (57)",
      70             :         /* 058 */ "Reserved hx error (58)",
      71             :         /* 059 */ "Reserved hx error (59)",
      72             :         /* 060 */ "Reserved hx error (60)",
      73             :         /* 061 */ "Reserved hx error (61)",
      74             :         /* 062 */ "Reserved hx error (62)",
      75             :         /* 063 */ "Reserved hx error (63)",
      76             :         /* 064 */ N_("Internal error in the crypto engine"),
      77             :         /* 065 */ N_("External error in the crypto engine"),
      78             :         /* 066 */ N_("Signature missing for data"),
      79             :         /* 067 */ N_("Signature is not valid"),
      80             :         /* 068 */ N_("Sigature doesn't provide confidentiality"),
      81             :         /* 069 */ N_("Invalid format on signature"),
      82             :         /* 070 */ N_("Mismatch between oids"),
      83             :         /* 071 */ N_("No prompter function defined"),
      84             :         /* 072 */ N_("Signature requires signer, but none available"),
      85             :         /* 073 */ N_("RSA public encyption failed"),
      86             :         /* 074 */ N_("RSA private encyption failed"),
      87             :         /* 075 */ N_("RSA public decryption failed"),
      88             :         /* 076 */ N_("RSA private decryption failed"),
      89             :         /* 077 */ N_("Algorithm has passed its best before date"),
      90             :         /* 078 */ N_("Key format is unsupported"),
      91             :         /* 079 */ "Reserved hx error (79)",
      92             :         /* 080 */ "Reserved hx error (80)",
      93             :         /* 081 */ "Reserved hx error (81)",
      94             :         /* 082 */ "Reserved hx error (82)",
      95             :         /* 083 */ "Reserved hx error (83)",
      96             :         /* 084 */ "Reserved hx error (84)",
      97             :         /* 085 */ "Reserved hx error (85)",
      98             :         /* 086 */ "Reserved hx error (86)",
      99             :         /* 087 */ "Reserved hx error (87)",
     100             :         /* 088 */ "Reserved hx error (88)",
     101             :         /* 089 */ "Reserved hx error (89)",
     102             :         /* 090 */ "Reserved hx error (90)",
     103             :         /* 091 */ "Reserved hx error (91)",
     104             :         /* 092 */ "Reserved hx error (92)",
     105             :         /* 093 */ "Reserved hx error (93)",
     106             :         /* 094 */ "Reserved hx error (94)",
     107             :         /* 095 */ "Reserved hx error (95)",
     108             :         /* 096 */ N_("CRL used before it became valid"),
     109             :         /* 097 */ N_("CRL used after it became invalid"),
     110             :         /* 098 */ N_("CRL has invalid format"),
     111             :         /* 099 */ N_("Certificate is revoked"),
     112             :         /* 100 */ N_("No revoke status found for certificates"),
     113             :         /* 101 */ N_("Unknown extension"),
     114             :         /* 102 */ N_("Got wrong CRL/OCSP data from server"),
     115             :         /* 103 */ N_("Doesn't have same parent as other certificates"),
     116             :         /* 104 */ N_("Certificates not in OCSP reply"),
     117             :         /* 105 */ "Reserved hx error (105)",
     118             :         /* 106 */ "Reserved hx error (106)",
     119             :         /* 107 */ "Reserved hx error (107)",
     120             :         /* 108 */ N_("No local key attribute"),
     121             :         /* 109 */ N_("Failed to parse key"),
     122             :         /* 110 */ N_("Unsupported operation"),
     123             :         /* 111 */ N_("Unimplemented operation"),
     124             :         /* 112 */ N_("Failed to parse name"),
     125             :         /* 113 */ "Reserved hx error (113)",
     126             :         /* 114 */ "Reserved hx error (114)",
     127             :         /* 115 */ "Reserved hx error (115)",
     128             :         /* 116 */ "Reserved hx error (116)",
     129             :         /* 117 */ "Reserved hx error (117)",
     130             :         /* 118 */ "Reserved hx error (118)",
     131             :         /* 119 */ "Reserved hx error (119)",
     132             :         /* 120 */ "Reserved hx error (120)",
     133             :         /* 121 */ "Reserved hx error (121)",
     134             :         /* 122 */ "Reserved hx error (122)",
     135             :         /* 123 */ "Reserved hx error (123)",
     136             :         /* 124 */ "Reserved hx error (124)",
     137             :         /* 125 */ "Reserved hx error (125)",
     138             :         /* 126 */ "Reserved hx error (126)",
     139             :         /* 127 */ "Reserved hx error (127)",
     140             :         /* 128 */ N_("No smartcard reader/device found"),
     141             :         /* 129 */ N_("No smartcard in reader"),
     142             :         /* 130 */ N_("No supported mech(s)"),
     143             :         /* 131 */ N_("Token or slot failed in inconsistent way"),
     144             :         /* 132 */ N_("Failed to open session to slot"),
     145             :         /* 133 */ N_("Failed to login to slot"),
     146             :         /* 134 */ N_("Failed to load PKCS module"),
     147             :         /* 135 */ N_("Incorrect User PIN"),
     148             :         /* 136 */ N_("User PIN locked"),
     149             :         /* 137 */ N_("User PIN not initialized"),
     150             :         /* 138 */ N_("User PIN expired"),
     151             :         NULL
     152             : };
     153             : 
     154             : #define num_errors 139
     155             : 
     156     1580294 : void initialize_hx_error_table_r(struct et_list **list)
     157             : {
     158     1580294 :     initialize_error_table_r(list, hx_error_strings, num_errors, ERROR_TABLE_BASE_hx);
     159     1580294 : }
     160             : 
     161           0 : void initialize_hx_error_table(void)
     162             : {
     163           0 :     init_error_table(hx_error_strings, ERROR_TABLE_BASE_hx, num_errors);
     164           0 : }

Generated by: LCOV version 1.14