summaryrefslogtreecommitdiff
path: root/p11-kit/hashmap.c
Commit message (Collapse)AuthorAgeFilesLines
* Guarantee that the key is freed when replacedStef Walter2013-01-071-1/+6
| | | | | | | | | * When setting a key in a map that already exists, then free the old key and replace with the new one. * Fix related bug where key was not properly allocated * Add tests for this https://bugs.freedesktop.org/show_bug.cgi?id=59087
* Fix broken hashmap behaviorStef Walter2012-03-271-7/+5
| | | | | | | * We were relying on undefined gcc behavior related to the & operator. * This would show up as a test failure when running with -O2 on certain GCC versions, as well as failure on clang 3.1
* Fix build warning on mingw64Stef Walter2012-01-021-1/+1
|
* Rename non-static functions to have a _p11_xxx prefix.Stef Walter2011-10-241-26/+42
| | | | | | | * Work around issues with brain-dead linkers not respecting the libtool -export-symbol-regex argument https://bugs.freedesktop.org/show_bug.cgi?id=42020
* Fix bug in hashtable rewrite.Stef Walter2011-07-271-1/+1
| | | | * Initialization mixup.
* Reimplement and remove apache licensed bits of code.Stef Walter2011-07-271-0/+372
* 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