Skip to content

ext/openssl: Fix build with OpenSSL 4.1 - #24686

Open
LamentXU123 wants to merge 1 commit into
php:PHP-8.6from
LamentXU123:openssl-4.1-compat-php86
Open

LamentXU123 wants to merge 1 commit into
php:PHP-8.6from
LamentXU123:openssl-4.1-compat-php86

Conversation

@LamentXU123

@LamentXU123 LamentXU123 commented Oct 25, 2026 •

Copy link
Copy Markdown
Member

OpenSSL 4.1 deprecates ASN1_STRING_set() and ASN1_STRING_length(). use ASN1_STRING_set1_data() and ASN1_STRING_get_length() instead as recommended in official doc
https://docs.openssl.org/4.1/man7/ossl-guide-migration/#asn1_string-values-have-never-been-nul-byte-terminated

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant