]> git.ipfire.org Git - thirdparty/openssl.git/commit - crypto/params.c
crypto/params: drop float for UEFI
authorYi Li <yi1.li@intel.com>
Tue, 16 May 2023 03:09:47 +0000 (11:09 +0800)
committerHugo Landau <hlandau@openssl.org>
Mon, 22 May 2023 06:45:10 +0000 (07:45 +0100)
commit2c500578fc68871eca7fabc7ee36b4027891671b
treed3109ff623fb8d929ad08ebde761b5eb00cc96b9
parentf3afe15fb7d3a1ed4397252d7615e7d788be662a
crypto/params: drop float for UEFI

Using floating point is not supported in UEFI and can cause build
problems, for example due to SSE being disabled and x64 calling
convention passing floats in SSE registers.

Avoid those problems by not compiling the related code for floating
point numbers.

Signed-off-by: Yi Li <yi1.li@intel.com>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
Reviewed-by: Paul Dale <pauli@openssl.org>
Reviewed-by: Hugo Landau <hlandau@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/20992)
crypto/params.c