diff options
Diffstat (limited to 'src/gpg.c')
-rw-r--r-- | src/gpg.c | 12 |
1 files changed, 6 insertions, 6 deletions
@@ -217,6 +217,4 @@ gpg_verify_signature (gpgme_ctx_t ctx, gpgme_signature_t sig, /* Verify the directive file from TRP using public key PUBKEY */ -/* FIXME: spool currently unused */ int -verify_directive_signature (struct file_triplet *trp, - const struct spool *spool) +verify_directive_signature (struct file_triplet *trp) { @@ -261,3 +259,3 @@ verify_directive_signature (struct file_triplet *trp, UPDATE_STATS (STAT_BAD_SIGNATURE); - notify (spool->notification, trp, ev_bad_directive_signature); + notify (trp->spool->notification, trp, ev_bad_directive_signature); rc = 1; @@ -285,4 +283,3 @@ verify_directive_signature (struct file_triplet *trp, int -verify_detached_signature (struct file_triplet *trp, - const struct spool *spool) +verify_detached_signature (struct file_triplet *trp) { @@ -290,2 +287,5 @@ verify_detached_signature (struct file_triplet *trp, const char *argv[5]; + const struct spool *spool; + + ASGN_SPOOL (spool, trp, return 1); |