Check for presence of 1.1.x openssl runtime
authorBernd Edlinger <bernd.edlinger@hotmail.de>
Sun, 16 Jan 2022 16:59:17 +0000 (17:59 +0100)
committerBernd Edlinger <bernd.edlinger@hotmail.de>
Tue, 8 Feb 2022 12:26:13 +0000 (13:26 +0100)
commit14db620282bea38dc44479e562cf9bb61a716444
tree905f1358d8b5d3be797ee58a232f45617c209d65
parent9362a1b32b7330e24d3bca230b412557caea095b
Check for presence of 1.1.x openssl runtime

if the newly loaded engine contains the symbol
EVP_PKEY_base_id, we know it is linked to 1.1.x openssl.
Abort loading this engine, as it will definitely crash.

Reviewed-by: Richard Levitte <levitte@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/17112)
crypto/engine/eng_dyn.c