Content-Type: multipart/alternative; boundary="------------4vIUiXnQ0Gymy6iGBtILGNOQ" Message-ID: <6253558a-1f0a-4484-8bdb-455b9b1bd01d@...1227...> Date: Sun, 22 Mar 2026 13:40:32 +0100 MIME-Version: 1.0 References: From: Arne Schwabe In-Reply-To: Subject: Re: [Openvpn-devel] [PATCH] ssl_verify_openssl: use official ASN1_STRING_ API List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Rudi Heitbaum , openvpn-devel@lists.sourceforge.net This is a multi-part message in MIME format. --------------4vIUiXnQ0Gymy6iGBtILGNOQ Content-Type: text/plain; charset="utf-8"; format="flowed" Content-Transfer-Encoding: 8bit Am 22.03.2026 um 05:36 schrieb Rudi Heitbaum via Openvpn-devel: > ASN1_STRING are now opaque types in OpenSSL 4.x — the internal data and > length fields are no longer directly accessible. Use the accessor API > instead. Accessors have been available since OpenSSL 1.1.0 > > The ASN1_STRING_length accessor is already in use, but not consistently > applied. Standardise on using ASN1_STRING_length and ASN1_STRING_get0_data > which allows for successful build of OpenSSL 4.x > > Signed-off-by: Rudi Heitbaum Looks good and the GIthub build for it in the PR are also green with aws-lc and libressl (ssl_verify_openssl: use official ASN1_STRING_ API by heitbaum · Pull Request #1003 · OpenVPN/openvpn ) Acked-By: Arne Schwabe --------------4vIUiXnQ0Gymy6iGBtILGNOQ Content-Type: text/html; charset="utf-8" Content-Transfer-Encoding: 8bit


Am 22.03.2026 um 05:36 schrieb Rudi Heitbaum via Openvpn-devel:
ASN1_STRING are now opaque types in OpenSSL 4.x — the internal data and
length fields are no longer directly accessible. Use the accessor API
instead. Accessors have been available since OpenSSL 1.1.0

The ASN1_STRING_length accessor is already in use, but not consistently
applied. Standardise on using ASN1_STRING_length and ASN1_STRING_get0_data
which allows for successful build of OpenSSL 4.x

Signed-off-by: Rudi Heitbaum <rudi@...2993...>

Looks good and the GIthub build for it in the PR are also green with aws-lc and libressl (ssl_verify_openssl: use official ASN1_STRING_ API by heitbaum · Pull Request #1003 · OpenVPN/openvpn) 

Acked-By: Arne Schwabe <arne@...1227...>

--------------4vIUiXnQ0Gymy6iGBtILGNOQ--