summaryrefslogtreecommitdiff
path: root/trust/tests/frob-nss-trust.c
Commit message (Collapse)AuthorAgeFilesLines
* Fix various issues highlighted by coverity scannerStef Walter2013-07-181-0/+1
| | | | Among others fix possible usage of large stack allocation.
* iter: Add iteration mode where session is not busyStef Walter2013-07-031-3/+3
| | | | | | | | | | | 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.
* p11-kit: Managed PKCS#11 module loadingStef Walter2013-05-211-6/+19
| | | | | | | | | 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.
* attrs: Change p11_attrs_to_string() to allow static templatesStef Walter2013-03-181-1/+1
| | | | | Allow passing the number of attributes to print, which lets us use this directly on templates passed in by callers of the PKCS#11 API.
* trust: Update frob-nss-tool so it can compare modules for trust infoStef Walter2013-03-151-35/+139
| | | | | Can run with two modules now so that it can compare tokens NSS trust info.
* trust: add a simple frob-nss-token tool to dump distrustStef Walter2013-03-081-0/+103
Add a simple tool to dump NSS style distrust attributes from a module.