Re: Build issue with OpenSSL >= 4.0
"Kevin J. McCarthy" <[email protected]> Mon, 29 Jun 2026 09:45:31 +0800
| Newsgroups | gmane.mail.mutt.devel |
|---|---|
| Message-ID | <[email protected]> |
--6RUNYZ5EwfjpkTPt Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, Jun 28, 2026 at 06:39:08PM +0200, Dennis Preiser wrote: >Building mutt with OpenSSL >=3D 4.0 fails. > >| mutt_ssl.c:986:33: error: incomplete definition of type 'ASN1_IA5STRING'= (aka 'struct asn1_string_st') >| /Users/dennis/sw/include/openssl/types.h:57:16: note: forward declaratio= n of 'struct asn1_string_st' >| mutt_ssl.c:987:53: error: incomplete definition of type 'ASN1_IA5STRING'= (aka 'struct asn1_string_st') >| /Users/dennis/sw/include/openssl/types.h:57:16: note: forward declaratio= n of 'struct asn1_string_st' >| mutt_ssl.c:987:92: error: incomplete definition of type 'ASN1_IA5STRING'= (aka 'struct asn1_string_st') >| /Users/dennis/sw/include/openssl/types.h:57:16: note: forward declaratio= n of 'struct asn1_string_st' >| mutt_ssl.c:989:72: error: incomplete definition of type 'ASN1_IA5STRING'= (aka 'struct asn1_string_st') >| /Users/dennis/sw/include/openssl/types.h:57:16: note: forward declaratio= n of 'struct asn1_string_st' > >The reason is a change in OpenSSL: the ASN1_STRING is now opaque and can >no longer be accessed directly. Now, accessor functions must be used. > >See <https://openssl-library.org/post/2026-04-13-asn1_string/> > >The attached diff fixes this for me; something like this seems to be >necessary for OpenSSL >=3D 4.0. Thanks for the heads-up and patch. I'll apply it to stable and try release 2.4.1 this week. --=20 Kevin J. McCarthy GPG Fingerprint: 8975 A9B3 3AA3 7910 385C 5308 ADEF 7684 8031 6BDA --6RUNYZ5EwfjpkTPt Content-Type: application/pgp-signature; name=signature.asc -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEEiXWpszqjeRA4XFMIre92hIAxa9oFAmpBzjsACgkQre92hIAx a9oyGRAAsMeDq77fSb74Bb/g1aQPZINqrpzmO34bTEEZjNhdzRbf7ZF7xqssiCFU GA6NavHxQ42f4x6dMX7rAqPxWe5ZnXyflgWhtAqlFkUimUbIgHD177z+lrR2b6Wj Tbqq9XOUKtylfLsZTe4coCa3/zJ9sJNrrZbyZoNS7Osi9DgHhCcHjTuN4ew5rqqW rOfz9/DmSdMQwACDBSjQ+eZs0RgkqTGeiZWrZAU8/vCgM/4VTwdCBgqB0SY6q+n0 R4Ur6+pOaLbq7ls94K5En6QfJtFyc8CyzqXYxDzxo7hnvQLUhDqGn1Wq1jjlVEkm aonkgmyua72eZDA63rI+EuJtoNRe3xC7MMadIbxIRf8anEqkaL4r/bMfXNaXQILj QPkV0rV3siQs1vfi9WETw3wDW+MJo3IysT1Dp3IPZmngt+lOFEz4EEFzD3x+Zw79 tZxpyKuBy/7JmbApPAtxIMRWs94LFVpo1C12R+AF9ID9ZVWPRXEIt+7NsgV59AI6 QkYuX3wJkrrcb3QzXQqdB2q1bkYxYI7UwHINv1WrogbduCcH1w2NyDw91XIh14+F Pzr+OyD+1wthgRi4b3rs25biJ4zs73Kk5oselyzdOEHoTo615oVj8PoT3TL6JevE /CpM3A0r8ukMwAYOMfMg95UgKyIVN60U5XZDTNJoGEtXIQtydW4= =4zRD -----END PGP SIGNATURE----- --6RUNYZ5EwfjpkTPt--