]> git.proxmox.com Git - mirror_edk2.git/blobdiff - CryptoPkg/Include/OpenSslSupport.h
CryptoPkg/OpensslLib: Update INF files to support OpenSSL-1.1.0x build
[mirror_edk2.git] / CryptoPkg / Include / OpenSslSupport.h
index 600578e780fd272b03ff2d767db6098e3f7f08e1..e011a7cfee54d0b8136cdf043ddf5eb9e5d4b334 100644 (file)
@@ -21,6 +21,9 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
 #include <Library/MemoryAllocationLib.h>\r
 #include <Library/DebugLib.h>\r
 \r
 #include <Library/MemoryAllocationLib.h>\r
 #include <Library/DebugLib.h>\r
 \r
+#define OPENSSLDIR ""\r
+#define ENGINESDIR ""\r
+\r
 #define MAX_STRING_SIZE  0x1000\r
 \r
 //\r
 #define MAX_STRING_SIZE  0x1000\r
 \r
 //\r
@@ -90,6 +93,7 @@ typedef VOID  *FILE;
 #define LOG_DEBUG    7                /* debug-level messages */\r
 #define LOG_PID      0x01             /* log the pid with each message */\r
 #define LOG_CONS     0x02             /* log on the console if errors in sending */\r
 #define LOG_DEBUG    7                /* debug-level messages */\r
 #define LOG_PID      0x01             /* log the pid with each message */\r
 #define LOG_CONS     0x02             /* log on the console if errors in sending */\r
+#define CHAR_BIT     8                /* Number of bits in a char */\r
 \r
 //\r
 // Macros from EFI Application Toolkit required to build Open SSL\r
 \r
 //\r
 // Macros from EFI Application Toolkit required to build Open SSL\r
@@ -216,6 +220,9 @@ int            strncmp     (const char *, const char *, size_t);
 char           *strrchr    (const char *, int);\r
 unsigned long  strtoul     (const char *, char **, int);\r
 long           strtol      (const char *, char **, int);\r
 char           *strrchr    (const char *, int);\r
 unsigned long  strtoul     (const char *, char **, int);\r
 long           strtol      (const char *, char **, int);\r
+char           *strerror   (int);\r
+size_t         strspn      (const char *, const char *);\r
+size_t         strcspn     (const char *, const char *);\r
 int            printf      (const char *, ...);\r
 int            sscanf      (const char *, const char *, ...);\r
 int            open        (const char *, int, ...);\r
 int            printf      (const char *, ...);\r
 int            sscanf      (const char *, const char *, ...);\r
 int            open        (const char *, int, ...);\r