summaryrefslogtreecommitdiff
path: root/libdane
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@gnutls.org>2014-11-25 20:33:15 +0100
committerNikos Mavrogiannopoulos <nmav@gnutls.org>2014-11-25 20:35:16 +0100
commit844464ea28e7be41e17513e5b08c54a9d464b1ac (patch)
tree8102124dbb5430dd9a827498c66546272dd8ad67 /libdane
parent37014ffeb5298d7bb2dfafdb8ad5f376715c7227 (diff)
downloadgnutls-844464ea28e7be41e17513e5b08c54a9d464b1ac.tar.gz
libdane: undef gnutls_assert() before redefining it
Diffstat (limited to 'libdane')
-rw-r--r--libdane/dane.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/libdane/dane.c b/libdane/dane.c
index 128a2c3059..83204148a1 100644
--- a/libdane/dane.c
+++ b/libdane/dane.c
@@ -37,6 +37,10 @@
#include "../lib/gnutls_int.h"
#define MAX_DATA_ENTRIES 100
+
+#undef gnutls_assert
+#undef gnutls_assert_val
+
#ifdef DEBUG
#define gnutls_assert() fprintf(stderr, "ASSERT: %s: %d\n", __FILE__, __LINE__);
#define gnutls_assert_val(x) gnutls_assert_val_int(x, __FILE__, __LINE__)