@@ -110,55 +110,3 @@ static struct nametable prv_settypes[] = /* set types */
110
110
{NULL , -1 },
111
111
};
112
112
struct nametable * settypes = prv_settypes ;
113
-
114
- static struct nametable prv_sigerrors [] = /* signature parsing errors */
115
- {
116
- {"no signature error" , ARC_SIGERROR_OK },
117
- {"unsupported signature version" , ARC_SIGERROR_VERSION },
118
- {"invalid domain coverage" , ARC_SIGERROR_DOMAIN },
119
- {"signature expired" , ARC_SIGERROR_EXPIRED },
120
- {"signature timestamp in the future" , ARC_SIGERROR_FUTURE },
121
- {"signature timestamp order error" , ARC_SIGERROR_TIMESTAMPS },
122
- {"invalid header canonicalization" , ARC_SIGERROR_INVALID_HC },
123
- {"invalid body canonicalization" , ARC_SIGERROR_INVALID_BC },
124
- {"signature algorithm missing" , ARC_SIGERROR_MISSING_A },
125
- {"signature algorithm invalid" , ARC_SIGERROR_INVALID_A },
126
- {"header list missing" , ARC_SIGERROR_MISSING_H },
127
- {"body length value invalid" , ARC_SIGERROR_INVALID_L },
128
- {"query method invalid" , ARC_SIGERROR_INVALID_Q },
129
- {"query option invalid" , ARC_SIGERROR_INVALID_QO },
130
- {"domain tag missing" , ARC_SIGERROR_MISSING_D },
131
- {"domain tag empty" , ARC_SIGERROR_EMPTY_D },
132
- {"selector tag missing" , ARC_SIGERROR_MISSING_S },
133
- {"selector tag empty" , ARC_SIGERROR_EMPTY_S },
134
- {"signature data missing" , ARC_SIGERROR_MISSING_B },
135
- {"signature data empty" , ARC_SIGERROR_EMPTY_B },
136
- {"signature data corrupt" , ARC_SIGERROR_CORRUPT_B },
137
- {"key not found in DNS" , ARC_SIGERROR_NOKEY },
138
- {"key DNS reply corrupt" , ARC_SIGERROR_DNSSYNTAX },
139
- {"key DNS query failed" , ARC_SIGERROR_KEYFAIL },
140
- {"body hash missing" , ARC_SIGERROR_MISSING_BH },
141
- {"body hash empty" , ARC_SIGERROR_EMPTY_BH },
142
- {"body hash corrupt" , ARC_SIGERROR_CORRUPT_BH },
143
- {"signature verification failed" , ARC_SIGERROR_BADSIG },
144
- {"unauthorized subdomain" , ARC_SIGERROR_SUBDOMAIN },
145
- {"multiple keys found" , ARC_SIGERROR_MULTIREPLY },
146
- {"header list tag empty" , ARC_SIGERROR_EMPTY_H },
147
- {"header list missing required entries" , ARC_SIGERROR_INVALID_H },
148
- {"length tag value exceeds body size" , ARC_SIGERROR_TOOLARGE_L },
149
- {"unprotected header field" , ARC_SIGERROR_MBSFAILED },
150
- {"unknown key version" , ARC_SIGERROR_KEYVERSION },
151
- {"unknown key hash" , ARC_SIGERROR_KEYUNKNOWNHASH },
152
- {"signature-key hash mismatch" , ARC_SIGERROR_KEYHASHMISMATCH },
153
- {"not an e-mail key" , ARC_SIGERROR_NOTEMAILKEY },
154
- {"key type missing" , ARC_SIGERROR_KEYTYPEMISSING },
155
- {"unknown key type" , ARC_SIGERROR_KEYTYPEUNKNOWN },
156
- {"key revoked" , ARC_SIGERROR_KEYREVOKED },
157
- {"unable to apply public key" , ARC_SIGERROR_KEYDECODE },
158
- {"version missing" , ARC_SIGERROR_MISSING_V },
159
- {"version empty" , ARC_SIGERROR_EMPTY_V },
160
- {"signing key too small" , ARC_SIGERROR_KEYTOOSMALL },
161
- {"duplicate instance" , ARC_SIGERROR_DUPINSTANCE },
162
- {NULL , -1 },
163
- };
164
- struct nametable * sigerrors = prv_sigerrors ;
0 commit comments