statically linking OpenSSL engine for SE050

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

statically linking OpenSSL engine for SE050

725 Views
fus
Contributor I

For an embedded system we need a statically linked engine for OpenSSL. For this we set "OPENSSL_NO_DYNAMIC_ENGINE", but the source file "ax_sssEngine_main.c" contains the following lines which disables this possibility for OpenSSL versions starting with 1.1 (which we are using):

#if (OPENSSL_VERSION_NUMBER < 0x10100000L)
#else
#ifdef OPENSSL_NO_DYNAMIC_ENGINE
#undef OPENSSL_NO_DYNAMIC_ENGINE
#endif
#endif

We're currently using Middleware 3.0.6 but this code sequence is the same even in V3.3.

We dont' know how to load the engine as the function "EngineEmbSe_Load" is no longer defined after "#undef OPENSSL_NO_DYNAMIC_ENGINE". As I assume there is a reason for the above mentioned code so I fear that simply removing the "#unset..." will not be a solution.

How can we get a statically linked engine for OpenSSL 1.1?

0 Kudos
0 Replies