ported most of the libstrongswan chunk_t macros to pluto

This commit is contained in:
Andreas Steffen
2009-04-17 16:11:33 +00:00
parent c04e75487f
commit 9b91b81870
27 changed files with 273 additions and 250 deletions
+1 -1
View File
@@ -258,7 +258,7 @@ add_ietfAttr(ietfAttr_t *attr)
ietfAttrList_t *el = malloc_thing(ietfAttrList_t);
/* new attribute, unshare value */
attr->value.ptr = clone_bytes(attr->value.ptr, attr->value.len);
attr->value = chunk_clone(attr->value);
attr->count = 1;
time(&attr->installed);