X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=blobdiff_plain;f=CryptoPkg%2FLibrary%2FBaseCryptLib%2FHash%2FCryptSha1.c;h=78c29c1b18558b6a856ebc597de400e4bdcfe327;hp=633028b64e46d097151f613e6884a0ad8531be1c;hb=6b8ebcb8de52ae5cab543181712e53eeb94340a7;hpb=805c2dd1198760778d6460280f5cc5e93a04d612 diff --git a/CryptoPkg/Library/BaseCryptLib/Hash/CryptSha1.c b/CryptoPkg/Library/BaseCryptLib/Hash/CryptSha1.c index 633028b64e..78c29c1b18 100644 --- a/CryptoPkg/Library/BaseCryptLib/Hash/CryptSha1.c +++ b/CryptoPkg/Library/BaseCryptLib/Hash/CryptSha1.c @@ -31,7 +31,7 @@ Sha1GetContextSize ( // // Retrieves OpenSSL SHA Context Size // - return (UINTN)(sizeof (SHA_CTX)); + return (UINTN) (sizeof (SHA_CTX)); } /** @@ -62,7 +62,7 @@ Sha1Init ( // // OpenSSL SHA-1 Context Initialization // - return (BOOLEAN) (SHA1_Init ((SHA_CTX *)Sha1Context)); + return (BOOLEAN) (SHA1_Init ((SHA_CTX *) Sha1Context)); } /** @@ -140,7 +140,7 @@ Sha1Update ( // // OpenSSL SHA-1 Hash Update // - return (BOOLEAN) (SHA1_Update ((SHA_CTX *)Sha1Context, Data, DataSize)); + return (BOOLEAN) (SHA1_Update ((SHA_CTX *) Sha1Context, Data, DataSize)); } /** @@ -180,5 +180,5 @@ Sha1Final ( // // OpenSSL SHA-1 Hash Finalization // - return (BOOLEAN) (SHA1_Final (HashValue, (SHA_CTX *)Sha1Context)); + return (BOOLEAN) (SHA1_Final (HashValue, (SHA_CTX *) Sha1Context)); }