summaryrefslogtreecommitdiffstats
path: root/g10/mainproc.c
diff options
context:
space:
mode:
authorWerner Koch <wk@gnupg.org>2011-09-20 09:54:27 +0200
committerWerner Koch <wk@gnupg.org>2011-09-20 09:54:27 +0200
commit7c000f18de5e7f94adc1364a2a56c99cfb23d8f8 (patch)
tree2e4ed8a7c8f7baa04087b9e4c247306f3eea3342 /g10/mainproc.c
parentAllow no protection in pinentry-mode=loopback. (diff)
downloadgnupg2-7c000f18de5e7f94adc1364a2a56c99cfb23d8f8.tar.xz
gnupg2-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/mainproc.c')
-rw-r--r--g10/mainproc.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/g10/mainproc.c b/g10/mainproc.c
index 2ad941603..ca8b4466a 100644
--- a/g10/mainproc.c
+++ b/g10/mainproc.c
@@ -709,9 +709,9 @@ proc_plaintext( CTX c, PACKET *pkt )
BUG ();
}
if ( DBG_HASHING ) {
- gcry_md_start_debug ( c->mfx.md, "verify" );
+ gcry_md_debug ( c->mfx.md, "verify" );
if ( c->mfx.md2 )
- gcry_md_start_debug ( c->mfx.md2, "verify2" );
+ gcry_md_debug ( c->mfx.md2, "verify2" );
}
rc=0;
@@ -2164,9 +2164,9 @@ proc_tree( CTX c, KBNODE node )
/* c->mfx.md2? 0 :(sig->sig_class == 0x01) */
#endif
if ( DBG_HASHING ) {
- gcry_md_start_debug( c->mfx.md, "verify" );
+ gcry_md_debug( c->mfx.md, "verify" );
if ( c->mfx.md2 )
- gcry_md_start_debug( c->mfx.md2, "verify2" );
+ gcry_md_debug( c->mfx.md2, "verify2" );
}
if( c->sigs_only ) {
if (c->signed_data.used && c->signed_data.data_fd != -1)