summaryrefslogtreecommitdiffstats
path: root/pobject.c
Commit message (Collapse)AuthorAgeFilesLines
* Do not define SEC_SkipTemplateRich Megginson2010-08-091-0/+3
| | | | | Building NSS with PEM support gives an error in pbobject due to multiple definitions of SEC_SkipTemplate. This is already defined in libnssutil
* implement memory management for internal objectsKamil Dudka2009-08-201-84/+145
| | | | | | | | | | | | | | * ckpem.h: Define list objects, add reference counter to internal objects. * pfind.c: Increase object's reference while exporting. Skip already freed objects. * pinst.c (AddObjectIfNeeded): New function providing sharing of internal objects. * pobject.c: Add support for list objects. Implement pem_mdObject_Finalize(). * psession.c (pem_mdSession_CopyObject): Increase reference count only. Signed-off-by: Kamil Dudka <kdudka@redhat.com>
* Fix various memory leaks and free internal objects on module unload.Kamil Dudka2009-05-291-9/+18
| | | | | | Elio helped me to complete the patch. 501080
* Fix gcc warnings.Kamil Dudka2009-05-291-2/+3
| | | | 500815
* Fix off-by-one error when computing size to reduce memory leak.Rob Crittenden2009-05-221-4/+1
| | | | | | Patch contributed by Kamil Dudka. 483855
* Fix data type to work on x86_64 systems. We were only copying the bottom 4Rob Crittenden2009-05-221-1/+1
| | | | | | bytes of the U_LONG (Intel is a little endian platform). 429175
* Initial import of code. This is equivalent to the 20080124 tarball inRob Crittenden2009-05-221-0/+1175
the Fedora nss package tree.