diff options
author | Jiasheng Jiang <jiasheng@iscas.ac.cn> | 2022-01-24 17:03:25 +0800 |
---|---|---|
committer | Tomas Mraz <tomas@openssl.org> | 2022-01-26 12:08:47 +0100 |
commit | 814999cb44135fd197945693a7c00cf0af784206 (patch) | |
tree | 6e1eb605e24e73c7203daac76a90bfce04ab70a4 /test | |
parent | 7625d70ad9e7be0588dd9453e89892c2b24b8175 (diff) |
x509: add the check for X509_STORE_lock
Since we may fail to get the lock, for example there is no lock, the
X509_STORE_lock() will return 0.
Therefore, we should check it in order to prevent the dirty data.
Signed-off-by: Jiasheng Jiang <jiasheng@iscas.ac.cn>
Reviewed-by: Paul Dale <pauli@openssl.org>
Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/17575)
Diffstat (limited to 'test')
0 files changed, 0 insertions, 0 deletions