statically linking OpenSSL engine for SE050

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

statically linking OpenSSL engine for SE050

1,188 次查看
fus
Contributor II

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 项奖励
回复
0 回复数