CVSROOT: /cvs Module name: src Changes by: js...@cvs.openbsd.org 2018/11/23 21:11:47
Modified files: lib/libcrypto : cryptlib.c Log message: 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@