summaryrefslogtreecommitdiff
path: root/Cryptlib/SysCall/BaseMemAllocation.c
diff options
context:
space:
mode:
authorMatthew Garrett <matthew.garrett@nebula.com>2013-10-04 11:51:09 -0400
committerPeter Jones <pjones@redhat.com>2013-10-04 11:51:09 -0400
commit36d13930ee66e12d581a259b2f49b65eed41daeb (patch)
tree23dbc103ff77c4b098c05dd5125a9ddc2c327350 /Cryptlib/SysCall/BaseMemAllocation.c
parent4bf7fb2ef1ed13251efad3928d41e5eaf2f4aaa4 (diff)
downloadefi-boot-shim-36d13930ee66e12d581a259b2f49b65eed41daeb.tar.gz
efi-boot-shim-36d13930ee66e12d581a259b2f49b65eed41daeb.zip
Update to current Tiano Cryptlib
Diffstat (limited to 'Cryptlib/SysCall/BaseMemAllocation.c')
-rw-r--r--Cryptlib/SysCall/BaseMemAllocation.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/Cryptlib/SysCall/BaseMemAllocation.c b/Cryptlib/SysCall/BaseMemAllocation.c
index 1abe78e3..75da1dd2 100644
--- a/Cryptlib/SysCall/BaseMemAllocation.c
+++ b/Cryptlib/SysCall/BaseMemAllocation.c
@@ -2,7 +2,7 @@
Base Memory Allocation Routines Wrapper for Crypto library over OpenSSL
during PEI & DXE phases.
-Copyright (c) 2009 - 2010, Intel Corporation. All rights reserved.<BR>
+Copyright (c) 2009 - 2012, Intel Corporation. All rights reserved.<BR>
This program and the accompanying materials
are licensed and made available under the terms and conditions of the BSD License
which accompanies this distribution. The full text of the license may be found at
@@ -22,7 +22,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
/* Allocates memory blocks */
void *malloc (size_t size)
{
- return AllocatePool ((UINTN)size);
+ return AllocatePool ((UINTN) size);
}
/* Reallocate memory blocks */
@@ -32,7 +32,7 @@ void *realloc (void *ptr, size_t size)
// BUG: hardcode OldSize == size! We have no any knowledge about
// memory size of original pointer ptr.
//
- return ReallocatePool (ptr, (UINTN)size, (UINTN)size);
+ return ReallocatePool (ptr, (UINTN) size, (UINTN) size);
}
/* De-allocates or frees a memory block */