Adding Content Lifetime
diff --git a/nlsr_km.c b/nlsr_km.c
index 2e90e79..b8b56d6 100644
--- a/nlsr_km.c
+++ b/nlsr_km.c
@@ -118,14 +118,14 @@
ccn_charbuf_append_closer(sp.template_ccnb); // KeyName closer
ccn_charbuf_append_closer(sp.template_ccnb); // KeyLocator closer
- ccnb_tagged_putf(sp.template_ccnb, CCN_DTAG_FreshnessSeconds, "%ld", freshness);
- sp.sp_flags |= CCN_SP_TEMPL_FRESHNESS;
+ //ccnb_tagged_putf(sp.template_ccnb, CCN_DTAG_FreshnessSeconds, "%ld", freshness);
+ //sp.sp_flags |= CCN_SP_TEMPL_FRESHNESS;
ccn_charbuf_append_closer(sp.template_ccnb); // SignedInfo closer
sp.sp_flags |= CCN_SP_TEMPL_KEY_LOCATOR;
sp.sp_flags |= CCN_SP_FINAL_BLOCK;
- //sp.freshness = 60;
+ sp.freshness = freshness;
if (pubid_out->length != sizeof(sp.pubid)){