openssl 1.1.1k: missing d2i_X509 function prototype

Konstantin Boyandin lists at boyandin.info
Thu Jul 1 01:37:14 UTC 2021


On 01.07.2021 08:04, Viktor Dukhovni wrote:
> On Thu, Jul 01, 2021 at 12:36:10AM +0000, Konstantin Boyandin via
 openssl-users wrote:
> 
>> OpenSSL version: 1.1.1k.
>>
>> I noticed that
>>
>> X509 *d2i_X509(X509 **px, const unsigned char **in, long len);
>>
>> function is no longer defined in openssl/x509.h available in 1.0.x
>> versions, the only one available is now
> 
> 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.

What are my options in such a situation?

--
Sincerely,

Konstantin Boyandin


More information about the openssl-users mailing list