summaryrefslogtreecommitdiff
path: root/common/mock.c
Commit message (Collapse)AuthorAgeFilesLines
* Separate library init from message codeStef Walter2013-04-031-1/+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-1/+3
|
* Refine looking up of attributes in arraysStef Walter2013-03-181-31/+13
| | | | | | | | There was a class of bugs for looking up invalid or empty attributes in the internal PKCS#11 attribute arrays. * Refine what p11_attrs_find_valid() treats as valid * Rename p11_attrs_is_empty() to p11_attrs_terminator() for clarity
* Add public iterator API to p11-kitStef Walter2013-02-051-8/+105
|
* Add more mock-module implementationStef Walter2013-02-041-0/+3117
* Move mock code into the common/ directory to be used by multiple components of p11-kit