"no OPENSSL_Applink " in OpenSSL3.0.5

Imazu Setsuo imazu.setsuo at nifs.ac.jp
Tue Aug 9 23:11:39 UTC 2022

Hello, my name is Imazu.
I am using OpenSSL3.0.5 to develop a windows program.
When I call PEM_read_PrivateKey() I get the following error:
OPENSSL_Uplink(00007FF8011DD3E0,08): no OPENSSL_Applink

The source that calls PEM_read_PrivateKey() includes the following sources.

#include <openssl/applink.c>

In the test program
test.exe --> my_appl.dll --> openssl.dll
, the above include is the source in my_appl.dll.
The depends tool (Dependency Walker) can check the entry of OPENSSL_Applink.

By the way, if you describe "#include <openssl/applink.c>" in the source inside test.exe, it will work.
However, I want to complete the processing within my_appl.dll.
Please tell me a good way.

Best regards.

More information about the openssl-users mailing list