property: add locking for the property string database
authorPauli <pauli@openssl.org>
Wed, 23 Jun 2021 04:18:07 +0000 (14:18 +1000)
committerPauli <pauli@openssl.org>
Thu, 24 Jun 2021 05:51:48 +0000 (15:51 +1000)
commit3377f34fb8bcf560c83627ed44c99c09c0b6a772
treee0a36ef84abf4a0a0955e3785cdf36ac06ba5101
parente3c507797acc6049f5791062cd9b2fa5fe0aa824
property: add locking for the property string database

This previously relied on the caller locking the property store correctly.
This is no longer the case so the string database now requires locking.

Fixes #15866

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