mirror of
git://git.gnupg.org/gnupg.git
synced 2025-01-02 12:01:32 +01:00
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@gnupg.org>
This commit is contained in:
parent
7aeac20f12
commit
7c91b48f0e
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user