openssl 1.1.1k: missing d2i_X509 function prototype

Viktor Dukhovni openssl-users at
Thu Jul 1 01:49:16 UTC 2021

On Thu, Jul 01, 2021 at 01:37:14AM +0000, Konstantin Boyandin via openssl-users wrote:

> > Actually it is still declared, via:
> > 
> 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/ | grep -w d2i_X509
    000000000020c490 g    DF .text  0000000000000010  OPENSSL_1_1_0 d2i_X509

  * On a FreeBSD system:

    $ nm /usr/local/lib/ | 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.


More information about the openssl-users mailing list