From: Alkaid Date: Tue, 12 Mar 2024 10:59:12 +0000 (-0700) Subject: Fix OpenSSL ED25519 support detection X-Git-Tag: V_9_8_P1~140 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8d0e46c1ddb5b7f0992591b0dc5d8aaa77cc9dba;p=thirdparty%2Fopenssh-portable.git Fix OpenSSL ED25519 support detection Wrong function signature in configure.ac prevents openssh from enabling the recently new support for ED25519 priv keys in PEM PKCS8 format. --- diff --git a/configure.ac b/configure.ac index 82e8bb7c1..081e2bc75 100644 --- a/configure.ac +++ b/configure.ac @@ -3184,7 +3184,7 @@ if test "x$openssl" = "xyes" ; then ]], [[ unsigned char buf[64]; memset(buf, 0, sizeof(buf)); - exit(EVP_PKEY_new_raw_private_key(EVP_PKEY_ED25519, + exit(EVP_PKEY_new_raw_private_key(EVP_PKEY_ED25519, NULL, buf, sizeof(buf)) == NULL); ]])], [