[openssl-users] M_ASN1_D2I_* replacement in OpenSSL 1.1.0
Aleksandr Konstantinov
aleksandr.v.konstantinov at gmail.com
Tue Sep 20 09:45:05 UTC 2016
Hello,
Thanks a lot. One more question if possible. Is there any way to express
single element of the ASN1 sequence which can be any
of ASN1_OCTET_STRING or ASN1_UTF8STRING and potentially other types?
Or maybe there is some tutorial for new interface similar to something like
http://www.umich.edu/~x509/ssleay/asn1-macros.html for old one?
Best regards,
A.K.
On Mon, Sep 19, 2016 at 3:05 PM, Dr. Stephen Henson <steve at openssl.org>
wrote:
> On Mon, Sep 19, 2016, Aleksandr Konstantinov wrote:
>
> >
> > Thanks. Your answer helped a lot and I'm progressing now. Could You
> please
> > also give me a hint what M_ASN1_BIT_STRING_dup/ASN1_BIT_STRING_dup
> could be
> > replaced with?
> >
>
> ASN1_STRING_dup should work fine: ASN1_BIT_STRING is actually typedefed to
> ASN1_STRING.
>
> Steve.
> --
> Dr Stephen N. Henson. OpenSSL project core developer.
> Commercial tech support now available see: http://www.openssl.org
> --
> openssl-users mailing list
> To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mta.openssl.org/pipermail/openssl-users/attachments/20160920/34e66191/attachment.html>
More information about the openssl-users
mailing list