diff options
Diffstat (limited to 'g10/cipher.c')
-rw-r--r-- | g10/cipher.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/g10/cipher.c b/g10/cipher.c index e2972297d..c45fa1e70 100644 --- a/g10/cipher.c +++ b/g10/cipher.c @@ -63,7 +63,8 @@ write_header( cipher_filter_context_t *cfx, IOBUF a ) if( use_mdc ) { ed.mdc_method = DIGEST_ALGO_SHA1; cfx->mdc_hash = md_open( DIGEST_ALGO_SHA1, 0 ); - /*md_start_debug( cfx->mdc_hash, "creatmdc" );*/ + if ( DBG_HASHING ) + md_start_debug( cfx->mdc_hash, "creatmdc" ); } init_packet( &pkt ); pkt.pkttype = use_mdc? PKT_ENCRYPTED_MDC : PKT_ENCRYPTED; |