summaryrefslogtreecommitdiffstats
path: root/psession.c
Commit message (Collapse)AuthorAgeFilesLines
* Make CopyObject return a new, shallow copyRich Megginson2010-04-121-1/+12
| | | | | | Due to the semantics or possibly a bug in NSSCKFWC_CopyObject(), the pem CopyObject function must return a new mdObject *. So this patch creates a new mdObject as a shallow copy of the old one.
* implement memory management for internal objectsKamil Dudka2009-08-201-112/+17
| | | | | | | | | | | | | | * 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 leaks in make_key and md_SessionLogin plus error codesElio Maldonado Batiz2009-06-291-4/+15
| | | | Resolves 501191
* Fix gcc warnings.Kamil Dudka2009-05-291-8/+7
| | | | 500815
* Support arbitrarily long password while loading a private key.Kamil Dudka2009-05-291-1/+1
| | | | | | Reported by Michael Cronenworth. 500180
* Initial import of code. This is equivalent to the 20080124 tarball inRob Crittenden2009-05-221-0/+452
the Fedora nss package tree.