[openssh-commits] [openssh] 02/03: BoringSSL doesn't support EC_POINT_point2bn()

git+noreply at mindrot.org git+noreply at mindrot.org
Fri Mar 24 15:40:17 AEDT 2023


This is an automated email from the git hooks/post-receive script.

djm pushed a commit to branch master
in repository openssh.

commit 9a97cd106466a2a9bda2bfaa4c48c4f1b2cc9c1b
Author: Damien Miller <djm at mindrot.org>
Date:   Fri Mar 24 15:34:29 2023 +1100

    BoringSSL doesn't support EC_POINT_point2bn()
    
    so don't invoke it in unittest
---
 regress/unittests/sshkey/test_file.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/regress/unittests/sshkey/test_file.c b/regress/unittests/sshkey/test_file.c
index 497ab6dd..488944c3 100644
--- a/regress/unittests/sshkey/test_file.c
+++ b/regress/unittests/sshkey/test_file.c
@@ -266,6 +266,7 @@ sshkey_file_tests(void)
 	ASSERT_STRING_EQ((const char *)sshbuf_ptr(buf),
 	    OBJ_nid2sn(k1->ecdsa_nid));
 	sshbuf_free(buf);
+#ifndef OPENSSL_IS_BORINGSSL /* lacks EC_POINT_point2bn() */
 	a = load_bignum("ecdsa_1.param.priv");
 	b = load_bignum("ecdsa_1.param.pub");
 	c = EC_POINT_point2bn(EC_KEY_get0_group(k1->ecdsa),
@@ -277,6 +278,7 @@ sshkey_file_tests(void)
 	BN_free(a);
 	BN_free(b);
 	BN_free(c);
+#endif /* OPENSSL_IS_BORINGSSL */
 	TEST_DONE();
 
 	TEST_START("parse ECDSA from private w/ passphrase");

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


More information about the openssh-commits mailing list