From 0ab475c9a1d551a919430f3b6df6f652e4d2a3ed Mon Sep 17 00:00:00 2001 From: "Zhang, Chao B" Date: Tue, 15 Nov 2016 15:39:26 +0800 Subject: SecurityPkg: Fix typos in comments This patch fixes the following typos: - intialized -> initialized - TURE -> TRUE - successull -> successfully - hanlder -> handler - funciton -> function - Seperator -> Separator - Sumbit -> Submit Also convert EFI_D_ERROR to DEBUG_ERROR for some debug messages. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Gary Lin Reviewed-by: Chao Zhang --- SecurityPkg/Hash2DxeCrypto/Hash2DxeCrypto.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'SecurityPkg/Hash2DxeCrypto') diff --git a/SecurityPkg/Hash2DxeCrypto/Hash2DxeCrypto.c b/SecurityPkg/Hash2DxeCrypto/Hash2DxeCrypto.c index ab34de7351..93e3273916 100644 --- a/SecurityPkg/Hash2DxeCrypto/Hash2DxeCrypto.c +++ b/SecurityPkg/Hash2DxeCrypto/Hash2DxeCrypto.c @@ -64,7 +64,7 @@ BOOLEAN This function performs Hash digest on a data buffer of the specified size. It can be called multiple times to compute the digest of long or discontinuous data streams. - Hash context should be already correctly intialized by HashInit(), and should not be finalized + Hash context should be already correctly initialized by HashInit(), and should not be finalized by HashFinal(). Behavior with invalid context is undefined. If HashContext is NULL, then return FALSE. -- cgit v1.2.3