summaryrefslogtreecommitdiff
path: root/tools/extract-openssl.c
Commit message (Collapse)AuthorAgeFilesLines
* Separate library init from message codeStef Walter2013-04-031-1/+1
| | | | | | | | | | | Put library init/uninit code its into their own statically linked library so that they don't get linked into the p11-kit executable. Refactor the message code so that the library initialization can plug in its per thread message buffer. https://bugs.freedesktop.org/show_bug.cgi?id=63046
* Fix memory leaks reported by 'make leakcheck'Stef Walter2013-03-201-3/+0
|
* hash: Rename file and functions for hashesStef Walter2013-03-201-5/+5
| | | | | We're going to be adding other hashes. Also build as part of a different common library.
* Refine looking up of attributes in arraysStef Walter2013-03-181-4/+4
| | | | | | | | There was a class of bugs for looking up invalid or empty attributes in the internal PKCS#11 attribute arrays. * Refine what p11_attrs_find_valid() treats as valid * Rename p11_attrs_is_empty() to p11_attrs_terminator() for clarity
* extract: --comment option adds comments to PEM bundlesStef Walter2013-03-151-1/+10
| | | | | | | | * Placed before the certificate, simple one liner * No need to put comments in PEM files extracted into directories, as the file names are already descriptive. https://bugs.freedesktop.org/show_bug.cgi?id=62029
* Windows doesn't support symlinks, chmod, or atomic renamesStef Walter2013-03-031-1/+13
| | | | | | | * Don't create symlinks on windows * No atomic renames, so delete and then rename * Make sure to close files before unlinking on windows * No chmod permissions on windows
* Fix various clang analyzer warningsStef Walter2013-02-061-2/+7
| | | | | * Add annotations to our precondition functions so that they don't make the analyzer complain
* Use the CN, OU or O of certificates to generate a labelStef Walter2013-02-051-55/+15
| | | | | * This is in cases where the certificate information does not already have a friendly name or alias.
* Add support for exporting OpenSSL's TRUSTED CERTIFICATE formatStef Walter2013-02-051-0/+686