Skip to content

Conversation

@botovq
Copy link
Contributor

@botovq botovq commented Dec 4, 2025

This API has been deprecated since forever and will be removed.

I'd actually prefer doing this for rust-openssl, so we can remove this API when we drop support for OpenSSL 1.0.2:

-    #[cfg(any(all(ossl102, not(ossl110)), libressl))]
+    #[cfg(all(ossl102, not(ossl110)))]

But of course doing this would be a semver breaking change.

Really the only reason for ASN1_STRING_data to be bound at all is the lack of the const-correct ASN1_STRING_get0_data in very old Open/LibreSSLs

@botovq botovq merged commit 759e926 into rust-openssl:master Dec 4, 2025
81 checks passed
@botovq botovq deleted the rm-asn1-string-data branch December 4, 2025 12:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants