mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-14 21:47:19 +02:00
Require Libgcrypt 1.9
* configure.ac: Require at least Libgcrypt 1.9.0. Remove all GCRYPT_VERSION_NUMBER dependent code. -- Only Libgcrypt 1.9 implements EAX which is a mandatory algorithm in RFC4880bis. Signed-off-by: Werner Koch <wk@gnupg.org>
This commit is contained in:
parent
93d5d7ea2a
commit
9500432b7a
11 changed files with 24 additions and 63 deletions
|
@ -499,7 +499,6 @@ gnupg_rng_is_compliant (enum gnupg_compliance_mode compliance)
|
|||
/* In DE_VS mode under Windows we require that the JENT RNG
|
||||
* is active. */
|
||||
#ifdef HAVE_W32_SYSTEM
|
||||
# if GCRYPT_VERSION_NUMBER >= 0x010800
|
||||
char *buf;
|
||||
const char *fields[5];
|
||||
|
||||
|
@ -511,9 +510,6 @@ gnupg_rng_is_compliant (enum gnupg_compliance_mode compliance)
|
|||
else
|
||||
result = 0;
|
||||
gcry_free (buf);
|
||||
# else
|
||||
result = 0; /* No JENT - can't be compliant. */
|
||||
# endif
|
||||
#else /*!HAVE_W32_SYSTEM*/
|
||||
result = 1; /* Not Windows - RNG is good. */
|
||||
#endif /*!HAVE_W32_SYSTEM*/
|
||||
|
|
|
@ -871,9 +871,7 @@ hash_algo_to_string (int algo)
|
|||
{ "md4", GCRY_MD_MD4 },
|
||||
{ "tiger", GCRY_MD_TIGER },
|
||||
{ "haval", GCRY_MD_HAVAL },
|
||||
#if GCRYPT_VERSION_NUMBER >= 0x010900
|
||||
{ "sm3", GCRY_MD_SM3 },
|
||||
#endif
|
||||
{ "md5", GCRY_MD_MD5 }
|
||||
};
|
||||
int i;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue