summaryrefslogtreecommitdiff
path: root/Cryptlib/SysCall
diff options
context:
space:
mode:
authorGary Lin <glin@suse.com>2017-03-15 15:39:16 +0800
committerPeter Jones <pjones@redhat.com>2017-03-24 18:28:30 -0400
commit832152986545e8fc66f1ed5cf9d8bf518c7df2b3 (patch)
tree76780cd3e18c8d43fab3d812a8f617613a9522e2 /Cryptlib/SysCall
parent3ee08dde9c6541186e6b72d1fbdf1a13d516bea4 (diff)
downloadefi-boot-shim-832152986545e8fc66f1ed5cf9d8bf518c7df2b3.tar.gz
efi-boot-shim-832152986545e8fc66f1ed5cf9d8bf518c7df2b3.zip
Update Cryptlib
Update to edk2 commit 6e4489d8129d233ef0fe85eeb6eebfecafe9ea6e (CryptoPkg: Refine type cast for pointer subtraction) Also replaced CryptAes.c, CryptArc4.c, CryptTdes.c, CryptMd4.c, CryptHmacMd5.c, and CryptHmacSha1.c with the Null version since we don't really need those functions. Signed-off-by: Gary Lin <glin@suse.com>
Diffstat (limited to 'Cryptlib/SysCall')
-rw-r--r--Cryptlib/SysCall/CrtWrapper.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/Cryptlib/SysCall/CrtWrapper.c b/Cryptlib/SysCall/CrtWrapper.c
index 3a852b9e..1afe319f 100644
--- a/Cryptlib/SysCall/CrtWrapper.c
+++ b/Cryptlib/SysCall/CrtWrapper.c
@@ -374,6 +374,11 @@ size_t fread (void *b, size_t c, size_t i, FILE *f)
return 0;
}
+int fputs (const char *s, FILE *f)
+{
+ return 0;
+}
+
int fprintf (FILE *f, const char *s, ...)
{
return 0;
@@ -438,3 +443,8 @@ ssize_t write (int f, const void *b, size_t l)
{
return 0;
}
+
+int printf (char const *fmt, ...)
+{
+ return 0;
+}