]> git.ipfire.org Git - thirdparty/openssh-portable.git/commitdiff
Fix OpenSSL ED25519 support detection
authorAlkaid <zgf574564920@gmail.com>
Tue, 12 Mar 2024 10:59:12 +0000 (03:59 -0700)
committerDamien Miller <djm@mindrot.org>
Sat, 30 Mar 2024 04:36:18 +0000 (15:36 +1100)
Wrong function signature in configure.ac prevents openssh from enabling
the recently new support for ED25519 priv keys in PEM PKCS8 format.

configure.ac

index 82e8bb7c14103535b8cfa8a5899f238dc498b6d1..081e2bc75bd3f54256f12e19e7b6a4b9b60a0cae 100644 (file)
@@ -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);
                ]])],
                [