diff options
author | Joel Sing <jsing@cvs.openbsd.org> | 2018-11-24 04:11:48 +0000 |
---|---|---|
committer | Joel Sing <jsing@cvs.openbsd.org> | 2018-11-24 04:11:48 +0000 |
commit | e225a67e93a64bc955790a6d982d87ffcfa255c1 (patch) | |
tree | 08042a869016a263dacb338ac5b3febfba607a2a /usr.sbin/kgmon | |
parent | 279829ba6d23d54e839d406a2418cd09303eee77 (diff) |
Store and return the locking callbacks, restoring previous behaviour.
The previous code meant that a caller could set the locking callback, after
which CRYPTO_get_locking_callback() would return non-NULL. Some existing
code depends on this behaviour, specifically to identify if lock handling
has been configured. As such, always returning NULL from
CRYPTO_get_locking_callback() can result in unexpected application
behaviour.
ok bcook@
Diffstat (limited to 'usr.sbin/kgmon')
0 files changed, 0 insertions, 0 deletions