Error in M_ASN1_New_of function in openssl 1.1.0g

2019-04-19 Thread Swamy J-S
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 upgrad

Re: Error in M_ASN1_New_of function in openssl 1.1.0g

2019-04-19 Thread Matt Caswell
On 19/04/2019 10:38, Swamy J-S wrote: > 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) How have you declared and impl