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, 2 insertions, 1 deletions
diff --git a/g10/encr-data.c b/g10/encr-data.c
index 1ee2bbed8..5e1fdabed 100644
--- a/g10/encr-data.c
+++ b/g10/encr-data.c
@@ -78,7 +78,8 @@ decrypt_data( void *procctx, PKT_encrypted *ed, DEK *dek )
if( ed->mdc_method ) {
dfx.mdc_hash = md_open( ed->mdc_method, 0 );
- /*md_start_debug(dfx.mdc_hash, "checkmdc");*/
+ if ( DBG_HASHING )
+ md_start_debug(dfx.mdc_hash, "checkmdc");
}
dfx.cipher_hd = cipher_open( dek->algo,
ed->mdc_method? CIPHER_MODE_CFB