M_ASN1_D2I errors

Aspose Aspose aaspose at gmail.com
Fri Mar 8 12:47:32 UTC 2024


I am migrating OpenSSL to 1.1.1, I am getting error for below macros:

X509_CRL* IT_SSLeay_X509_CRL_Info::DER2i( const char** pData0){

    long length = 0;
    unsigned char** pp = ((unsigned char**)(pData));
    X509_CRL** a = &m_pCRL;

    M_ASN1_D2I_vars(a, X509_CRL *, X509_CRL_new)
    M_ASN1_D2I_Init()
    M_ASN1_D2I_start_sequence()
    M_ASN1_D2I_get(ret->crl, d2i_X509_CRL_INFO)
    M_ASN1_D2I_get(ret->sig_alg, d2i_X509_ALGOR)
    M_ASN1_D2I_get(ret->signature, d2i_ASN1_BIT_STRING)
    M_ASN1_D2I_Finish(a, X509_CRL_free, ASN1_F_X509_CRL_ADD0_REVOKED);

   return *a

}

Can anyone help me to identify alternative macros/functions in openssl1.1.1
for this one?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mta.openssl.org/pipermail/openssl-users/attachments/20240308/fd429023/attachment.htm>


More information about the openssl-users mailing list