aboutsummaryrefslogtreecommitdiff
path: root/src/vpn
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2011-10-05 08:42:12 +0000
committerChristian Grothoff <christian@grothoff.org>2011-10-05 08:42:12 +0000
commit19f38ae3d42baeb248892a781959803bc3441b74 (patch)
treed208de952910d54843e1713e40f2d68940c83e72 /src/vpn
parent2e1efb58832578c2460a5586181b0ba321a341c3 (diff)
downloadgnunet-19f38ae3d42baeb248892a781959803bc3441b74.tar.gz
gnunet-19f38ae3d42baeb248892a781959803bc3441b74.zip
pack block, use big endian for time
Diffstat (limited to 'src/vpn')
-rw-r--r--src/vpn/gnunet-service-dns.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/vpn/gnunet-service-dns.c b/src/vpn/gnunet-service-dns.c
index fc65cf608..cb018746c 100644
--- a/src/vpn/gnunet-service-dns.c
+++ b/src/vpn/gnunet-service-dns.c
@@ -1238,8 +1238,8 @@ publish_name (const char *name, uint64_t ports, uint32_t service_type,
1238 GNUNET_CRYPTO_rsa_key_get_public (my_private_key, &data.peer); 1238 GNUNET_CRYPTO_rsa_key_get_public (my_private_key, &data.peer);
1239 1239
1240 data.expiration_time = 1240 data.expiration_time =
1241 GNUNET_TIME_relative_to_absolute (GNUNET_TIME_relative_multiply 1241 GNUNET_TIME_absolute_hton (GNUNET_TIME_relative_to_absolute (GNUNET_TIME_relative_multiply
1242 (GNUNET_TIME_UNIT_HOURS, 2)); 1242 (GNUNET_TIME_UNIT_HOURS, 2)));
1243 1243
1244 /* Sign the block */ 1244 /* Sign the block */
1245 if (GNUNET_OK != 1245 if (GNUNET_OK !=