Error in M_ASN1_New_of function in openssl 1.1.0g

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

 



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

 


[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