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)
downloadlibbrandt-50c476877e2fdbf6e97259e7790b0c42e0ddd487.tar.gz
libbrandt-50c476877e2fdbf6e97259e7790b0c42e0ddd487.zip
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)
33 gcry_error_t err = 0; 33 gcry_error_t err = 0;
34 34
35 if (!gcry_check_version ("1.7.0")) 35 if (!gcry_check_version ("1.7.0"))
36 eprintf ("libgcrypt version mismatch"); 36 {
37 GNUNET_log_from (GNUNET_ERROR_TYPE_ERROR,
38 "libbrandt",
39 "libgcrypt version mismatch\n");
40 GNUNET_assert (0);
41 }
37 42
38 /* SECMEM cannot be resized dynamically. We do not know how much we need */ 43 /* SECMEM cannot be resized dynamically. We do not know how much we need */
39 if ((err = gcry_control (GCRYCTL_DISABLE_SECMEM, 0))) 44 if ((err = gcry_control (GCRYCTL_DISABLE_SECMEM, 0)))