Skip to content

Conversation

@botovq
Copy link

@botovq botovq commented Jan 24, 2026

ASN1_STRING_data() has been deprecated in favor of its const correct replacement ASN1_STRING_get0_data() since OpenSSL 1.1. A recent change removed ASN1_STRING_data() from OpenSSL.

ASN1_STRING_get0_data() has been available in all the major forks of OpenSSL for a long time, so this only introduces a compatibility problem if vmime still supports OpenSSL <= 1.0.2, in which case I can add a compat define.

`ASN1_STRING_data()` has been deprecated in favor of its const correct
replacement `ASN1_STRING_get0_data()` since OpenSSL 1.1. A recent change
[removed][1] `ASN1_STRING_data()` from OpenSSL.

`ASN1_STRING_get0_data()` has been available in all the major forks of
OpenSSL for a long time, so this only introduces a compatibility problem
if vmime still supports OpenSSL <= 1.0.2, in which case I can add a
compat define.

[1]: openssl/openssl#29149
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.

1 participant