[Bug 3952] openssh-10.3_p1 fails to build with openssl-4.0.0

bugzilla-daemon at mindrot.org bugzilla-daemon at mindrot.org
Fri Apr 24 11:06:02 AEST 2026


https://bugzilla.mindrot.org/show_bug.cgi?id=3952

--- Comment #4 from Darren Tucker <dtucker at dtucker.net> ---
Created attachment 3960
  --> https://bugzilla.mindrot.org/attachment.cgi?id=3960&action=edit
Explicitly check for OPENSSL_NO_ENGINE in engine support check.

You're welcome.  Configure has a check to confirm ENGINE support:

AC_MSG_CHECKING([for OpenSSL ENGINE support])
AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[
        #include <openssl/engine.h> 
    ]], [[
        ENGINE_load_builtin_engines();
        ENGINE_register_all_complete();
    ]])],
        AC_MSG_RESULT([yes])
...

however it looks like OpenSSL 4.0.0 has stubs for those functions,
despite also setting OPENSSL_NO_ENGINE. This was enough to fool the
existing test.  I'll add an explicit check for OPENSSL_NO_ENGINE which
should make future instances more obvious.

-- 
You are receiving this mail because:
You are watching someone on the CC list of the bug.
You are watching the assignee of the bug.


More information about the openssh-bugs mailing list