aboutsummaryrefslogtreecommitdiffstats
path: root/g10/misc.c
diff options
context:
space:
mode:
Diffstat (limited to 'g10/misc.c')
-rw-r--r--g10/misc.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/g10/misc.c b/g10/misc.c
index 76faa49f6..320e8afbf 100644
--- a/g10/misc.c
+++ b/g10/misc.c
@@ -686,11 +686,7 @@ map_md_openpgp_to_gcry (digest_algo_t algo)
case DIGEST_ALGO_SHA224: return 0;
#endif
-#ifdef GPG_USE_SHA256
case DIGEST_ALGO_SHA256: return GCRY_MD_SHA256;
-#else
- case DIGEST_ALGO_SHA256: return 0;
-#endif
#ifdef GPG_USE_SHA384
case DIGEST_ALGO_SHA384: return GCRY_MD_SHA384;