summaryrefslogtreecommitdiffstats
path: root/sys/dev/pv/pvclock.c
diff options
context:
space:
mode:
authorjsing <jsing@openbsd.org>2018-11-24 04:11:47 +0000
committerjsing <jsing@openbsd.org>2018-11-24 04:11:47 +0000
commita457dfe1e50159d324c928ce772e78d03274214d (patch)
tree2a69c495bc031377c883065f914137ef004731f1 /sys/dev/pv/pvclock.c
parentWhen a font escape appears in the middle of a string, (diff)
downloadwireguard-openbsd-a457dfe1e50159d324c928ce772e78d03274214d.tar.xz
wireguard-openbsd-a457dfe1e50159d324c928ce772e78d03274214d.zip
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 'sys/dev/pv/pvclock.c')
0 files changed, 0 insertions, 0 deletions