I have upgraded openssl from 1.0.2n to 1.1.0g on Ubuntu 18.04 recently. My application uses openssl. Now during build am facing some issues. i used “EVP_MD_CTX ctx” earlier and now i modified it has “EVP_MD_CTX *ctx ctx=EVP_MD_CTX_new()” and this is working fine. And i used “ASN1_CTX ctx” but this is not working if modify like above. And during build its suggesting to use
“ASN1_SCTX ctx” but if I use this then I get error in “M_ASN1_New_Malloc” So how to modify “ASN1_CTX ctx” in openssl 1.1.0g. Also am getting error as /usr/include/openssl/asn1_mac.h:10:2: error: #error "This file is obsolete; please update your software." Thanks and Regards, SWAMY J S |