I upgraded openssl from 1.0.2n to 1.1.0g in Linux recently and am getting some errors in code because many of the openssl functions are deprecated in new version. One such function is malloc function which is M_ASN1_New_Malloc(Poll, CertInfo) which was defined in asn1_mac.h
After openssl upgradation, i searched alternate function to "M_ASN1_New_Malloc" and i changed my code as below DECLARE_ASN1_ALLOC_FUNCTIONS(CertInfo) CertInfo *Poll = NULL; Poll = M_ASN1_New_of(CertInfo) When i build my code am getting error as undefined reference to 'CertInfo_it'. I don't why its adding "_it" to CertInfo unnecessarily**. Thanks and Regards, SWAMY J S