diff options
author | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2018-11-18 14:54:10 +0100 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2018-11-18 14:54:24 +0100 |
commit | 98b33905c89b7e5c309c74ae32302a5745901a6e (patch) | |
tree | c350fb07f6c5510df3f813c83b48d422cc1159b3 /trans | |
parent | 293c60e6d56bb2244831c00cf90d8e888fb7b5f8 (diff) | |
download | hurd-98b33905c89b7e5c309c74ae32302a5745901a6e.tar.gz hurd-98b33905c89b7e5c309c74ae32302a5745901a6e.tar.bz2 hurd-98b33905c89b7e5c309c74ae32302a5745901a6e.zip |
random: Do not require the latest gcrypt version, just use a version known to work
This helps with dependency management of binary packages.
* trans/random.c (pool_initialize): Pass "1.8.0" to gcry_check_version
instead of GCRYPT_VERSION.
Diffstat (limited to 'trans')
-rw-r--r-- | trans/random.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/trans/random.c b/trans/random.c index 76b780bc..f0b99dd4 100644 --- a/trans/random.c +++ b/trans/random.c @@ -62,7 +62,7 @@ pool_initialize (void) error_t err; gcry_error_t cerr; - if (! gcry_check_version (GCRYPT_VERSION)) + if (! gcry_check_version ("1.8.0")) error (1, 0, "libgcrypt version mismatch\n"); cerr = gcry_control (GCRYCTL_INITIALIZATION_FINISHED, 0); |