]> git.proxmox.com Git - mirror_edk2.git/blobdiff - CryptoPkg/Library/BaseCryptLib/SysCall/CrtWrapper.c
CryptoPkg: Enable ssl build in OpensslLib directly
[mirror_edk2.git] / CryptoPkg / Library / BaseCryptLib / SysCall / CrtWrapper.c
index fb446b677044c35764c9e86bf1c7e8782ced1901..a2386bc0730c26ad4c0a78d3a39b8900c8e67dc5 100644 (file)
@@ -2,7 +2,7 @@
   C Run-Time Libraries (CRT) Wrapper Implementation for OpenSSL-based\r
   Cryptographic Library.\r
 \r
-Copyright (c) 2009 - 2011, Intel Corporation. All rights reserved.<BR>\r
+Copyright (c) 2009 - 2016, Intel Corporation. All rights reserved.<BR>\r
 This program and the accompanying materials\r
 are licensed and made available under the terms and conditions of the BSD License\r
 which accompanies this distribution.  The full text of the license may be found at\r
@@ -22,7 +22,7 @@ FILE  *stdin  = NULL;
 FILE  *stdout = NULL;\r
 \r
 typedef\r
-INTN\r
+int\r
 (*SORT_COMPARE)(\r
   IN  VOID  *Buffer1,\r
   IN  VOID  *Buffer2\r
@@ -384,6 +384,11 @@ size_t fread (void *b, size_t c, size_t i, FILE *f)
   return 0;\r
 }\r
 \r
+int fputs (const char *s, FILE *f)\r
+{\r
+  return 0;\r
+}\r
+\r
 int fprintf (FILE *f, const char *s, ...)\r
 {\r
   return 0;\r
@@ -448,3 +453,8 @@ ssize_t write (int f, const void *b, size_t l)
 {\r
   return 0;\r
 }\r
+\r
+int printf (char const *fmt, ...)\r
+{\r
+  return 0;\r
+}\r