summaryrefslogtreecommitdiff
path: root/p11-kit/tests/test-managed.c
Commit message (Collapse)AuthorAgeFilesLines
* p11-kit: Handle managed modules correctly when forkingStef Walter2014-07-041-0/+47
| | | | | | | | Correctly allow reinitialization when a process forks. We don't yet implement checks on all entry points of a managed module, but this allows callers to call C_Initialize again after forking, as outlined by the PKCS#11 v2 spec.
* Our own unit testing frameworkStef Walter2013-05-211-55/+42
| | | | | | | | * Support the TAP protocol * Much cleaner without having to carry around state * First class support for setup/teardown * Port the common tests * Wait on porting other tests until we've merged outstanding code
* Manage C_CloseAllSessions function for multiple callersStef Walter2013-05-211-2/+62
| | | | | | Make C_CloseAllSessions work for different callers. Track the sessions that each caller opens and close just those when C_CloseAllSessiosn is called.
* p11-kit: Managed PKCS#11 module loadingStef Walter2013-05-211-0/+168
Support a new managed style module loading for PKCS#11 modules. This allows us to better coordinate between multiple callers of the same PKCS#11 modules and provide hooks into their behavior. This meant redoing the public facing API. The old methods are now deprecated, marked and documented as such.