From 1f083a4593b1f07dcf24549853963dedde7f4d02 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Tue, 5 Jun 2018 00:37:06 +0200 Subject: use real GNS record types in tests to avoid failures in new extra serialization/deserialization checking --- src/gnsrecord/test_gnsrecord_crypto.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/gnsrecord/test_gnsrecord_crypto.c') diff --git a/src/gnsrecord/test_gnsrecord_crypto.c b/src/gnsrecord/test_gnsrecord_crypto.c index 9ba303e66..9dd09c0bf 100644 --- a/src/gnsrecord/test_gnsrecord_crypto.c +++ b/src/gnsrecord/test_gnsrecord_crypto.c @@ -23,11 +23,12 @@ */ #include "platform.h" #include "gnunet_util_lib.h" +#include "gnunet_dnsparser_lib.h" #include "gnunet_gnsrecord_lib.h" #define RECORDS 5 -#define TEST_RECORD_TYPE 1234 +#define TEST_RECORD_TYPE GNUNET_DNSPARSER_TYPE_TXT #define TEST_RECORD_DATALEN 123 -- cgit v1.2.3