From dc002d4f2d76bdd826359a3dd608d9bc621fcb47 Mon Sep 17 00:00:00 2001 From: Wenxing Hou Date: Thu, 20 Jun 2024 10:44:10 +0800 Subject: CryptoPkg: Fix wrong comment for CryptoPkg Fix the wrong comment. Cc: Jiewen Yao Cc: Yi Li Signed-off-by: Wenxing Hou --- .../Library/BaseCryptLibMbedTls/Pk/CryptX509Null.c | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'CryptoPkg/Library/BaseCryptLibMbedTls/Pk/CryptX509Null.c') diff --git a/CryptoPkg/Library/BaseCryptLibMbedTls/Pk/CryptX509Null.c b/CryptoPkg/Library/BaseCryptLibMbedTls/Pk/CryptX509Null.c index 96356f8..b927a6a 100644 --- a/CryptoPkg/Library/BaseCryptLibMbedTls/Pk/CryptX509Null.c +++ b/CryptoPkg/Library/BaseCryptLibMbedTls/Pk/CryptX509Null.c @@ -489,7 +489,7 @@ X509GetExtensionData ( @param[in] Cert Pointer to the DER-encoded X509 certificate. @param[in] CertSize Size of the X509 certificate in bytes. @param[out] Usage Key Usage bytes. - @param[in, out] UsageSize Key Usage buffer sizs in bytes. + @param[in, out] UsageSize Key Usage buffer size in bytes. @retval TRUE The Usage bytes retrieve successfully. @retval FALSE If Cert is NULL. @@ -641,12 +641,12 @@ X509GetKeyUsage ( @param[in] RootCertLength Trusted Root Certificate buffer length @param[in] CertChain One or more ASN.1 DER-encoded X.509 certificates where the first certificate is signed by the Root - Certificate or is the Root Cerificate itself. and - subsequent cerificate is signed by the preceding - cerificate. + Certificate or is the Root Certificate itself. and + subsequent certificate is signed by the preceding + certificate. @param[in] CertChainLength Total length of the certificate chain, in bytes. - @retval TRUE All cerificates was issued by the first certificate in X509Certchain. + @retval TRUE All certificates was issued by the first certificate in X509Certchain. @retval FALSE Invalid certificate or the certificate was not issued by the given trusted CA. **/ @@ -668,9 +668,9 @@ X509VerifyCertChain ( @param[in] CertChain One or more ASN.1 DER-encoded X.509 certificates where the first certificate is signed by the Root - Certificate or is the Root Cerificate itself. and - subsequent cerificate is signed by the preceding - cerificate. + Certificate or is the Root Certificate itself. and + subsequent certificate is signed by the preceding + certificate. @param[in] CertChainLength Total length of the certificate chain, in bytes. @param[in] CertIndex Index of certificate. @@ -725,7 +725,7 @@ Asn1GetTag ( @param[in] Cert Pointer to the DER-encoded X509 certificate. @param[in] CertSize size of the X509 certificate in bytes. @param[out] BasicConstraints basic constraints bytes. - @param[in, out] BasicConstraintsSize basic constraints buffer sizs in bytes. + @param[in, out] BasicConstraintsSize basic constraints buffer size in bytes. @retval TRUE The basic constraints retrieve successfully. @retval FALSE If cert is NULL. -- cgit v1.1