aboutsummaryrefslogtreecommitdiff
path: root/src/namestore/test_namestore_api_remove_not_existing_record.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/namestore/test_namestore_api_remove_not_existing_record.c')
-rw-r--r--src/namestore/test_namestore_api_remove_not_existing_record.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/namestore/test_namestore_api_remove_not_existing_record.c b/src/namestore/test_namestore_api_remove_not_existing_record.c
index a85bc8c05..6247ff346 100644
--- a/src/namestore/test_namestore_api_remove_not_existing_record.c
+++ b/src/namestore/test_namestore_api_remove_not_existing_record.c
@@ -158,7 +158,7 @@ create_record (unsigned int count)
158 rd = GNUNET_malloc (count * sizeof (struct GNUNET_NAMESTORE_RecordData)); 158 rd = GNUNET_malloc (count * sizeof (struct GNUNET_NAMESTORE_RecordData));
159 for (c = 0; c < count; c++) 159 for (c = 0; c < count; c++)
160 { 160 {
161 rd[c].expiration_time = GNUNET_TIME_absolute_get().abs_value; 161 rd[c].expiration_time = GNUNET_TIME_absolute_get().abs_value_us;
162 rd[c].record_type = TEST_RECORD_TYPE; 162 rd[c].record_type = TEST_RECORD_TYPE;
163 rd[c].data_size = TEST_RECORD_DATALEN; 163 rd[c].data_size = TEST_RECORD_DATALEN;
164 rd[c].data = GNUNET_malloc(TEST_RECORD_DATALEN); 164 rd[c].data = GNUNET_malloc(TEST_RECORD_DATALEN);
@@ -198,7 +198,7 @@ run (void *cls,
198 GNUNET_NAMESTORE_records_serialize(RECORDS, s_rd, rd_ser_len, rd_ser); 198 GNUNET_NAMESTORE_records_serialize(RECORDS, s_rd, rd_ser_len, rd_ser);
199 199
200 /* sign */ 200 /* sign */
201 et.abs_value = s_rd[0].expiration_time; 201 et.abs_value_us = s_rd[0].expiration_time;
202 s_signature = GNUNET_NAMESTORE_create_signature(privkey, et, s_name, s_rd, RECORDS); 202 s_signature = GNUNET_NAMESTORE_create_signature(privkey, et, s_name, s_rd, RECORDS);
203 203
204 /* create random zone hash */ 204 /* create random zone hash */