M_ASN1_D2I_* replacement in OpenSSL 1.1.0

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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>


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux