[openssh-commits] [openssh] branch master updated: missed OPENSSL_HAS_ECC case

git+noreply at mindrot.org git+noreply at mindrot.org
Thu Aug 15 15:09:56 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 2c53d2f3 missed OPENSSL_HAS_ECC case
2c53d2f3 is described below

commit 2c53d2f32b8e3992b61682c909ae5bc5122b6e5d
Author: Damien Miller <djm at mindrot.org>
AuthorDate: Thu Aug 15 15:09:45 2024 +1000

    missed OPENSSL_HAS_ECC case
---
 sshkey.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/sshkey.c b/sshkey.c
index be94e874..cc04f94d 100644
--- a/sshkey.c
+++ b/sshkey.c
@@ -3639,7 +3639,9 @@ sshkey_parse_private_pem_fileblob(struct sshbuf *blob, int type,
 	BIO_free(bio);
 	EVP_PKEY_free(pk);
 	RSA_free(rsa);
+#ifdef OPENSSL_HAS_ECC
 	EC_KEY_free(ecdsa);
+#endif
 	sshkey_free(prv);
 	return r;
 }

-- 
To stop receiving notification emails like this one, please contact
djm at mindrot.org.


More information about the openssh-commits mailing list