GNUNET_CRYPTO_ecdsa_key_get_public (privkey, &pubkey);
- rd.expiration_time = GNUNET_TIME_absolute_get().abs_value_us;
+ rd.expiration_time = GNUNET_TIME_absolute_get().abs_value_us + 10000000000;
rd.record_type = TEST_RECORD_TYPE;
rd.data_size = TEST_RECORD_DATALEN;
rd.data = GNUNET_malloc (TEST_RECORD_DATALEN);
+ rd.flags = 0;
memset ((char *) rd.data, 'a', TEST_RECORD_DATALEN);
block = GNUNET_GNSRECORD_block_create (privkey,
GNUNET_TIME_UNIT_FOREVER_ABS, name, &rd, 1 );