diff options
author | Laszlo Ersek <laszlo.ersek@posteo.net> | 2024-12-12 23:22:50 +0100 |
---|---|---|
committer | mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> | 2024-12-16 02:22:36 +0000 |
commit | 89b527df172c7a1c40eda7e311a48772fcf22f40 (patch) | |
tree | d4d4251f9496f99b415d8d7e32dd5e2f2850682a | |
parent | 1a440d96387bbbf04c24ef024e0bc19e99cd849f (diff) | |
download | edk2-89b527df172c7a1c40eda7e311a48772fcf22f40.tar.gz |
CryptoPkg: revert BUFSIZ macro definition from commit 456dd8b99f00
OpenSSL ticket <https://github.com/openssl/openssl/issues/8904> has been
fixed in OpenSSL commit 2e9d61ecd81a ("crypto/evp/evp_key.c: #define
BUFSIZ if <stdio.h> doesn't #define it", 2019-05-27).
We should simplify "CryptoPkg/Library/Include/CrtLibSupport.h" and back
out the change made to that file by edk2 commit 456dd8b99f00 ("CryptoPkg:
Upgrade OpenSSL to 1.1.1b", 2019-06-03).
Ref: https://bugzilla.tianocore.org/show_bug.cgi?id=1897
Signed-off-by: Laszlo Ersek <laszlo.ersek@posteo.net>
-rw-r--r-- | CryptoPkg/Library/Include/CrtLibSupport.h | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/CryptoPkg/Library/Include/CrtLibSupport.h b/CryptoPkg/Library/Include/CrtLibSupport.h index cd51e197e7..b43bfd41b1 100644 --- a/CryptoPkg/Library/Include/CrtLibSupport.h +++ b/CryptoPkg/Library/Include/CrtLibSupport.h @@ -25,17 +25,6 @@ SPDX-License-Identifier: BSD-2-Clause-Patent #define MAX_STRING_SIZE 0x1000
//
-// We already have "no-ui" in out Configure invocation.
-// but the code still fails to compile.
-// Ref: https://github.com/openssl/openssl/issues/8904
-//
-// This is defined in CRT library(stdio.h).
-//
-#ifndef BUFSIZ
-#define BUFSIZ 8192
-#endif
-
-//
// OpenSSL relies on explicit configuration for word size in crypto/bn,
// but we want it to be automatically inferred from the target. So we
// bypass what's in <openssl/opensslconf.h> for OPENSSL_SYS_UEFI, and
|