]> git.proxmox.com Git - mirror_edk2.git/blobdiff - CryptoPkg/Library/Include/CrtLibSupport.h
CryptoPkg: Upgrade OpenSSL to 1.1.1b
[mirror_edk2.git] / CryptoPkg / Library / Include / CrtLibSupport.h
index b05c5d908ce2605ca159bf9d52a7e091718d4559..5806f50f7485101dad8bb9da18306aa8747b3928 100644 (file)
@@ -2,7 +2,7 @@
   Root include file of C runtime library to support building the third-party\r
   cryptographic library.\r
 \r
-Copyright (c) 2010 - 2017, Intel Corporation. All rights reserved.<BR>\r
+Copyright (c) 2010 - 2019, Intel Corporation. All rights reserved.<BR>\r
 SPDX-License-Identifier: BSD-2-Clause-Patent\r
 \r
 **/\r
@@ -20,6 +20,17 @@ SPDX-License-Identifier: BSD-2-Clause-Patent
 \r
 #define MAX_STRING_SIZE  0x1000\r
 \r
+//\r
+// We already have "no-ui" in out Configure invocation.\r
+// but the code still fails to compile.\r
+// Ref:  https://github.com/openssl/openssl/issues/8904\r
+//\r
+// This is defined in CRT library(stdio.h).\r
+//\r
+#ifndef BUFSIZ\r
+#define BUFSIZ  8192\r
+#endif\r
+\r
 //\r
 // OpenSSL relies on explicit configuration for word size in crypto/bn,\r
 // but we want it to be automatically inferred from the target. So we\r