aboutsummaryrefslogtreecommitdiffstats
path: root/g10/mainproc.c
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>1998-06-15 15:41:04 +0000
committerWerner Koch <[email protected]>1998-06-15 15:41:04 +0000
commit6e1ca6b80fb50ff5e1c065b7ac12635487b4a6d2 (patch)
tree7c4a888893a91b59753b3d89e59832f8c24ba039 /g10/mainproc.c
parentgnupg extension are now working (diff)
downloadgnupg-6e1ca6b80fb50ff5e1c065b7ac12635487b4a6d2.tar.gz
gnupg-6e1ca6b80fb50ff5e1c065b7ac12635487b4a6d2.zip
extensions are now working and fixed a lot of bugs
Diffstat (limited to '')
-rw-r--r--g10/mainproc.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/g10/mainproc.c b/g10/mainproc.c
index 707272be0..a807f85d9 100644
--- a/g10/mainproc.c
+++ b/g10/mainproc.c
@@ -246,7 +246,8 @@ proc_plaintext( CTX c, PACKET *pkt )
/*md_start_debug(c->mfx.md, "proc_plaintext");*/
md_enable( c->mfx.md, DIGEST_ALGO_SHA1 );
md_enable( c->mfx.md, DIGEST_ALGO_MD5 );
- md_enable( c->mfx.md, DIGEST_ALGO_TIGER );
+ if( !check_digest_algo(DIGEST_ALGO_TIGER) )
+ md_enable( c->mfx.md, DIGEST_ALGO_TIGER );
rc = handle_plaintext( pt, &c->mfx );
if( rc )
log_error( "handle plaintext failed: %s\n", g10_errstr(rc));