<div dir="ltr"><div>Hello,</div><div><br></div>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?<div>Or maybe there is some tutorial for new interface similar to something like <a href="http://www.umich.edu/~x509/ssleay/asn1-macros.html">http://www.umich.edu/~x509/ssleay/asn1-macros.html</a> for old one?</div><div><br></div><div>Best regards,</div><div><br></div><div><br></div><div>A.K.</div><div><br></div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Sep 19, 2016 at 3:05 PM, Dr. Stephen Henson <span dir="ltr"><<a href="mailto:steve@openssl.org" target="_blank">steve@openssl.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On Mon, Sep 19, 2016, Aleksandr Konstantinov wrote:<br>
<br>
><br>
> Thanks. Your answer helped a lot and I'm progressing now. Could You please<br>
> also give me a hint what M_ASN1_BIT_STRING_dup/ASN1_<wbr>BIT_STRING_dup could be<br>
> replaced with?<br>
><br>
<br>
ASN1_STRING_dup should work fine: ASN1_BIT_STRING is actually typedefed to<br>
ASN1_STRING.<br>
<br>
Steve.<br>
--<br>
Dr Stephen N. Henson. OpenSSL project core developer.<br>
Commercial tech support now available see: <a href="http://www.openssl.org" rel="noreferrer" target="_blank">http://www.openssl.org</a><br>
<span class="HOEnZb"><font color="#888888">--<br>
openssl-users mailing list<br>
To unsubscribe: <a href="https://mta.openssl.org/mailman/listinfo/openssl-users" rel="noreferrer" target="_blank">https://mta.openssl.org/<wbr>mailman/listinfo/openssl-users</a><br>
</font></span></blockquote></div><br></div>