diff options
author | Christian Grothoff <christian@grothoff.org> | 2012-10-31 21:48:25 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2012-10-31 21:48:25 +0000 |
commit | 79abc532732c59c3c1b38cb87a397b2b0ac2a92f (patch) | |
tree | 4747303c3f0c013b56bfd5b2168e277bbf9e88ec /src/util/test_crypto_ecc.c | |
parent | 8df95b854d763559f2b06e3a6c3cb143723facc6 (diff) | |
download | gnunet-79abc532732c59c3c1b38cb87a397b2b0ac2a92f.tar.gz gnunet-79abc532732c59c3c1b38cb87a397b2b0ac2a92f.zip |
-need 1.5.0 for ecc
Diffstat (limited to 'src/util/test_crypto_ecc.c')
-rw-r--r-- | src/util/test_crypto_ecc.c | 8 |
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 ()) |