Dear Maintainer, In Ubuntu, the attached patch fixes the FTBFS with OpenSSL 4, by updating "configure.ac" to apply the "SSL11" define to OpenSSL 4. This allows it to correctly handle EVP_CIPHER_CTX as an opaque type. Otherwise, with OpenSSL 4 it is reverting to codepaths intended for versions before 1.1.
Launchpad bug: https://bugs.launchpad.net/ubuntu/+source/ipmiutil/+bug/2154854 PPA build: https://launchpad.net/~blkerby/+archive/ubuntu/openssl4-transition/+packages Forwarded upstream: https://sourceforge.net/p/ipmiutil/feature-requests/13/ Thanks for considering the patch. - Brent Kerby
Description: Enable OpenSSL 1.1-style (SSL11) API for OpenSSL 4.x SSL11 was only enabled for openssl 1.1 and major version 3. With OpenSSL 4, EVP_CIPHER_CTX is opaque, so lanplus fails to build with "storage size of 'ctx' isn't known" unless -DSSL11 is set. Author: Brent Kerby <[email protected]> Bug-Ubuntu: https://bugs.launchpad.net/ubuntu/+source/ipmiutil/+bug/2154854 Bug-Debian: https://bugs.debian.org/1138307 Forwarded: https://sourceforge.net/p/ipmiutil/feature-requests/13/ Last-Update: 2026-07-13 =================================================================== --- a/configure.ac +++ b/configure.ac @@ -443,7 +443,7 @@ MD2_CFLAGS="-DSKIP_MD2 -DSSL11" sslnew=1 fi - if test "$sslrel" = "3"; then + if test "$sslrel" = "3" -o "$sslrel" = "4"; then echo "Detected openssl-$sslver" MD2_CFLAGS="-DSKIP_MD2 -DSSL11" sslnew=1

