summaryrefslogtreecommitdiff
path: root/trust/tests/test-index.c
Commit message (Collapse)AuthorAgeFilesLines
* Separate library init from message codeStef Walter2013-04-031-2/+1
| | | | | | | | | | | Put library init/uninit code its into their own statically linked library so that they don't get linked into the p11-kit executable. Refactor the message code so that the library initialization can plug in its per thread message buffer. https://bugs.freedesktop.org/show_bug.cgi?id=63046
* Fix memory leaks reported by 'make leakcheck'Stef Walter2013-03-201-0/+5
|
* Fix invalid memory accesses reported by 'make memcheck'Stef Walter2013-03-201-0/+2
| | | | These are things that showed up in valgrind while running the tests.
* trust: Rework index to be faster and more usableStef Walter2013-03-201-18/+18
| | | | | | | | | The index now uses a sort of cross between a hash table and a bloom filter internally to select matching items. This is needed for the massive amount of lookups we want to do during loading. In addition make p11_index_find() and p11_index_replace() easier to use.
* trust: Refactor to include concept of the indexStef Walter2013-03-151-0/+1063
* The index holds PKCS#11 objects whether for the token or for the session. * The index provides hook for a builder to expand or validate objects being added to the index. * In addition theres a change hook so that a builder can maintain state between objects, such as the compat NSS trust objects. https://bugs.freedesktop.org/show_bug.cgi?id=62329