Commit 22cca52501 for openssl.org
commit 22cca525016ccf44543b8138c84f0bcc691f83a3
Author: Eugene Syromiatnikov <esyr@openssl.org>
Date: Wed Sep 23 03:30:04 2026 +0200
doc/man3/ASN1_STRING_length.pod: mention deprecations
Add a mention of ASN1_STRING_length() and ASN1_STRING_set() deprecation
to the HISTORY section.
Complements: 28179061bfcd "Prepare a now opaque ASN1_STRING for the size_t rapture."
Signed-off-by: Eugene Syromiatnikov <esyr@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.foundation>
Reviewed-by: Nikola Pajkovsky <nikolap@openssl.org>
Merge-date: Tue Nov 10 15:07:04 2026
Merged-from: https://github.com/openssl/openssl/pull/32937
diff --git a/doc/man3/ASN1_STRING_length.pod b/doc/man3/ASN1_STRING_length.pod
index cd40f49102..2ae1118cb4 100644
--- a/doc/man3/ASN1_STRING_length.pod
+++ b/doc/man3/ASN1_STRING_length.pod
@@ -216,6 +216,8 @@ ASN1_STRING_length_set() was deprecated in OpenSSL 3.0.
ASN1_STRING_set1_data(), ASN1_STRING_set1_string(), and ASN1_STRING_get_length()
were added in OpenSSL 4.1.
+ASN1_STRING_length() and ASN1_STRING_set() were deprecated in OpenSSL 4.1.
+
Before OpenSSL 4.1, ASN1_STRING_set0() used OPENSSL_free()
instead of OPENSSL_clean_free() to free previously held string content.