]> git.ipfire.org Git - thirdparty/strongswan.git/commit
hashtable: Store items in buckets in insertion order
authorTobias Brunner <tobias@strongswan.org>
Fri, 24 Apr 2020 06:30:03 +0000 (08:30 +0200)
committerTobias Brunner <tobias@strongswan.org>
Mon, 20 Jul 2020 11:50:11 +0000 (13:50 +0200)
commitc66c850fc0e2c6b3c6ba5f13add8a9dda1b8efca
tree289b86dbe343e22748414332e1276870f610acf8
parent54a2b35f0796e7924efd7dc11fa25d1d260021da
hashtable: Store items in buckets in insertion order

This is more predictable when using get_match() in particular because
the order does not change anymore when the table is rehashed.
src/libstrongswan/collections/hashtable.c
src/libstrongswan/tests/suites/test_hashtable.c