Searched hist:"26 fb83eff52ccab4f26b64a99324b5b3daf4f1c1" (Results 1 – 1 of 1) sorted by relevance
/openbmc/phosphor-certificate-manager/ |
H A D | certs_manager.cpp | diff 26fb83eff52ccab4f26b64a99324b5b3daf4f1c1 Tue Dec 14 14:08:28 CST 2021 Patrick Williams <patrick@stwcx.xyz> certs_manager: switch keygen to support openssl-3
Many of the functions currently used to generate key pairs are deprecated in OpenSSL-3. Update keygen functions to use non-deprecated functions.
Unfortunately, the replacement functions are not available in OpenSSL-1, so we have to add an #ifdef block around the proper routines for each version.
Tested: Ran test cases under both OpenSSL1 and OpenSSL3.
Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: I888a8a796cc97caf8c402cd546ab39b4931960ed
|