aboutsummaryrefslogtreecommitdiffstats
path: root/g10/sign.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--g10/sign.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/g10/sign.c b/g10/sign.c
index 814f3816d..c65b8275e 100644
--- a/g10/sign.c
+++ b/g10/sign.c
@@ -808,6 +808,8 @@ sign_file( STRLIST filenames, int detached, STRLIST locusr,
}
mfx.md = md_open(0, 0);
+ if (DBG_HASHING)
+ md_start_debug (mfx.md, "sign");
/* If we're encrypting and signing, it is reasonable to pick the
hash algorithm to use out of the recepient key prefs. */
@@ -1217,6 +1219,8 @@ sign_symencrypt_file (const char *fname, STRLIST locusr)
if (opt.textmode)
iobuf_push_filter (inp, text_filter, &tfx);
mfx.md = md_open(0, 0);
+ if ( DBG_HASHING )
+ md_start_debug (mfx.md, "symc-sign");
for (sk_rover = sk_list; sk_rover; sk_rover = sk_rover->next) {
PKT_secret_key *sk = sk_rover->sk;