[openssh-commits] [openssh] branch master updated: more ec/ed25519 fixing
git+noreply at mindrot.org
git+noreply at mindrot.org
Sat Jul 26 19:20:04 AEST 2025
This is an automated email from the git hooks/post-receive script.
djm pushed a commit to branch master
in repository openssh.
The following commit(s) were added to refs/heads/master by this push:
new 5e4bfe6c1 more ec/ed25519 fixing
5e4bfe6c1 is described below
commit 5e4bfe6c16924b1c21a733f3e218cfcba98e301e
Author: Damien Miller <djm at mindrot.org>
AuthorDate: Sat Jul 26 19:19:46 2025 +1000
more ec/ed25519 fixing
---
ssh-pkcs11.c | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/ssh-pkcs11.c b/ssh-pkcs11.c
index 4ab1fa90e..98d1732bb 100644
--- a/ssh-pkcs11.c
+++ b/ssh-pkcs11.c
@@ -87,7 +87,7 @@ TAILQ_HEAD(, pkcs11_key) pkcs11_keys; /* XXX a tree would be better */
int pkcs11_interactive = 0;
-#ifdef OPENSSL_HAS_ECC
+#if defined(OPENSSL_HAS_ECC) || defined(OPENSSL_HAS_ED25519)
static void
ossl_error(const char *msg)
{
@@ -1207,7 +1207,7 @@ pkcs11_fetch_x509_pubkey(struct pkcs11_provider *p, CK_ULONG slotidx,
X509_NAME *x509_name = NULL;
EVP_PKEY *evp;
RSA *rsa = NULL;
- EC_KEY *ec = NULL;
+
struct sshkey *key = NULL;
int i, success = -1;
const u_char *cp;
@@ -1216,6 +1216,7 @@ pkcs11_fetch_x509_pubkey(struct pkcs11_provider *p, CK_ULONG slotidx,
size_t len;
#endif /* OPENSSL_HAS_ED25519 */
#ifdef OPENSSL_HAS_ECC
+ EC_KEY *ec = NULL;
int r, nid;
#endif
--
To stop receiving notification emails like this one, please contact
djm at mindrot.org.
More information about the openssh-commits
mailing list