aboutsummaryrefslogtreecommitdiffstats
path: root/g10/encr-data.c
diff options
context:
space:
mode:
Diffstat (limited to 'g10/encr-data.c')
-rw-r--r--g10/encr-data.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/g10/encr-data.c b/g10/encr-data.c
index 3d43c5752..1ee2bbed8 100644
--- a/g10/encr-data.c
+++ b/g10/encr-data.c
@@ -119,6 +119,9 @@ decrypt_data( void *procctx, PKT_encrypted *ed, DEK *dek )
goto leave;
}
+ if( dfx.mdc_hash )
+ md_write( dfx.mdc_hash, temp, nprefix+2 );
+
if( ed->mdc_method )
iobuf_push_filter( ed->buf, mdc_decode_filter, &dfx );
else