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 |