[Date Prev][Date Next]
(ITS#7136) [PATCH] MozNSS: store TLS params until the deferred initialization is finished
- To: openldap-its@OpenLDAP.org
- Subject: (ITS#7136) [PATCH] MozNSS: store TLS params until the deferred initialization is finished
- From: firstname.lastname@example.org
- Date: Wed, 25 Jan 2012 15:56:51 GMT
- Auto-submitted: auto-generated (OpenLDAP-ITS)
Full_Name: Jan Vcelak
Version: git master
Submission from: (NULL) (220.127.116.11)
Deferred TLS initialization is used with Mozilla NSS. The real initialization
takes place when the TLS context is needed for the first time. If the
initialization parameters were freed immediately after tlsm_ctx_init was called,
they were not available at the time of deferred initialization which caused
This situation happens e.g. with syncrepl.
With this patch, initialization parameters are copied and stored until the
deferred initialization is finished. The parameters are freed afterwards.
Original bug report: https://bugzilla.redhat.com/show_bug.cgi?id=783431
The attached file is derived from OpenLDAP Software. All of the modifications to
OpenLDAP Software represented in the following patch(es) were developed by Red
Hat. Red Hat has not assigned rights and/or interest in this work to any party.
I, Jan Vcelak am authorized by Red Hat, my employer, to release this work under
the following terms.
Red Hat hereby place the following modifications to OpenLDAP Software (and only
these modifications) into the public domain. Hence, these modifications may be
freely used and/or redistributed for any purpose with or without attribution
and/or other notice.