]> git.proxmox.com Git - mirror_edk2.git/commitdiff
CryptoPkg: Fix various typos
authorAntoine Coeur <Coeur@gmx.fr>
Mon, 11 Feb 2019 03:09:44 +0000 (11:09 +0800)
committerJian J Wang <jian.j.wang@intel.com>
Mon, 11 Feb 2019 03:09:44 +0000 (11:09 +0800)
Fix various typos in CryptoPkg.

Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Coeur <coeur@gmx.fr>
Reviewed-by: Ye Ting <ting.ye@intel.com>
Reviewed-by: Jian J Wang <jian.j.wang@intel.com>
CryptoPkg/Library/BaseCryptLib/Pk/CryptTs.c
CryptoPkg/Library/BaseCryptLib/SysCall/CrtWrapper.c

index d63c23df0970ef6878303e2cfc3f203da03f57e7..540c5715cb8ad996f5d3924174bb308613ca79be 100644 (file)
@@ -142,7 +142,7 @@ IMPLEMENT_ASN1_FUNCTIONS (TS_TST_INFO)
   @param[in]  Asn1Time         Pointer to the ASN.1 GeneralizedTime to be converted.\r
   @param[out] SigningTime      Return the corresponding EFI Time.\r
 \r
-  @retval  TRUE   The time convertion succeeds.\r
+  @retval  TRUE   The time conversion succeeds.\r
   @retval  FALSE  Invalid parameters.\r
 \r
 **/\r
index 9510a4a383e6450d501ab46a9fabb6eace403038..80f5c2578e21adbd482ac329cc5144cc475c19cc 100644 (file)
@@ -84,14 +84,14 @@ QuickSortWorker (
     }\r
   }\r
   //\r
-  // Swap pivot to it's final position (NextSwapLocaiton)\r
+  // Swap pivot to its final position (NextSwapLocation)\r
   //\r
   CopyMem (Buffer, Pivot, ElementSize);\r
   CopyMem (Pivot, (UINT8 *)BufferToSort + (NextSwapLocation * ElementSize), ElementSize);\r
   CopyMem ((UINT8 *)BufferToSort + (NextSwapLocation * ElementSize), Buffer, ElementSize);\r
 \r
   //\r
-  // Now recurse on 2 paritial lists.  Neither of these will have the 'pivot' element.\r
+  // Now recurse on 2 partial lists.  Neither of these will have the 'pivot' element.\r
   // IE list is sorted left half, pivot element, sorted right half...\r
   //\r
   QuickSortWorker (\r