mirror of
https://github.com/xcat2/xcat-dep.git
synced 2026-07-28 08:39:41 +00:00
b0fe49a81a
On openSUSE Leap 15 (OpenSSL 3) the build fails compiling src/plugins/lan/auth.c with "unknown type name MD2_CTX". OpenSSL 3 removed MD2 from the default provider but still installs a stub openssl/md2.h, so configure's AC_CHECK_HEADER probe succeeds and defines HAVE_CRYPTO_MD2 -- yet MD2_CTX and the MD2_* functions no longer exist, so auth.c's MD2 code path will not compile. Export ac_cv_header_openssl_md2_h=no in %build to force the probe negative, selecting the existing no-MD2 branch (which just warns that MD2 IPMI authcodes are unsupported -- an obsolete, insecure scheme). Systems with a real md2.h are unaffected. Signed-off-by: Daniel Hilst <392820+dhilst@users.noreply.github.com>