Adding Content Lifetime
diff --git a/nlsr_km.c b/nlsr_km.c
index e48f7d7..9c93872 100644
--- a/nlsr_km.c
+++ b/nlsr_km.c
@@ -117,20 +117,12 @@
ccn_charbuf_append(sp.template_ccnb, keyname->buf, keyname->length);
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;
-
ccn_charbuf_append_closer(sp.template_ccnb); // SignedInfo closer
- ccn_charbuf_append_tt(sp.template_ccnb, CCN_DTAG_SignedInfo, CCN_DTAG);
- 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);
sp.sp_flags |= CCN_SP_TEMPL_KEY_LOCATOR;
sp.sp_flags |= CCN_SP_FINAL_BLOCK;
- //sp.freshness = freshness;
+ sp.freshness = freshness;
if (pubid_out->length != sizeof(sp.pubid)){