[openssh-commits] [openssh] branch master updated: fix merge botch that broke !OPENSSL_HAS_ECC
git+noreply at mindrot.org
git+noreply at mindrot.org
Thu Aug 15 23:36:13 AEST 2024
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 4da2a1a7 fix merge botch that broke !OPENSSL_HAS_ECC
4da2a1a7 is described below
commit 4da2a1a7f648979bea6eaf3b17f5f250faed4afc
Author: Damien Miller <djm at mindrot.org>
AuthorDate: Thu Aug 15 23:35:54 2024 +1000
fix merge botch that broke !OPENSSL_HAS_ECC
---
sshbuf-getput-crypto.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/sshbuf-getput-crypto.c b/sshbuf-getput-crypto.c
index b710a9e0..e7bffe22 100644
--- a/sshbuf-getput-crypto.c
+++ b/sshbuf-getput-crypto.c
@@ -176,7 +176,7 @@ sshbuf_put_eckey(struct sshbuf *buf, const EC_KEY *v)
return sshbuf_put_ec(buf, EC_KEY_get0_public_key(v),
EC_KEY_get0_group(v));
}
-#endif /* OPENSSL_HAS_ECC */
+
int
sshbuf_put_ec_pkey(struct sshbuf *buf, EVP_PKEY *pkey)
{
@@ -186,4 +186,5 @@ sshbuf_put_ec_pkey(struct sshbuf *buf, EVP_PKEY *pkey)
return SSH_ERR_LIBCRYPTO_ERROR;
return sshbuf_put_eckey(buf, ec);
}
+#endif /* OPENSSL_HAS_ECC */
#endif /* WITH_OPENSSL */
--
To stop receiving notification emails like this one, please contact
djm at mindrot.org.
More information about the openssh-commits
mailing list