mirror of git://anongit.mindrot.org/openssh.git
BoringSSL doesn't support EC_POINT_point2bn()
so don't invoke it in unittest
This commit is contained in:
parent
cc5969c033
commit
9a97cd1064
|
@ -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");
|
||||
|
|
Loading…
Reference in New Issue