aboutsummaryrefslogtreecommitdiff
path: root/brandt.c
diff options
context:
space:
mode:
authorMarkus Teich <markus.teich@stusta.mhn.de>2016-12-02 09:43:04 +0100
committerMarkus Teich <markus.teich@stusta.mhn.de>2016-12-02 09:43:04 +0100
commit50c476877e2fdbf6e97259e7790b0c42e0ddd487 (patch)
tree6ed4e5b26d23d1d03f259bd72f02ce8737e2f4a4 /brandt.c
parent56b43dab7ff80acc4cd0e7ad3057abd5e6bad680 (diff)
migrate to GNUNET_assert
Diffstat (limited to 'brandt.c')
-rw-r--r--brandt.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/brandt.c b/brandt.c
index 86239a8..50ccb67 100644
--- a/brandt.c
+++ b/brandt.c
@@ -33,7 +33,12 @@ BRANDT_init (struct GNUNET_CRYPTO_EccDlogContext *dlogctx)
gcry_error_t err = 0;
if (!gcry_check_version ("1.7.0"))
- eprintf ("libgcrypt version mismatch");
+ {
+ GNUNET_log_from (GNUNET_ERROR_TYPE_ERROR,
+ "libbrandt",
+ "libgcrypt version mismatch\n");
+ GNUNET_assert (0);
+ }
/* SECMEM cannot be resized dynamically. We do not know how much we need */
if ((err = gcry_control (GCRYCTL_DISABLE_SECMEM, 0)))