[Pkg-gnupg-commit] [gnupg2] 49/185: common: Fix -Wswitch warning.
Daniel Kahn Gillmor
dkg at fifthhorseman.net
Mon Aug 7 11:55:19 UTC 2017
This is an automated email from the git hooks/post-receive script.
dkg pushed a commit to branch experimental
in repository gnupg2.
commit 7c91b48f0e80266cf7491c2bb7d8aabc12362643
Author: Werner Koch <wk at gnupg.org>
Date: Tue Jun 13 09:01:24 2017 +0200
common: Fix -Wswitch warning.
* common/compliance.c (gnupg_digest_is_allowed): Don't include
GCRY_MD_WHIRLPOOL because it is not a digest_algo_t.
--
Note that Whirlpool is not used anywhere in gpg or gpgsm.
Signed-off-by: Werner Koch <wk at gnupg.org>
---
common/compliance.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/common/compliance.c b/common/compliance.c
index 4078004..b19112c 100644
--- a/common/compliance.c
+++ b/common/compliance.c
@@ -432,7 +432,6 @@ gnupg_digest_is_allowed (enum gnupg_compliance_mode compliance, int producer,
case DIGEST_ALGO_RMD160:
return ! producer;
case DIGEST_ALGO_MD5:
- case GCRY_MD_WHIRLPOOL:
return ! producer && module == GNUPG_MODULE_NAME_GPGSM;
default:
return 0;
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-gnupg/gnupg2.git
More information about the Pkg-gnupg-commit
mailing list