diff options
Diffstat (limited to 'src/util/test_crypto_ecdhe.c')
-rw-r--r-- | src/util/test_crypto_ecdhe.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/util/test_crypto_ecdhe.c b/src/util/test_crypto_ecdhe.c index a6f96d9f1..dd017897e 100644 --- a/src/util/test_crypto_ecdhe.c +++ b/src/util/test_crypto_ecdhe.c | |||
@@ -38,14 +38,16 @@ main (int argc, char *argv[]) | |||
38 | struct GNUNET_HashCode ecdh1; | 38 | struct GNUNET_HashCode ecdh1; |
39 | struct GNUNET_HashCode ecdh2; | 39 | struct GNUNET_HashCode ecdh2; |
40 | 40 | ||
41 | if (! gcry_check_version ("1.5.0")) | 41 | if (! gcry_check_version ("1.6.0")) |
42 | { | 42 | { |
43 | FPRINTF (stderr, | 43 | FPRINTF (stderr, |
44 | _ | 44 | _ |
45 | ("libgcrypt has not the expected version (version %s is required).\n"), | 45 | ("libgcrypt has not the expected version (version %s is required).\n"), |
46 | "1.5.0"); | 46 | "1.6.0"); |
47 | return 0; | 47 | return 0; |
48 | } | 48 | } |
49 | if (getenv ("GNUNET_GCRYPT_DEBUG")) | ||
50 | gcry_control (GCRYCTL_SET_DEBUG_FLAGS, 1u , 0); | ||
49 | GNUNET_log_setup ("test-crypto-ecdhe", "WARNING", NULL); | 51 | GNUNET_log_setup ("test-crypto-ecdhe", "WARNING", NULL); |
50 | 52 | ||
51 | priv1 = GNUNET_CRYPTO_ecdhe_key_create (); | 53 | priv1 = GNUNET_CRYPTO_ecdhe_key_create (); |