Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Using EXT_IA5STRING #95

Open
daurnimator opened this issue May 31, 2018 · 3 comments
Open

Using EXT_IA5STRING #95

daurnimator opened this issue May 31, 2018 · 3 comments

Comments

@daurnimator
Copy link

The expansion of the public macro EXT_IA5STRING uses the private functions i2s_ASN1_IA5STRING and s2i_ASN1_IA5STRING.
This was fixed in OpenSSL 1.0.2 but is still missing from libressl.

@4a6f656c
Copy link

Thanks. Have you got a reference to code that actually uses this macro?

@daurnimator
Copy link
Author

Have you got a reference to code that actually uses this macro?

Other than the (new) code I'm working on right now, no.
I ran into it as I'm writing the new code against OpenSSL 1.1.0; but now I'm backporting to LibreSSL.

@daurnimator
Copy link
Author

daurnimator commented May 31, 2018

I'm backporting to LibreSSL.

FYI, my first take at the compat code is:

#define i2s_ASN1_IA5STRING (X509V3_EXT_get_nid(NID_netscape_renewal_url)->i2s)
#define s2i_ASN1_IA5STRING (X509V3_EXT_get_nid(NID_netscape_renewal_url)->s2i)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants