summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorQin Long <qin.long@intel.com>2015-11-25 08:34:57 +0000
committerqlong <qlong@Edk2>2015-11-25 08:34:57 +0000
commit0f5f6b3db7c12405e4c942cd00ead0749cce41f2 (patch)
treeb8f9a5a11150c2d150c84679cb68e2ed6290d6c1
parentb8b65a0320c7f8ec797171b335dfda2456528d57 (diff)
downloadedk2-0f5f6b3db7c12405e4c942cd00ead0749cce41f2.tar.gz
edk2-0f5f6b3db7c12405e4c942cd00ead0749cce41f2.tar.bz2
edk2-0f5f6b3db7c12405e4c942cd00ead0749cce41f2.zip
[CryptoPkg] Correct one typo in the API comments.
Correct one typo (SingerChainCerts --> SignerChainCerts) in the comments for Pkcs7GetCertificatesList() API. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Qin Long <qin.long@intel.com> Reviewed-by: Shumin Qiu <shumin.qiu@intel.com> git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@18944 6f19259b-4bc3-4df7-8a09-765794883524
-rw-r--r--CryptoPkg/Include/Library/BaseCryptLib.h2
-rw-r--r--CryptoPkg/Library/BaseCryptLib/Pk/CryptPkcs7Verify.c4
-rw-r--r--CryptoPkg/Library/BaseCryptLib/Pk/CryptPkcs7VerifyNull.c2
-rw-r--r--CryptoPkg/Library/BaseCryptLibRuntimeCryptProtocol/Pk/CryptPkcs7VerifyNull.c2
4 files changed, 5 insertions, 5 deletions
diff --git a/CryptoPkg/Include/Library/BaseCryptLib.h b/CryptoPkg/Include/Library/BaseCryptLib.h
index 390e302f98..0371d73b86 100644
--- a/CryptoPkg/Include/Library/BaseCryptLib.h
+++ b/CryptoPkg/Include/Library/BaseCryptLib.h
@@ -1992,7 +1992,7 @@ Pkcs7FreeSigners (
@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
diff --git a/CryptoPkg/Library/BaseCryptLib/Pk/CryptPkcs7Verify.c b/CryptoPkg/Library/BaseCryptLib/Pk/CryptPkcs7Verify.c
index 6a84137632..559610d7b2 100644
--- a/CryptoPkg/Library/BaseCryptLib/Pk/CryptPkcs7Verify.c
+++ b/CryptoPkg/Library/BaseCryptLib/Pk/CryptPkcs7Verify.c
@@ -435,7 +435,7 @@ Pkcs7FreeSigners (
@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 @@ Pkcs7GetCertificatesList (
//
// 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)) {
diff --git a/CryptoPkg/Library/BaseCryptLib/Pk/CryptPkcs7VerifyNull.c b/CryptoPkg/Library/BaseCryptLib/Pk/CryptPkcs7VerifyNull.c
index b9affe4275..05433ffb93 100644
--- a/CryptoPkg/Library/BaseCryptLib/Pk/CryptPkcs7VerifyNull.c
+++ b/CryptoPkg/Library/BaseCryptLib/Pk/CryptPkcs7VerifyNull.c
@@ -74,7 +74,7 @@ Pkcs7FreeSigners (
@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
diff --git a/CryptoPkg/Library/BaseCryptLibRuntimeCryptProtocol/Pk/CryptPkcs7VerifyNull.c b/CryptoPkg/Library/BaseCryptLibRuntimeCryptProtocol/Pk/CryptPkcs7VerifyNull.c
index b9affe4275..05433ffb93 100644
--- a/CryptoPkg/Library/BaseCryptLibRuntimeCryptProtocol/Pk/CryptPkcs7VerifyNull.c
+++ b/CryptoPkg/Library/BaseCryptLibRuntimeCryptProtocol/Pk/CryptPkcs7VerifyNull.c
@@ -74,7 +74,7 @@ Pkcs7FreeSigners (
@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