]> git.ipfire.org Git - thirdparty/openssl.git/commit
crypto/bio: fix build on UEFI
authorGerd Hoffmann <kraxel@redhat.com>
Fri, 7 Jan 2022 11:58:27 +0000 (12:58 +0100)
committerPauli <ppzgs1@gmail.com>
Sun, 9 Jan 2022 11:17:14 +0000 (22:17 +1100)
commit328bf5adf9e23da523d4195db309083aa02403c4
tree801e9fe5d7cd571bbb808ac42d204da53aee70bc
parent40c24d74deaad8a0ad7566a68ea5ea757bc3ccef
crypto/bio: fix build on UEFI

When compiling openssl for tianocore compiling abs_val() and pow_10()
fails with the following error because SSE support is disabled:

   crypto/bio/bio_print.c:587:46: error: SSE register return with SSE disabled

Fix that by using EFIAPI calling convention when compiling for UEFI.

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
Reviewed-by: Paul Dale <pauli@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/17442)
crypto/bio/bio_print.c