summaryrefslogtreecommitdiff
path: root/CryptoPkg/Library/BaseCryptLib/Hash/CryptMd5.c
diff options
context:
space:
mode:
authortye1 <tye1@6f19259b-4bc3-4df7-8a09-765794883524>2012-07-27 07:49:42 +0000
committertye1 <tye1@6f19259b-4bc3-4df7-8a09-765794883524>2012-07-27 07:49:42 +0000
commit6b8ebcb8de52ae5cab543181712e53eeb94340a7 (patch)
tree7abaef27511dfea181ba5740f9200a308ce335ef /CryptoPkg/Library/BaseCryptLib/Hash/CryptMd5.c
parent805c2dd1198760778d6460280f5cc5e93a04d612 (diff)
downloadedk2-platforms-6b8ebcb8de52ae5cab543181712e53eeb94340a7.tar.xz
Fix some typo and coding style issues in BaseCryptLib instances.
Signed-off by: Ye Ting <ting.ye@intel.com> Reviewed-by: Fu, Siyuan <Siyuan.fu@intel.com> git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13564 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'CryptoPkg/Library/BaseCryptLib/Hash/CryptMd5.c')
-rw-r--r--CryptoPkg/Library/BaseCryptLib/Hash/CryptMd5.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/CryptoPkg/Library/BaseCryptLib/Hash/CryptMd5.c b/CryptoPkg/Library/BaseCryptLib/Hash/CryptMd5.c
index 1d852c7495..dcf76913cc 100644
--- a/CryptoPkg/Library/BaseCryptLib/Hash/CryptMd5.c
+++ b/CryptoPkg/Library/BaseCryptLib/Hash/CryptMd5.c
@@ -31,7 +31,7 @@ Md5GetContextSize (
//
// Retrieves the OpenSSL MD5 Context Size
//
- return (UINTN)(sizeof (MD5_CTX));
+ return (UINTN) (sizeof (MD5_CTX));
}
@@ -63,7 +63,7 @@ Md5Init (
//
// OpenSSL MD5 Context Initialization
//
- return (BOOLEAN) (MD5_Init ((MD5_CTX *)Md5Context));
+ return (BOOLEAN) (MD5_Init ((MD5_CTX *) Md5Context));
}
/**
@@ -141,7 +141,7 @@ Md5Update (
//
// OpenSSL MD5 Hash Update
//
- return (BOOLEAN) (MD5_Update ((MD5_CTX *)Md5Context, Data, DataSize));
+ return (BOOLEAN) (MD5_Update ((MD5_CTX *) Md5Context, Data, DataSize));
}
/**
@@ -181,5 +181,5 @@ Md5Final (
//
// OpenSSL MD5 Hash Finalization
//
- return (BOOLEAN) (MD5_Final (HashValue, (MD5_CTX *)Md5Context));
+ return (BOOLEAN) (MD5_Final (HashValue, (MD5_CTX *) Md5Context));
}