c2i_ASN1_INTEGER function in Openssl 1.1.0

Swamy J-S swamy.j-s at in.abb.com
Fri May 31 03:55:46 UTC 2019


Hi,


I recently updated openssl from 1.0.2n to 1.1.0g in linux system.


Earlier I was using

"ASN1_INTEGER *c2i_ASN1_INTEGER(ASN1_INTEGER **a, const unsigned char **pp, long len) " function. As this function is removed in openssl 1.1.0, now i replaced this with


"ASN1_INTEGER *d2i_ASN1_UINTEGER(ASN1_INTEGER **a, const unsigned char **pp, long length)".

Now when i build my application then i get warning as

"Warning:0:-- SSL Error queue report --
Warning:0: - asn1 encoding routines|d2i_ASN1_UINTEGER|expecting an integer:218718323".


What is the solution for this problem?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mta.openssl.org/pipermail/openssl-users/attachments/20190531/4ea85847/attachment.html>


More information about the openssl-users mailing list