From bfbd80feb95fba36292cd9dab43016f17b1e6972 Mon Sep 17 00:00:00 2001 From: Werner Koch Date: Fri, 1 Oct 2010 20:33:53 +0000 Subject: Exporting secret keys via gpg-agent is now basically supported. A couple of forward ported changes. Doc updates. --- g10/decrypt-data.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'g10/decrypt-data.c') diff --git a/g10/decrypt-data.c b/g10/decrypt-data.c index c9da9be97..3779f6a92 100644 --- a/g10/decrypt-data.c +++ b/g10/decrypt-data.c @@ -74,7 +74,7 @@ release_dfx_context (decode_filter_ctx_t dfx) * Decrypt the data, specified by ED with the key DEK. */ int -decrypt_data( void *procctx, PKT_encrypted *ed, DEK *dek ) +decrypt_data (ctrl_t ctrl, void *procctx, PKT_encrypted *ed, DEK *dek) { decode_filter_ctx_t dfx; byte *p; @@ -191,7 +191,7 @@ decrypt_data( void *procctx, PKT_encrypted *ed, DEK *dek ) else iobuf_push_filter ( ed->buf, decode_filter, dfx ); - proc_packets ( procctx, ed->buf ); + proc_packets (ctrl, procctx, ed->buf ); ed->buf = NULL; if (dfx->eof_seen > 1 ) rc = gpg_error (GPG_ERR_INV_PACKET); -- cgit v1.2.3