summaryrefslogtreecommitdiff
path: root/common/attrs.c
Commit message (Collapse)AuthorAgeFilesLines
* trust: Use the new NSS PKCS#11 extension codesStef Walter2013-03-081-38/+38
| | | | | NSS had subtly changed the values of the distrust CK_TRUST codes so update them to stay in sync.
* Update the pkcs11.h header for missing mechanismsStef Walter2013-02-201-1/+1
|
* Fix dereference of varargs in p11_attrs_build()Stef Walter2013-02-111-1/+1
| | | | https://bugs.freedesktop.org/show_bug.cgi?id=60473
* Further tweaks and cleanup for functions dealing with PKCS#11 attributesStef Walter2013-02-041-40/+755
| | | | | | | | * Check that the size is correct when looking for a boolean or a ulong. * Make sure that the length is not the invalid negative ulong. * Functions for dumping out attribute contents * Make it possible to use attributes in hash tables
* Use the stdbool.h C99 bool typeStef Walter2013-01-231-6/+6
| | | | | | It was getting really wild knowing whether a function returning an int would return -1 on failure or 0 or whether the int return value was actually a number etc..
* Add common functions for manipulating CK_ATTRIBUTE arraysStef Walter2013-01-091-0/+310