summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2012-10-31 21:48:25 +0000
committerChristian Grothoff <christian@grothoff.org>2012-10-31 21:48:25 +0000
commit79abc532732c59c3c1b38cb87a397b2b0ac2a92f (patch)
tree4747303c3f0c013b56bfd5b2168e277bbf9e88ec
parent8df95b854d763559f2b06e3a6c3cb143723facc6 (diff)
-need 1.5.0 for ecc
-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 ())