Skip to content

Provide identical BN_GENCB_new shim

Ondřej Surý requested to merge 3785-openssl-refactoring-6 into main

Instead of trying to optimize by using a stack local variable with additional #ifdef logic, use identical implementations of the upstream functions to reduce #ifdef clutter.

Move the definitions from dst_openssl.h to openssl_shim.h where rest of the shim is.

Closes #3785 (closed)

Merge request reports