[openssl-users] Help finding replacement for ASN1_seq_unpack_X509

Jim Carroll jim at carroll.com
Tue Jul 19 11:49:33 UTC 2016


OpenSSL 1.1.0 has upgraded the safestack.h macro system, but I'm having
difficulty understanding the changes. I'm porting a piece of code from
OpenSSL 0.9.8 that uses ASN1_seq_unpack_X509. In 0.9.8, safestack.h had this
definition.

#define ASN1_seq_unpack_X509(buf, len, d2i_func, free_func) \

        SKM_ASN1_seq_unpack(X509, (buf), (len), (d2i_func), (free_func))

Could anyone point me in the right direction and how this needs to be
adapted?

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mta.openssl.org/pipermail/openssl-users/attachments/20160719/962873b5/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 4722 bytes
Desc: not available
URL: <http://mta.openssl.org/pipermail/openssl-users/attachments/20160719/962873b5/attachment.bin>


More information about the openssl-users mailing list