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)
#include "crypto/ctype.h"
#include "internal/numbers.h"
#include <openssl/bio.h>
-#include <openssl/configuration.h>
/*
* Copyright Patrick Powell 1995
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)
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) {