get data from X509_EXTENSION in openSSL 1.1.1.

prudvi raj rajprudvi98 at gmail.com
Fri Jul 10 11:55:03 UTC 2020


Hi All,

we are upgrading our codebase to 1.1.1 from 1.0.2k.Here's a code snippet
causing error :

 ext = X509_get_ext(X509, n);
 data = ext->value->data;

How do i get the data value from X509_EXTENSION object.
since forward declarations are not allowed (compiler error) & i couldn't
find a suitable 'getter' function.
Can someone please help me out in resolving this issue.??

Thanks,
Prudvi.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mta.openssl.org/pipermail/openssl-users/attachments/20200710/ef612280/attachment.html>


More information about the openssl-users mailing list