diff options
author | 2018-11-24 04:11:47 +0000 | |
---|---|---|
committer | 2018-11-24 04:11:47 +0000 | |
commit | a457dfe1e50159d324c928ce772e78d03274214d (patch) | |
tree | 2a69c495bc031377c883065f914137ef004731f1 /sys/dev/pv/pvclock.c | |
parent | When a font escape appears in the middle of a string, (diff) | |
download | wireguard-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