From 9a97cd106466a2a9bda2bfaa4c48c4f1b2cc9c1b Mon Sep 17 00:00:00 2001 From: Damien Miller Date: Fri, 24 Mar 2023 15:34:29 +1100 Subject: [PATCH] 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 497ab6dde..488944c3b 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");