Commit 2e52e7df5 ("Remove the old threading API") left a dummy definition of the CRYPTO_dynlock for compatibility, if OPENSSL_API_COMPAT < 1.1.0.
However, there's still a DEFINE_STACK_OF(CRYPTO_dynlock) in cryptlib.h which isn't so masked, and breaks the build if you disable the API compatibility. Assuming that's supposed to be present too for the same reason, wrap it in a similar #ifdef. --- crypto/include/internal/cryptlib.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/crypto/include/internal/cryptlib.h b/crypto/include/internal/cryptlib.h index a97e20b..18d205e 100644 --- a/crypto/include/internal/cryptlib.h +++ b/crypto/include/internal/cryptlib.h @@ -82,7 +82,9 @@ typedef struct ex_callback_st EX_CALLBACK; DEFINE_STACK_OF(EX_CALLBACK) +# if OPENSSL_API_COMPAT < 0x10100000L DEFINE_STACK_OF(CRYPTO_dynlock) +# endif typedef struct app_mem_info_st APP_INFO; DEFINE_LHASH_OF(APP_INFO); -- 2.5.0 -- David Woodhouse Open Source Technology Centre david.woodho...@intel.com Intel Corporation -- Ticket here: http://rt.openssl.org/Ticket/Display.html?id=4408 Please log in as guest with password guest if prompted
smime.p7s
Description: S/MIME cryptographic signature
-- openssl-dev mailing list To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-dev