From d1ee123b443c2de4fb6e1622068611ab631a1f27 Mon Sep 17 00:00:00 2001 From: Sergey Poznyakoff Date: Sun, 22 Feb 2009 13:37:20 +0200 Subject: Rename directory_pair to spool --- src/gpg.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src/gpg.c') diff --git a/src/gpg.c b/src/gpg.c index 327ff77..453a908 100644 --- a/src/gpg.c +++ b/src/gpg.c @@ -199,10 +199,10 @@ gpg_sig_ok_p (gpgme_ctx_t ctx, gpgme_signature_t sig) } /* Verify the directive file from TRP using public key PUBKEY */ -/* FIXME: dpair currently unused */ +/* FIXME: spool currently unused */ int verify_directive_signature (struct file_triplet *trp, - struct directory_pair *dpair, const char *pubkey) + struct spool *spool, const char *pubkey) { gpgme_ctx_t ctx; gpgme_data_t key_data, directive_data, plain; @@ -237,7 +237,7 @@ verify_directive_signature (struct file_triplet *trp, if (!gpg_sig_ok_p (ctx, result->signatures)) { UPDATE_STATS (STAT_BAD_SIGNATURE); - notify (dpair->notification, trp, ev_bad_directive_signature); + notify (spool->notification, trp, ev_bad_directive_signature); rc = 1; } } @@ -260,7 +260,7 @@ verify_directive_signature (struct file_triplet *trp, a previous call to verify_directive_signature). */ int verify_detached_signature (struct file_triplet *trp, - struct directory_pair *dpair) + struct spool *spool) { gpgme_engine_info_t info; const char *argv[5]; @@ -293,7 +293,7 @@ verify_detached_signature (struct file_triplet *trp, case exec_fail: UPDATE_STATS (STAT_BAD_SIGNATURE); logmsg (LOG_ERR, "BAD detached signature for %s", trp->name); - notify (dpair->notification, trp, ev_bad_detached_signature); + notify (spool->notification, trp, ev_bad_detached_signature); break; case exec_error: -- cgit v1.2.1