Re: [EXTERNAL] ASN1_STRING type is now opaque
"'Tomas Mraz' via openssl-users" <[email protected]> Thu, 16 Apr 2026 10:36:11 +0200
| Newsgroups | gmane.comp.encryption.openssl.user |
|---|---|
| Message-ID | <145933cb884fd9832f7cf266bcaca18d146cc817.camel@openssl.foundation> |
Do you send arbitrary ASN1_STRINGs or some particular subtype? You could use i2d/d2i to encode and decode concrete ASN1_STRING subtypes. Tomas Mraz On Tue, 2026-04-14 at 19:41 +0000, 'Sands, Daniel N.' via openssl-users wrote: > How will EMBED work with this?=C2=A0 I can no longer add an ASN1_STRING > structure to my temp-to-send data structure since the contents are > unknown to the compiler now.=C2=A0 Is there a pseudo-native type that can > be used in its place, similar to INT32 and INT64 for integers? >=20 > >=20 > > The ASN1_STRING structure can [no longer be accessed > > directly]( > > https://gcc02.safelinks.protection.outlook.com/?url=3Dhttps%3A%2F%2Fd > > ocs.openssl.org%2F4.0%2Fman7%2Fossl-guide-migration%2F%23the- > > &data=3D05%7C02%7Cdnsands%40sandia.gov%7Cd1c64df0760e47e2274e08de99 > > c13d49%7C7ccb5a20a303498cb0c129007381b574%7C1%7C0%7C63911725240 > > 0348398%7CUnknown%7CTWFpbGZsb3d8eyJFbXB0eU1hcGkiOnRydWUsIlYiOiIw > > LjAuMDAwMCIsIlAiOiJXaW4zMiIsIkFOIjoiTWFpbCIsIldUIjoyfQ%3D%3D%7C0%7C > > %7C%7C&sdata=3DBnnWtQOjyDFAzL9YmI03Hhs7E5QhOzgr0g1JJmbzuD4%3D&rese > > rved=3D0 > > asn1_string-type-is-now-opaque). Instead, accessor functions must > > be used. > >=20 --=20 Tom=C3=A1=C5=A1 Mr=C3=A1z, Chief Technology Officer, OpenSSL Foundation We need your support! Help us protect digital privacy=E2=80=A6 everywhere. https://openssl.foundation/donate/ways-to-give --=20 You received this message because you are subscribed to the Google Groups "= openssl-users" group. To unsubscribe from this group and stop receiving emails from it, send an e= mail to openssl-users+unsubscribe-MCmKBN63+Bmbup2nOX2J7Q@public.gmane.org To view this discussion visit https://groups.google.com/a/openssl.org/d/msg= id/openssl-users/145933cb884fd9832f7cf266bcaca18d146cc817.camel%40openssl.f= oundation.