summaryrefslogtreecommitdiff
path: root/src/util/test_crypto_ecc.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/util/test_crypto_ecc.c')
-rw-r--r--src/util/test_crypto_ecc.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/util/test_crypto_ecc.c b/src/util/test_crypto_ecc.c
index 44ece1658..14794a34d 100644
--- a/src/util/test_crypto_ecc.c
+++ b/src/util/test_crypto_ecc.c
@@ -183,6 +183,14 @@ main (int argc, char *argv[])
{
int failureCount = 0;
+ if (!gcry_check_version ("1.5.0"))
+ {
+ FPRINTF (stderr,
+ _
+ ("libgcrypt has not the expected version (version %s is required).\n"),
+ "1.5.0");
+ return 0;
+ }
GNUNET_log_setup ("test-crypto-ecc", "WARNING", NULL);
GNUNET_CRYPTO_random_disable_entropy_gathering ();
if (GNUNET_OK != testCreateFromFile ())