On Thu, Jul 01, 2021 at 01:37:14AM +0000, Konstantin Boyandin via openssl-users wrote: > > Actually it is still declared, via: > > > > DECLARE_ASN1_FUNCTIONS(X509) > > But I can't find the function implementation anywhere in code! > > After I build .dll version of OpenSSL 1.1.1k, I get a fatal error when > an application tries to call d2i_X509() - it's not present in the library. Build the library correctly: * On a Fedora system: $ objdump -T /usr/lib64/libcrypto.so.1.1 | grep -w d2i_X509 000000000020c490 g DF .text 0000000000000010 OPENSSL_1_1_0 d2i_X509 * On a FreeBSD system: $ nm /usr/local/lib/libcrypto.so.11 | grep -w d2i_X509 00000000003189a0 T d2i_X509 The list of exported symbols for libcrypto has: util/libcrypto.num:d2i_X509 574 1_1_0 EXIST::FUNCTION: a correct build will result in a libcrypto with this function exported. -- Viktor.