aboutsummaryrefslogtreecommitdiffstats
path: root/g10/encr-data.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--g10/encr-data.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/g10/encr-data.c b/g10/encr-data.c
index c18a397bd..5061622da 100644
--- a/g10/encr-data.c
+++ b/g10/encr-data.c
@@ -45,7 +45,7 @@ typedef struct {
* Decrypt the data, specified by ED with the key DEK.
*/
int
-decrypt_data( PKT_encrypted *ed, DEK *dek )
+decrypt_data( void *procctx, PKT_encrypted *ed, DEK *dek )
{
decode_filter_ctx_t dfx;
byte *p;
@@ -105,7 +105,7 @@ decrypt_data( PKT_encrypted *ed, DEK *dek )
return G10ERR_BAD_KEY;
}
iobuf_push_filter( ed->buf, decode_filter, &dfx );
- proc_packets(ed->buf);
+ proc_packets( procctx, ed->buf);
ed->buf = NULL;
cipher_close(dfx.cipher_hd);
return 0;