Skip to content

Commit

Permalink
Fix openssl 3.0 engines support in client.
Browse files Browse the repository at this point in the history
Delete condition checking ossl 1.1.0 for calling engine_load_dynamic. Openssl
no_eninge is sufficient for this check.

daniel.mcallister@nokia.com
  • Loading branch information
mcallist committed Feb 6, 2025
1 parent 5d1ce1a commit bc48635
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/Mayaqua/Encrypt.c
Original file line number Diff line number Diff line change
Expand Up @@ -3228,9 +3228,7 @@ K *OpensslEngineToK(char *key_file_name, char *engine_name)
{
#ifndef OPENSSL_NO_ENGINE
K *k;
#if OPENSSL_API_COMPAT < 0x10100000L
ENGINE_load_dynamic();
#endif // OPENSSL_API_COMPAT < 0x10100000L
ENGINE *engine = ENGINE_by_id(engine_name);
ENGINE_init(engine);
EVP_PKEY *pkey;
Expand Down

0 comments on commit bc48635

Please sign in to comment.