[Date Prev][Date Next] [Chronological] [Thread] [Top]

(ITS#7315) [PATCH 4/5] MozNSS: do not authenticate to a slot manually

Full_Name: Jan Vcelak
Version: git master
OS: Linux
URL: http://jvcelak.fedorapeople.org/openldap-patches/jvcelak-120622-0004-MozNSS-do-not-authenticate-to-a-slot-manually.patch
Submission from: (NULL) (

We cannot rely on the value of ctx->tc_certificate->slot because it might refer
to a wrong slot when the certificate is loaded multiple times. This can happen
in multi-threaded applications. Instead of authenticating to a slot implicitly,
we can leave the decision on Mozilla NSS library, which will initiate
authentication to a proper slot when needed.

Patch could not upload to OpenLDAP FTP server due to "No space left on device.
Therefore I have uploaded the patch to fedorapeople.org. The patch is also
available in 'moznss' branch of git://github.com/fcelda/openldap.git

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.