diff options
author | Werner Koch <[email protected]> | 2011-09-20 07:54:27 +0000 |
---|---|---|
committer | Werner Koch <[email protected]> | 2011-09-20 07:54:27 +0000 |
commit | 7c000f18de5e7f94adc1364a2a56c99cfb23d8f8 (patch) | |
tree | 2e4ed8a7c8f7baa04087b9e4c247306f3eea3342 /g10/sign.c | |
parent | Allow no protection in pinentry-mode=loopback. (diff) | |
download | gnupg-7c000f18de5e7f94adc1364a2a56c99cfb23d8f8.tar.gz gnupg-7c000f18de5e7f94adc1364a2a56c99cfb23d8f8.zip |
Replace gcry_md_start_debug by gcry_md_debug.
This is to allow building with Libgcrypt master (1.6) which has some
cleanups in the API/ABI.
Diffstat (limited to 'g10/sign.c')
-rw-r--r-- | g10/sign.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/g10/sign.c b/g10/sign.c index a768ac9e5..4cc813c46 100644 --- a/g10/sign.c +++ b/g10/sign.c @@ -877,7 +877,7 @@ sign_file (ctrl_t ctrl, strlist_t filenames, int detached, strlist_t locusr, if ( gcry_md_open (&mfx.md, 0, 0) ) BUG (); if (DBG_HASHING) - gcry_md_start_debug (mfx.md, "sign"); + gcry_md_debug (mfx.md, "sign"); /* If we're encrypting and signing, it is reasonable to pick the hash algorithm to use out of the recipient key prefs. This is @@ -1231,7 +1231,7 @@ clearsign_file( const char *fname, strlist_t locusr, const char *outfile ) gcry_md_enable (textmd, hash_for(sk_rover->pk)); if ( DBG_HASHING ) - gcry_md_start_debug ( textmd, "clearsign" ); + gcry_md_debug ( textmd, "clearsign" ); copy_clearsig_text( out, inp, textmd, !opt.not_dash_escaped, opt.escape_from, (old_style && only_md5) ); @@ -1356,7 +1356,7 @@ sign_symencrypt_file (const char *fname, strlist_t locusr) if ( gcry_md_open (&mfx.md, 0, 0) ) BUG (); if ( DBG_HASHING ) - gcry_md_start_debug (mfx.md, "symc-sign"); + gcry_md_debug (mfx.md, "symc-sign"); for (sk_rover = sk_list; sk_rover; sk_rover = sk_rover->next) gcry_md_enable (mfx.md, hash_for (sk_rover->pk)); |