summaryrefslogtreecommitdiffabout
path: root/src/verify.c
Unidiff
Diffstat (limited to 'src/verify.c') (more/less context) (ignore whitespace changes)
-rw-r--r--src/verify.c11
1 files changed, 7 insertions, 4 deletions
diff --git a/src/verify.c b/src/verify.c
index 7520466..01c61ea 100644
--- a/src/verify.c
+++ b/src/verify.c
@@ -193,15 +193,18 @@ uploader_find_frp (struct uploader_info *list, const char *fpr)
193} 193}
194 194
195int 195int
196verify_directive_file (struct file_triplet *trp, const struct spool *spool) 196verify_directive_file (struct file_triplet *trp)
197{ 197{
198 char *command; 198 char *command;
199 struct dictionary *dict = spool->dictionary[project_uploader_dict];
200 int rc; 199 int rc;
201 void *md; 200 void *md;
202
203 size_t nrows, ncols, i; 201 size_t nrows, ncols, i;
204 struct uploader_info *head, *tail; 202 struct uploader_info *head, *tail;
203 const struct spool *spool;
204 struct dictionary *dict;
205
206 ASGN_SPOOL (spool, trp, return 1);
207 dict = spool->dictionary[project_uploader_dict];
205 208
206 if (!trp->file[file_directive].name) 209 if (!trp->file[file_directive].name)
207 return 1; 210 return 1;
@@ -301,7 +304,7 @@ verify_directive_file (struct file_triplet *trp, const struct spool *spool)
301 trp->uploader_list = head; 304 trp->uploader_list = head;
302 trp->uploader = NULL; 305 trp->uploader = NULL;
303 306
304 if (verify_directive_signature (trp, spool)) 307 if (verify_directive_signature (trp))
305 { 308 {
306 /*FIXME: Update stats */ 309 /*FIXME: Update stats */
307 logmsg (LOG_ERR, _("invalid signature for %s"), 310 logmsg (LOG_ERR, _("invalid signature for %s"),

Return to:

Send suggestions and report system problems to the System administrator.