Re: [PATCH 1/3] imap-send: prepare for OpenSSL 4.1
- From
Patrick Steinhardt <ps@pks.im>
- Date
- Sep 8, 2026, 08:26 UTC
- Message-ID
- <ap_GvB8Lonkn0nEy@pks.im>
- In-Reply-To
- <20260907211210.2621693-2-dev+git@drbeat.li>
On Mon, Sep 07, 2026 at 11:12:08PM +0200, Beat Bolli wrote:
> OpenSSL master (to be v4.1 after the release) renamed the function > ASN1_STRING_length() to ASN1_STRING_get_length(). Map the new name to > the old one if we're compiling with a pre-4.1 version.
I can see [1] that the new functions indeed exist now. But it doesn't say anything about the old functions, they still exist and don't seem to be deprecated. So why do we even have to switch to the new function?
Patrick
[1]: https://docs.openssl.org/master/man3/ASN1_STRING_length/