]> git.ipfire.org Git - thirdparty/openssl.git/commit
namemap: fix threading issue
authorPauli <paul.dale@oracle.com>
Tue, 28 Jul 2020 01:14:14 +0000 (11:14 +1000)
committerPauli <paul.dale@oracle.com>
Wed, 29 Jul 2020 07:31:32 +0000 (17:31 +1000)
commit79410c5f8b139c423be436810b4fe4de4637fc24
tree96ff3d6f1bd5505dd8e16815595548d9a533485d
parent5cd9962272388fc9a51711495a8c6a3f230ab5ce
namemap: fix threading issue

The locking was too fine grained when adding entries to a namemap.
Refactored the working code into unlocked functions and call these with
appropriate locking.

Reviewed-by: Richard Levitte <levitte@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/12545)
crypto/core_namemap.c