diff options
author | Christian Grothoff <christian@grothoff.org> | 2018-06-05 00:37:06 +0200 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2018-06-05 00:37:06 +0200 |
commit | 1f083a4593b1f07dcf24549853963dedde7f4d02 (patch) | |
tree | e57137969a8a0cfd5af064cd063177936c6b894a /src/gnsrecord/test_gnsrecord_crypto.c | |
parent | 324f6168c2374d7bb71c3632fb6521860d8fdfa1 (diff) | |
download | gnunet-1f083a4593b1f07dcf24549853963dedde7f4d02.tar.gz gnunet-1f083a4593b1f07dcf24549853963dedde7f4d02.zip |
use real GNS record types in tests to avoid failures in new extra serialization/deserialization checking
Diffstat (limited to 'src/gnsrecord/test_gnsrecord_crypto.c')
-rw-r--r-- | src/gnsrecord/test_gnsrecord_crypto.c | 3 |
1 files changed, 2 insertions, 1 deletions
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 @@ | |||
23 | */ | 23 | */ |
24 | #include "platform.h" | 24 | #include "platform.h" |
25 | #include "gnunet_util_lib.h" | 25 | #include "gnunet_util_lib.h" |
26 | #include "gnunet_dnsparser_lib.h" | ||
26 | #include "gnunet_gnsrecord_lib.h" | 27 | #include "gnunet_gnsrecord_lib.h" |
27 | 28 | ||
28 | #define RECORDS 5 | 29 | #define RECORDS 5 |
29 | 30 | ||
30 | #define TEST_RECORD_TYPE 1234 | 31 | #define TEST_RECORD_TYPE GNUNET_DNSPARSER_TYPE_TXT |
31 | 32 | ||
32 | #define TEST_RECORD_DATALEN 123 | 33 | #define TEST_RECORD_DATALEN 123 |
33 | 34 | ||