Branch: refs/heads/OpenSSL_1_1_1-stable Home: https://github.com/openssl/openssl Commit: 143d7d4c791df8b9051356be51d9f77bc241fe4c https://github.com/openssl/openssl/commit/143d7d4c791df8b9051356be51d9f77bc241fe4c Author: Roberto Hueso Gomez <robe...@robertohueso.org> Date: 2022-08-04 (Thu, 04 Aug 2022)
Changed paths: M crypto/ec/ec_key.c Log Message: ----------- Fix EC_KEY_set_private_key() priv_key regression This allows to set EC_KEY's private key to NULL and fixes regression issue following OTC guideline in https://github.com/openssl/openssl/issues/18744#issuecomment-1195175696 Fixes #18744. Reviewed-by: Nicola Tuveri <nic....@gmail.com> Reviewed-by: Matt Caswell <m...@openssl.org> (Merged from https://github.com/openssl/openssl/pull/18874) Commit: 1c2f52bed3ebee6222cf078278074c72717df4ec https://github.com/openssl/openssl/commit/1c2f52bed3ebee6222cf078278074c72717df4ec Author: Roberto Hueso Gomez <robe...@robertohueso.org> Date: 2022-08-04 (Thu, 04 Aug 2022) Changed paths: M test/ec_internal_test.c Log Message: ----------- 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....@gmail.com> Reviewed-by: Matt Caswell <m...@openssl.org> (Merged from https://github.com/openssl/openssl/pull/18874) Commit: 4648839300475055e3d3ec6859704e80785402e2 https://github.com/openssl/openssl/commit/4648839300475055e3d3ec6859704e80785402e2 Author: Roberto Hueso Gomez <robe...@robertohueso.org> Date: 2022-08-04 (Thu, 04 Aug 2022) Changed paths: M doc/man3/EC_KEY_new.pod Log Message: ----------- Fix EC_KEY_set_private_key() NULL priv_key docs Updates the docs to describe EC_KEY_set_private_key() function behavior when a NULL priv_key argument is passed. Reviewed-by: Nicola Tuveri <nic....@gmail.com> Reviewed-by: Matt Caswell <m...@openssl.org> (Merged from https://github.com/openssl/openssl/pull/18874) Compare: https://github.com/openssl/openssl/compare/0b755cdfb52f...464883930047