chunk_map: Store key, value pair in entry_t struct
authorReto Buerki <reet@codelabs.ch>
Fri, 7 Sep 2012 13:44:37 +0000 (15:44 +0200)
committerTobias Brunner <tobias@strongswan.org>
Tue, 19 Mar 2013 14:23:47 +0000 (15:23 +0100)
commit8f1dfb3d9ea7f3170f62e1bafa17992fcff4fb29
treeeb8531ae33778bf32a0dfe0cca3b70cf7da6e59a
parent39727696904fafbda04fbc02ccd058b12ec2a99a
chunk_map: Store key, value pair in entry_t struct

To make the chunk map more robust it now stores a clone of the data
chunk given on insertion. The entry struct is needed to properly free
the allocated chunk after use.
src/charon-tkm/src/tkm/tkm_chunk_map.c