]> git.ipfire.org Git - thirdparty/openssl.git/commit
obj: add locking to the OBJ sigid calls
authorPauli <pauli@openssl.org>
Thu, 17 Jun 2021 01:05:02 +0000 (11:05 +1000)
committerPauli <ppzgs1@gmail.com>
Sat, 25 Sep 2021 00:39:20 +0000 (10:39 +1000)
commitc568900c9ac02e92c54bd3168773d54d7350a580
tree5a6e3aeb897ad0c803b6e7323cfe0bd532e09bdb
parent29c80c6004de8bfd1792e421bbe03ab5f075f21d
obj: add locking to the OBJ sigid calls

This is done using a single global lock.  The premise for this is that new
objects will most frequently be added at start up and never added subsequently.
Thus, the locking will be for read most of the time.

Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/15713)
crypto/objects/obj_xref.c