On Sun, Jun 28, 2026 at 06:56:14PM +0200, Matthias Andree via Mutt-dev wrote:
> Thanks. Regarding the #ifdefs, wouldn't the accessor functions also work on
> older OpenSSL releases, too, so that mutt could switch to the accessor API
> wholesale?

I'm not really familiar with OpenSSL, so I played it safe.

According to <https://docs.openssl.org/1.0.2/man3/ASN1_STRING_length/>,
ASN1_STRING_length() has been available since at least version 1.0.2,
and ASN1_STRING_get0_data() since at least version 1.1.1
<https://docs.openssl.org/1.1.1/man3/ASN1_STRING_length/>.

LibreSSL dates back to July 2014 (2.0.0), which would be before OpenSSL
1.0.2 (January 2015). I haven“t been able to find online when these two
functions became available in LibreSSL.

Dennis

Reply via email to