mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-03 22:56:33 +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*/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue