Add test for EC_KEY_set_private_key()
authorRoberto Hueso Gomez <roberto@robertohueso.org>
Mon, 1 Aug 2022 00:08:47 +0000 (02:08 +0200)
committerNicola Tuveri <nic.tuv@gmail.com>
Thu, 4 Aug 2022 09:09:15 +0000 (12:09 +0300)
commit1c2f52bed3ebee6222cf078278074c72717df4ec
treec3535beae273b4969c3ebd9d67138e0bfaff791c
parent143d7d4c791df8b9051356be51d9f77bc241fe4c
Add test for EC_KEY_set_private_key()

This tests the behavior and API of the EC_KEY_set_private_key function.
It tests compliance with legacy features related to NULL private keys
too.

Reviewed-by: Nicola Tuveri <nic.tuv@gmail.com>
Reviewed-by: Matt Caswell <matt@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/18874)
test/ec_internal_test.c