From 36d13930ee66e12d581a259b2f49b65eed41daeb Mon Sep 17 00:00:00 2001 From: Matthew Garrett Date: Fri, 4 Oct 2013 11:51:09 -0400 Subject: Update to current Tiano Cryptlib --- Cryptlib/SysCall/BaseMemAllocation.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'Cryptlib/SysCall/BaseMemAllocation.c') 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.
+Copyright (c) 2009 - 2012, Intel Corporation. All rights reserved.
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 */ -- cgit v1.2.3