X-Git-Url: https://git.proxmox.com/?a=blobdiff_plain;f=CryptoPkg%2FLibrary%2FBaseCryptLib%2FPk%2FCryptPkcs7Verify.c;h=559610d7b24e46cdd9f05828daea6150fb9226c5;hb=0f5f6b3db7c12405e4c942cd00ead0749cce41f2;hp=6a84137632b7ef472cabf802f684cd3ba54bf009;hpb=b8b65a0320c7f8ec797171b335dfda2456528d57;p=mirror_edk2.git 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)) {