diff options
author | Matthias Wachs <wachs@net.in.tum.de> | 2012-03-09 14:14:01 +0000 |
---|---|---|
committer | Matthias Wachs <wachs@net.in.tum.de> | 2012-03-09 14:14:01 +0000 |
commit | 5e828dc0248330d772913795257b3fda14fe9552 (patch) | |
tree | 362ecdb95dcb89c56a7f20d31b06efa7351fe8ba /src/namestore/test_namestore_api_zone_to_name.c | |
parent | 780fdda9a42441ecf36482461ebd35e4ec5c7510 (diff) | |
download | gnunet-5e828dc0248330d772913795257b3fda14fe9552.tar.gz gnunet-5e828dc0248330d772913795257b3fda14fe9552.zip |
- changes to signing verfifying: includes block expiration
Diffstat (limited to 'src/namestore/test_namestore_api_zone_to_name.c')
-rw-r--r-- | src/namestore/test_namestore_api_zone_to_name.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/namestore/test_namestore_api_zone_to_name.c b/src/namestore/test_namestore_api_zone_to_name.c index 498b1197d..ba15389f0 100644 --- a/src/namestore/test_namestore_api_zone_to_name.c +++ b/src/namestore/test_namestore_api_zone_to_name.c | |||
@@ -247,7 +247,7 @@ run (void *cls, char *const *args, const char *cfgfile, | |||
247 | GNUNET_break (NULL != nsh); | 247 | GNUNET_break (NULL != nsh); |
248 | 248 | ||
249 | expire = GNUNET_TIME_absolute_get (); | 249 | expire = GNUNET_TIME_absolute_get (); |
250 | s_signature = GNUNET_NAMESTORE_create_signature(privkey, s_name, &rd, 1); | 250 | s_signature = GNUNET_NAMESTORE_create_signature(privkey, rd.expiration, s_name, &rd, 1); |
251 | GNUNET_NAMESTORE_record_put(nsh, &pubkey, s_name, expire, 1, &rd, s_signature, put_cont, NULL); | 251 | GNUNET_NAMESTORE_record_put(nsh, &pubkey, s_name, expire, 1, &rd, s_signature, put_cont, NULL); |
252 | 252 | ||
253 | GNUNET_free ((void *) rd.data); | 253 | GNUNET_free ((void *) rd.data); |