summaryrefslogtreecommitdiff
path: root/p11-kit/iter.c
Commit message (Collapse)AuthorAgeFilesLines
* Fix various issues highlighted by coverity scannerStef Walter2013-07-181-6/+6
| | | | Among others fix possible usage of large stack allocation.
* iter: Document guarantees for filter matches argumetStef Walter2013-07-181-0/+4
| | | | | | | | The matches argument is always initialized to CK_TRUE when a filter is called, and it's up to filters to set it to CK_FALSE. Filters don't need to set to CK_TRUE. https://bugzilla.redhat.com/show_bug.cgi?id=985009
* Various documentation tweaks and fixes for warningsStef Walter2013-07-101-0/+8
|
* iter: Add iteration mode where session is not busyStef Walter2013-07-031-19/+40
| | | | | | | | | | | In order to use the session we are iterating on for other tasks such as other C_FindObject() calls, we need to make sure that it's not in the middle of a find operation. Finish up the complete find operation in advance of returning objects from a session. Make this the default mode. The previous behavior remains as an option. Add tests.
* Fix memory leaks reported by 'make leakcheck'Stef Walter2013-03-201-0/+3
|
* iter: Don't skip tokens that don't have CKF_TOKEN_INITIALIZEDStef Walter2013-03-081-4/+0
| | | | | This flag is not required to be set unless C_InitToken has been called. Many modules, like libnssckbi.so, do not set this flag.
* Remove duplicate typedefStef Walter2013-03-041-2/+2
| | | | https://bugs.freedesktop.org/show_bug.cgi?id=60894
* Add public iterator API to p11-kitStef Walter2013-02-051-0/+829