[openssh-commits] [openssh] branch master updated: Don't use OpenSSL's ed25519 if built without EC.
git+noreply at mindrot.org
git+noreply at mindrot.org
Thu Nov 13 09:54:50 AEDT 2025
This is an automated email from the git hooks/post-receive script.
dtucker pushed a commit to branch master
in repository openssh.
The following commit(s) were added to refs/heads/master by this push:
new 08786bbe7 Don't use OpenSSL's ed25519 if built without EC.
08786bbe7 is described below
commit 08786bbe7eebff316efb0b4ccb882f93f33a16b8
Author: Darren Tucker <dtucker at dtucker.net>
AuthorDate: Thu Nov 13 09:53:17 2025 +1100
Don't use OpenSSL's ed25519 if built without EC.
Explicitly check for OPENSSL_NO_EC, since otherwise the test will link
but then fail at runtime.
---
configure.ac | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/configure.ac b/configure.ac
index 86cf56689..f7e9d4184 100644
--- a/configure.ac
+++ b/configure.ac
@@ -3357,6 +3357,10 @@ if test "x$openssl" = "xyes" ; then
[AC_LANG_PROGRAM([[
#include <string.h>
#include <openssl/evp.h>
+ #include <openssl/opensslconf.h>
+ #ifdef OPENSSL_NO_EC
+ # error "OpenSSL has no EC support."
+ #endif
]], [[
unsigned char buf[64];
memset(buf, 0, sizeof(buf));
--
To stop receiving notification emails like this one, please contact
djm at mindrot.org.
More information about the openssh-commits
mailing list