migration from openssl 1.0.2n to 1.1.1

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Dear all,

 

We did openssl version upgrade from 1.0.2n to 1.1.1. While compiling some package dependent on openssl, getting errors related to M_ASN1_ D2I AND I2D functions.

Digging deeper got to know that, in latest openssl asn1_mac.h header is deprecated.

Can someone please help me out in knowing what are changes to be done to make it work.?

 

We use following fucntions.

M_ASN1_I2D_len(a->issuer,i2d_X509_NAME);

M_ASN1_I2D_vars(a);

M_ASN1_I2D_len(a->subject,i2d_X509_NAME);

M_ASN1_I2D_seq_total();

M_ASN1_I2D_put(a->issuer,i2d_X509_NAME);

M_ASN1_I2D_put(a->subject,i2d_X509_NAME);

M_ASN1_I2D_finish();

M_ASN1_D2I_vars(a, pkcs7_issuer_and_subject *,

M_ASN1_D2I_Init();

M_ASN1_D2I_start_sequence();

M_ASN1_D2I_get(ret->issuer,d2i_X509_NAME);

M_ASN1_D2I_get(ret->subject,d2i_X509_NAME);

M_ASN1_D2I_Finish(a,pkcs7_issuer_and_subject_free, 99);

M_ASN1_New_Malloc(ret,pkcs7_issuer_and_subject);

M_ASN1_New(ret->issuer,X509_NAME_new);

M_ASN1_New(ret->subject,X509_NAME_new);

M_ASN1_New_Error(199);

M_ASN1_INTEGER_free(a->subject);

 

Thanking you,

 

With Regards,

Chethan Kumar

 

The information contained in this e-mail message and in any attachments/annexure/appendices is confidential to the
recipient and may contain privileged information. If you are not the intended recipient, please notify the
sender and delete the message along with any attachments/annexure/appendices. You should not disclose,
copy or otherwise use the information contained in the message or any annexure. Any views expressed in this e-mail
are those of the individual sender except where the sender specifically states them to be the views of 
Toshiba Software India Pvt. Ltd. (TSIP),Bangalore.
Although this transmission and any attachments are believed to be free of any virus or other defect that might affect any computer system into which it is received and opened, it is the responsibility of the recipient to ensure that it is virus free and no responsibility is accepted by Toshiba Software India Pvt. Ltd, for any loss or damage arising in any way from its use.


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux