summaryrefslogtreecommitdiff
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* Don't allow recursive calling of C_Initialize on a given module.Stef Walter2011-10-102-2/+106
|
* Rename p11-kit testStef Walter2011-10-102-3/+3
|
* Add test tool to print out error messagesStef Walter2011-09-262-1/+139
| | | | * Allows checking of translations
* Ignore spaces in PKCS#11 URIsStef Walter2011-08-191-0/+24
| | | | | | * These should be able to occur anywhere and should be ignored according to RFC 3986. This is documented in the PKCS#11 URI specification.
* Fix endless loop if module forks during initialization.Stef Walter2011-08-144-20/+1346
| | | | | | | * If a module forks during its C_Initialize, previously our fork handler would try to initialize it again, ad nauseum. Reported by Nikos on the mailing list.
* Update PKCS#11 URI code for new draft of specStef Walter2011-08-052-49/+49
| | | | | | | | | * pinfile attribute was renamed to pin-source * objecttype attribute was renamed to object-type * secretkey value was renamed to secret-key We continue to support parsing the old attribute names and values but generate URIs with the new ones.
* Fix building with NLS enabled.Roman Bogorodskiy2011-07-291-6/+11
| | | | https://bugs.freedesktop.org/show_bug.cgi?id=39622
* Reimplement and remove apache licensed bits of code.Stef Walter2011-07-272-111/+111
| | | | | | | | | | * Reimplement the various bits of the hash table that were still based on the apache apr code. Use different algorithms for hashing, lookup and other stuff. * Use this as an opportunity to cleanup that code and make it more legible. https://bugzilla.redhat.com/show_bug.cgi?id=725905
* Add documentation for PIN callbacks.Stef Walter2011-07-061-9/+9
|
* Add P11KitPin structure, which encapsulates a returned pin.Stef Walter2011-07-062-51/+111
| | | | | * Lets us use variable size buffers. * Helps minimize copying.
* Rename p11_kit_pin_read_pinfile to p11_kit_pin_retrieveStef Walter2011-07-061-19/+19
| | | | * Fix up duplicate register logic as well.
* Implement support for registering and calling pinfile callbacksStef Walter2011-07-063-1/+507
| | | | | | * These are callbacks that hanlde the pinfile part of a PKCS#11 URI. * One library can register a callback that another can then call in a thread-safe and simple fashion.
* Complete testing of global config files and directories.Stef Walter2011-06-0912-0/+309
|
* Store last failure message per thread.Stef Walter2011-06-092-8/+8
| | | | * Add p11_kit_message() function to get last message.
* Refactor configurationStef Walter2011-06-081-9/+31
| | | | | * Move configuration loading into conf.c * Have user modules with same name merge/override modules in system.
* Free string output of conf-testStef Walter2011-06-071-0/+1
|
* Fix URI parsing memory leaks.Stef Walter2011-06-071-0/+1
|
* Fix some hash leaks and bugs.Stef Walter2011-06-071-2/+37
|
* Fix compiler warnings.Stef Walter2011-06-071-0/+1
|
* Remove unstable API markers.Stef Walter2011-06-071-2/+1
|
* Cleanup URI typesStef Walter2011-05-301-42/+42
| | | | | * Support with/without library version. * Make names of types clearer.
* Fix problems with 'make distcheck'Stef Walter2011-05-271-2/+6
|
* Change around installation of headers, pkg-config, and file namesStef Walter2011-05-271-1/+1
| | | | | | | | * Install headers to ${prefix}/include/p11-kit-1/p11-kit/ * This solves problems with other projects that have their own pkcs11.h files. * Change the pkg-config file name to p11-kit-1.pc * Change the source file names.
* Add functions for clearing and setting multiple attributes on URI.Stef Walter2011-05-261-4/+37
|
* URI API fine tuningStef Walter2011-05-261-0/+103
| | | | | | * Rework API for getting all the attributes, to match usage in PKCS#11 * Add support for pinfile argument in URIs. * Complete tests.
* Add C++ header guards, and require API instability acknowledgement.Stef Walter2011-03-311-1/+2
|
* Documentation and API cleanup.Stef Walter2011-03-312-45/+45
| | | | | | * Rename source directory * More consistent with return values from URI functions. * Allow formatting URI to take a uri type.
* Reference implementation of PKCS#11 URIsStef Walter2011-02-192-1/+1056
|
* Only allow colon between name and value.Stef Walter2011-02-171-2/+2
|
* Configuration tests.Stef Walter2011-01-303-5/+135
|
* Add testing and start testing hash table functionality.Stef Walter2011-01-266-0/+1098