summaryrefslogtreecommitdiff
path: root/usr.sbin/kgmon
diff options
context:
space:
mode:
authorJoel Sing <jsing@cvs.openbsd.org>2018-11-24 04:11:48 +0000
committerJoel Sing <jsing@cvs.openbsd.org>2018-11-24 04:11:48 +0000
commite225a67e93a64bc955790a6d982d87ffcfa255c1 (patch)
tree08042a869016a263dacb338ac5b3febfba607a2a /usr.sbin/kgmon
parent279829ba6d23d54e839d406a2418cd09303eee77 (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