Skip to content

Commit

Permalink
Fix OpenSSL ED25519 support detection
Browse files Browse the repository at this point in the history
Wrong function signature in configure.ac prevents openssh from enabling
the recently new support for ED25519 priv keys in PEM PKCS8 format.
  • Loading branch information
Alkaid-Benetnash authored and djmdjm committed Mar 30, 2024
1 parent 697359b commit 8d0e46c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -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);
]])],
[
Expand Down

0 comments on commit 8d0e46c

Please sign in to comment.