diff options
author | jsing <> | 2024-10-11 12:27:24 +0000 |
---|---|---|
committer | jsing <> | 2024-10-11 12:27:24 +0000 |
commit | 61723d7ef03ea0d6dfb9984e183d118cac3846fa (patch) | |
tree | fdfefd7b20ef3506bce61e7860388deeb2565fef /src/lib/libcrypto/cryptlib.c | |
parent | a3e6b4d34f7e835c63146d64ba9d8da2d87ea72c (diff) | |
download | openbsd-61723d7ef03ea0d6dfb9984e183d118cac3846fa.tar.gz openbsd-61723d7ef03ea0d6dfb9984e183d118cac3846fa.tar.bz2 openbsd-61723d7ef03ea0d6dfb9984e183d118cac3846fa.zip |
Remove pointless locking from err_build_SYS_str_reasons().
err_build_SYS_str_reasons() is only called during initialisation, under
pthread_once(). As such, there is no need to grab CRYPTO_LOCK_ERR or
check for reentrant calls.
ok tb@
Diffstat (limited to 'src/lib/libcrypto/cryptlib.c')
0 files changed, 0 insertions, 0 deletions