diff options
Diffstat (limited to 'src/verify.c')
-rw-r--r-- | src/verify.c | 11 |
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 @@ -194,13 +194,16 @@ uploader_find_frp (struct uploader_info *list, const char *fpr) int -verify_directive_file (struct file_triplet *trp, const struct spool *spool) +verify_directive_file (struct file_triplet *trp) { char *command; - struct dictionary *dict = spool->dictionary[project_uploader_dict]; int rc; void *md; - size_t nrows, ncols, i; struct uploader_info *head, *tail; + const struct spool *spool; + struct dictionary *dict; + + ASGN_SPOOL (spool, trp, return 1); + dict = spool->dictionary[project_uploader_dict]; if (!trp->file[file_directive].name) @@ -302,5 +305,5 @@ verify_directive_file (struct file_triplet *trp, const struct spool *spool) trp->uploader = NULL; - if (verify_directive_signature (trp, spool)) + if (verify_directive_signature (trp)) { /*FIXME: Update stats */ |