aboutsummaryrefslogtreecommitdiff
path: root/src/util
diff options
context:
space:
mode:
Diffstat (limited to 'src/util')
-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[])
183{ 183{
184 int failureCount = 0; 184 int failureCount = 0;
185 185
186 if (!gcry_check_version ("1.5.0"))
187 {
188 FPRINTF (stderr,
189 _
190 ("libgcrypt has not the expected version (version %s is required).\n"),
191 "1.5.0");
192 return 0;
193 }
186 GNUNET_log_setup ("test-crypto-ecc", "WARNING", NULL); 194 GNUNET_log_setup ("test-crypto-ecc", "WARNING", NULL);
187 GNUNET_CRYPTO_random_disable_entropy_gathering (); 195 GNUNET_CRYPTO_random_disable_entropy_gathering ();
188 if (GNUNET_OK != testCreateFromFile ()) 196 if (GNUNET_OK != testCreateFromFile ())