summaryrefslogtreecommitdiff
path: root/.clang-format
diff options
context:
space:
mode:
authorPatrick Williams <patrick@stwcx.xyz>2021-12-08 06:05:04 +0300
committerPatrick Williams <patrick@stwcx.xyz>2021-12-15 00:21:10 +0300
commit145bb764f4132d01e96be5b19510bef63ab63312 (patch)
tree1f0b4837acf4a40fdf0a8cc66e5d4587e2ae000f /.clang-format
parentaec7066c6bf1cd418418e03dc7e0edefa8595b77 (diff)
downloadbmcweb-145bb764f4132d01e96be5b19510bef63ab63312.tar.xz
ssl_key_handler: support OpenSSL 3.0 for key verification
Loading and checking of keys is one area where OpenSSL 1.0 and 3.0 are not compatible. Many of the functions currently used in the ssl_key_handler are deprecated in 3.0, but the APIs necessary for conversion also do not exist in 1.0. Until OpenSSL 3.0 is widely used in Linux distributions we therefore need to support both APIs. Add a #define on the OPENSSL_VERSION_NUMBER to identify 3.x (or greater) support and switch between the two API sets. Tested: Added to a Yocto test build for the subtree update that includes OpenSSL 3.x and confirmed Romulus QEMU test is successful. Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: I22bc77753bb32d1b92932f9918d64856a4e52af8
Diffstat (limited to '.clang-format')
0 files changed, 0 insertions, 0 deletions