summaryrefslogtreecommitdiff
path: root/p11-kit/conf.c
Commit message (Collapse)AuthorAgeFilesLines
* Don't complain if we cannot access ~/.pkcs11/pkcs11.confStef Walter2012-11-141-9/+33
| | | | | | | * If a process is running under selinux it may not be able to access the home directory of the uid that it is running as. https://bugs.freedesktop.org/show_bug.cgi?id=57115
* Change the default of 'user-config' to merge.Stef Walter2012-09-061-1/+1
| | | | | | | * This allows user configured PKCS#11 modules by default. * Admins can change this to 'none' in /etc/pkcs11/pkcs11.conf to go back to the previous behavior. * Posted to the mailing list.
* Use '.module' extension on module configsStef Walter2012-07-241-4/+52
| | | | | | | | | | | | | * And want alphanumeric/_.- filenames * Currently this is just a warning, soon it will be enforced * The name of a module does not include the extension Andreas Metzler and Ubuntu both worked on this patch, and I've made some more changes. See https://bugs.launchpad.net/ubuntu/+source/p11-kit/+bug/911436 https://bugs.freedesktop.org/show_bug.cgi?id=52158
* Preconditions to check for input probs and out of memoryStef Walter2012-05-131-55/+21
| | | | | | * We don't try to guarantee completely robust and problem free behavior in cases where the caller or process isn't behaving. We consider these to be outside of our control.
* Use gcc extensions to check varargs during compileStef Walter2012-05-131-3/+8
| | | | | * Add macros GNUC_PRINTF and GNUC_NULL_TERMINATED to check correct printf and NULL terminated style varargs
* Move the compat.[ch] headers into common directory/Stef Walter2012-04-301-1/+1
| | | | | * And the compat stuff in the p11-kit directory merged into util.c and util.h
* More fixes for non-static function namesStef Walter2011-10-241-4/+4
| | | | | * See previous commit * Initialize library before debug statements
* Rename non-static functions to have a _p11_xxx prefix.Stef Walter2011-10-241-18/+18
| | | | | | | * Work around issues with brain-dead linkers not respecting the libtool -export-symbol-regex argument https://bugs.freedesktop.org/show_bug.cgi?id=42020
* Initial port to win32Stef Walter2011-10-171-20/+44
| | | | | | | | * Tests do not all yet pass, at least not on wine * Added abstraction of some non-portable functions in compat.h/c * Build with an argument like this for win32 support: ./autogen.sh --host=i586-mingw32msvc * This win32 port needs more work from interested parties
* Add 'critical' setting for modulesStef Walter2011-08-301-0/+18
| | | | | | * When a module has critical set to 'yes', and that module fails to init then it aborts the entire init process. * Defaults to 'no'
* Reimplement and remove apache licensed bits of code.Stef Walter2011-07-271-25/+25
| | | | | | | | | | * 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
* Store last failure message per thread.Stef Walter2011-06-091-10/+12
| | | | * Add p11_kit_message() function to get last message.
* Refactor configurationStef Walter2011-06-081-37/+392
| | | | | * Move configuration loading into conf.c * Have user modules with same name merge/override modules in system.
* Fix lots of bugs and add more debugging statements.Stef Walter2011-04-051-1/+2
|
* Add support for debug tracing.Stef Walter2011-04-051-0/+7
| | | | | | | | | | | Use P11_KIT_DEBUG=xxx environment variable to enable tracing. Must have been built without --disable-debug option. P11_KIT_DEBUG can (at this point) be one of these values: all help conf lib
* Fix up copyright lines.Stef Walter2011-04-011-2/+2
|
* Documentation and API cleanup.Stef Walter2011-03-311-0/+245
* Rename source directory * More consistent with return values from URI functions. * Allow formatting URI to take a uri type.