diff options
author | Christian Grothoff <christian@grothoff.org> | 2015-02-28 16:21:34 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2015-02-28 16:21:34 +0000 |
commit | de30f210414a1f1f296c0cfb4406b171c1fc7b62 (patch) | |
tree | 570cc93d141bb7e250c4e73fafc53eba7d6e70bc /src/util/crypto_random.c | |
parent | 652e255add3511262060f3a13517716a72e3cb52 (diff) | |
download | gnunet-de30f210414a1f1f296c0cfb4406b171c1fc7b62.tar.gz gnunet-de30f210414a1f1f296c0cfb4406b171c1fc7b62.zip |
generally use GNUNET_assert() instead of GNUNET_abort() to also log the error
Diffstat (limited to 'src/util/crypto_random.c')
-rw-r--r-- | src/util/crypto_random.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/util/crypto_random.c b/src/util/crypto_random.c index 616f5534c..2960af17e 100644 --- a/src/util/crypto_random.c +++ b/src/util/crypto_random.c | |||
@@ -283,7 +283,7 @@ GNUNET_CRYPTO_random_init () | |||
283 | FPRINTF (stderr, | 283 | FPRINTF (stderr, |
284 | _("libgcrypt has not the expected version (version %s is required).\n"), | 284 | _("libgcrypt has not the expected version (version %s is required).\n"), |
285 | NEED_LIBGCRYPT_VERSION); | 285 | NEED_LIBGCRYPT_VERSION); |
286 | GNUNET_abort (); | 286 | GNUNET_assert (0); |
287 | } | 287 | } |
288 | if ((rc = gcry_control (GCRYCTL_DISABLE_SECMEM, 0))) | 288 | if ((rc = gcry_control (GCRYCTL_DISABLE_SECMEM, 0))) |
289 | FPRINTF (stderr, | 289 | FPRINTF (stderr, |