ASN1_CTX usage in openssl 1.1.0

Matt Caswell matt at openssl.org
Thu Apr 11 13:03:22 UTC 2019



On 11/04/2019 13:06, Swamy J-S wrote:
> 
> 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."
> 

You are using the old ASN1 API which has been obsolete since 2002. Are you
reading/writing your own custom ASN1 structures? If so then that will need to be
rewritten.

See my recent post on this topic:

https://mta.openssl.org/pipermail/openssl-users/2019-April/010239.html

Matt



More information about the openssl-users mailing list