Revision: 19566
          http://sourceforge.net/p/edk2/code/19566
Author:   vanjeff
Date:     2015-12-29 03:17:18 +0000 (Tue, 29 Dec 2015)
Log Message:
-----------
[CryptoPkg] Correct one typo in the API comments.

Correct one typo (SingerChainCerts --> SignerChainCerts) in the comments
for Pkcs7GetCertificatesList() API.

(Sync patch r18944 from main trunk.)

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Qin Long <[email protected]>
Reviewed-by: Shumin Qiu <[email protected]>

Revision Links:
--------------
    http://sourceforge.net/p/edk2/code/18944

Modified Paths:
--------------
    branches/UDK2015/CryptoPkg/Include/Library/BaseCryptLib.h
    branches/UDK2015/CryptoPkg/Library/BaseCryptLib/Pk/CryptPkcs7Verify.c
    branches/UDK2015/CryptoPkg/Library/BaseCryptLib/Pk/CryptPkcs7VerifyNull.c
    
branches/UDK2015/CryptoPkg/Library/BaseCryptLibRuntimeCryptProtocol/Pk/CryptPkcs7VerifyNull.c

Modified: branches/UDK2015/CryptoPkg/Include/Library/BaseCryptLib.h
===================================================================
--- branches/UDK2015/CryptoPkg/Include/Library/BaseCryptLib.h   2015-12-29 
03:16:33 UTC (rev 19565)
+++ branches/UDK2015/CryptoPkg/Include/Library/BaseCryptLib.h   2015-12-29 
03:17:18 UTC (rev 19566)
@@ -1992,7 +1992,7 @@
 
   @param[in]  P7Data            Pointer to the PKCS#7 message.
   @param[in]  P7Length          Length of the PKCS#7 message in bytes.
-  @param[out] SingerChainCerts  Pointer to the certificates list chained to 
signer's
+  @param[out] SignerChainCerts  Pointer to the certificates list chained to 
signer's
                                 certificate. It's caller's responsiblity to 
free the buffer.
   @param[out] ChainLength       Length of the chained certificates list buffer 
in bytes.
   @param[out] UnchainCerts      Pointer to the unchained certificates lists. 
It's caller's

Modified: branches/UDK2015/CryptoPkg/Library/BaseCryptLib/Pk/CryptPkcs7Verify.c
===================================================================
--- branches/UDK2015/CryptoPkg/Library/BaseCryptLib/Pk/CryptPkcs7Verify.c       
2015-12-29 03:16:33 UTC (rev 19565)
+++ branches/UDK2015/CryptoPkg/Library/BaseCryptLib/Pk/CryptPkcs7Verify.c       
2015-12-29 03:17:18 UTC (rev 19566)
@@ -435,7 +435,7 @@
 
   @param[in]  P7Data            Pointer to the PKCS#7 message.
   @param[in]  P7Length          Length of the PKCS#7 message in bytes.
-  @param[out] SingerChainCerts  Pointer to the certificates list chained to 
signer's
+  @param[out] SignerChainCerts  Pointer to the certificates list chained to 
signer's
                                 certificate. It's caller's responsiblity to 
free the buffer.
   @param[out] ChainLength       Length of the chained certificates list buffer 
in bytes.
   @param[out] UnchainCerts      Pointer to the unchained certificates lists. 
It's caller's
@@ -521,7 +521,7 @@
   //
   // Obtains Signer's Certificate from PKCS#7 data
   // NOTE: Only one signer case will be handled in this function, which means 
SignerInfos
-  //       should include only one singer's certificate.
+  //       should include only one signer's certificate.
   //
   Signers = PKCS7_get0_signers (Pkcs7, NULL, PKCS7_BINARY);
   if ((Signers == NULL) || (sk_X509_num (Signers) != 1)) {

Modified: 
branches/UDK2015/CryptoPkg/Library/BaseCryptLib/Pk/CryptPkcs7VerifyNull.c
===================================================================
--- branches/UDK2015/CryptoPkg/Library/BaseCryptLib/Pk/CryptPkcs7VerifyNull.c   
2015-12-29 03:16:33 UTC (rev 19565)
+++ branches/UDK2015/CryptoPkg/Library/BaseCryptLib/Pk/CryptPkcs7VerifyNull.c   
2015-12-29 03:17:18 UTC (rev 19566)
@@ -74,7 +74,7 @@
 
   @param[in]  P7Data            Pointer to the PKCS#7 message.
   @param[in]  P7Length          Length of the PKCS#7 message in bytes.
-  @param[out] SingerChainCerts  Pointer to the certificates list chained to 
signer's
+  @param[out] SignerChainCerts  Pointer to the certificates list chained to 
signer's
                                 certificate. It's caller's responsiblity to 
free the buffer.
   @param[out] ChainLength       Length of the chained certificates list buffer 
in bytes.
   @param[out] UnchainCerts      Pointer to the unchained certificates lists. 
It's caller's

Modified: 
branches/UDK2015/CryptoPkg/Library/BaseCryptLibRuntimeCryptProtocol/Pk/CryptPkcs7VerifyNull.c
===================================================================
--- 
branches/UDK2015/CryptoPkg/Library/BaseCryptLibRuntimeCryptProtocol/Pk/CryptPkcs7VerifyNull.c
       2015-12-29 03:16:33 UTC (rev 19565)
+++ 
branches/UDK2015/CryptoPkg/Library/BaseCryptLibRuntimeCryptProtocol/Pk/CryptPkcs7VerifyNull.c
       2015-12-29 03:17:18 UTC (rev 19566)
@@ -74,7 +74,7 @@
 
   @param[in]  P7Data            Pointer to the PKCS#7 message.
   @param[in]  P7Length          Length of the PKCS#7 message in bytes.
-  @param[out] SingerChainCerts  Pointer to the certificates list chained to 
signer's
+  @param[out] SignerChainCerts  Pointer to the certificates list chained to 
signer's
                                 certificate. It's caller's responsiblity to 
free the buffer.
   @param[out] ChainLength       Length of the chained certificates list buffer 
in bytes.
   @param[out] UnchainCerts      Pointer to the unchained certificates lists. 
It's caller's


------------------------------------------------------------------------------
_______________________________________________
edk2-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/edk2-commits

Reply via email to