diff options
author | Gerd Hoffmann <kraxel@redhat.com> | 2022-01-12 12:35:16 +0100 |
---|---|---|
committer | Tomas Mraz <tomas@openssl.org> | 2022-01-21 12:45:20 +0100 |
commit | 4d5447fe9222a72f6289fcb9c09b7daa91e528a9 (patch) | |
tree | e3cb7be9ec398f251c8032dc922faf03e7f90642 /crypto | |
parent | 3d046c4d047a55123beeceffe9f8bae09159445e (diff) |
Revert "crypto/bio: fix build on UEFI"
This reverts commit 328bf5adf9e23da523d4195db309083aa02403c4.
Turned out it isn't that simple, the fix is incomplete.
So revert and try again with another approach.
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Reviewed-by: Paul Dale <pauli@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/17547)
(cherry picked from commit 619c9bad41d041bab2ac6ba3933d526b48ceee2a)
Diffstat (limited to 'crypto')
-rw-r--r-- | crypto/bio/bio_print.c | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/crypto/bio/bio_print.c b/crypto/bio/bio_print.c index 60b28c61ff..1ea9a1a3c6 100644 --- a/crypto/bio/bio_print.c +++ b/crypto/bio/bio_print.c @@ -13,7 +13,6 @@ #include "crypto/ctype.h" #include "internal/numbers.h" #include <openssl/bio.h> -#include <openssl/configuration.h> /* * Copyright Patrick Powell 1995 @@ -513,11 +512,7 @@ fmtint(char **sbuffer, return 1; } -#ifdef OPENSSL_SYS_UEFI -static LDOUBLE EFIAPI abs_val(LDOUBLE value) -#else static LDOUBLE abs_val(LDOUBLE value) -#endif { LDOUBLE result = value; if (value < 0) @@ -525,11 +520,7 @@ static LDOUBLE abs_val(LDOUBLE value) return result; } -#ifdef OPENSSL_SYS_UEFI -static LDOUBLE EFIAPI pow_10(int in_exp) -#else static LDOUBLE pow_10(int in_exp) -#endif { LDOUBLE result = 1; while (in_exp) { |