From dad13c80678877a73f14e17df6f23bd8e5e15fe1 Mon Sep 17 00:00:00 2001 From: Antoine Coeur Date: Fri, 7 Feb 2020 02:08:02 +0100 Subject: NetworkPkg/Tls: Fix few typos Fix few typos in comments and documentation. Cc: Jiaxin Wu Cc: Siyuan Fu Cc: Maciej Rabeda Signed-off-by: Antoine Coeur Reviewed-by: Philippe Mathieu-Daude Reviewed-by: Maciej Rabeda Signed-off-by: Philippe Mathieu-Daude Message-Id: <20200207010831.9046-50-philmd@redhat.com> --- NetworkPkg/TlsAuthConfigDxe/TlsAuthConfigImpl.c | 6 +++--- NetworkPkg/TlsAuthConfigDxe/TlsAuthConfigImpl.h | 2 +- NetworkPkg/TlsAuthConfigDxe/TlsAuthConfigVfr.vfr | 6 +++--- NetworkPkg/TlsDxe/TlsDriver.c | 4 ++-- NetworkPkg/TlsDxe/TlsDriver.h | 4 ++-- 5 files changed, 11 insertions(+), 11 deletions(-) (limited to 'NetworkPkg') diff --git a/NetworkPkg/TlsAuthConfigDxe/TlsAuthConfigImpl.c b/NetworkPkg/TlsAuthConfigDxe/TlsAuthConfigImpl.c index 6662165452..715bc3a0a9 100644 --- a/NetworkPkg/TlsAuthConfigDxe/TlsAuthConfigImpl.c +++ b/NetworkPkg/TlsAuthConfigDxe/TlsAuthConfigImpl.c @@ -298,7 +298,7 @@ ON_EXIT: @param[in] QuestionIdBase Base question id of the cert list. @param[in] DeleteIndex Cert index to delete. - @retval EFI_SUCCESS Delete siganture successfully. + @retval EFI_SUCCESS Delete signature successfully. @retval EFI_NOT_FOUND Can't find the signature item, @retval EFI_OUT_OF_RESOURCES Could not allocate needed resources. **/ @@ -597,7 +597,7 @@ DevicePathToStr ( @param DevicePath Device path. - @retval NULL Not enough memory resourece for AllocateCopyPool. + @retval NULL Not enough memory resource for AllocateCopyPool. @retval Other A new allocated string that represents the file name. **/ @@ -1303,7 +1303,7 @@ TlsAuthConfigAccessExtractConfig ( @param Progress A pointer to a string filled in with the offset of the most recent '&' before the first failing name / value pair (or the - beginn ing of the string if the failure + beginning of the string if the failure is in the first name / value pair) or the terminating NULL if all was successful. diff --git a/NetworkPkg/TlsAuthConfigDxe/TlsAuthConfigImpl.h b/NetworkPkg/TlsAuthConfigDxe/TlsAuthConfigImpl.h index 89d02e39a3..e9af492893 100644 --- a/NetworkPkg/TlsAuthConfigDxe/TlsAuthConfigImpl.h +++ b/NetworkPkg/TlsAuthConfigDxe/TlsAuthConfigImpl.h @@ -207,7 +207,7 @@ TlsAuthConfigAccessExtractConfig ( @param Progress A pointer to a string filled in with the offset of the most recent '&' before the first failing name / value pair (or the - beginn ing of the string if the failure + beginning of the string if the failure is in the first name / value pair) or the terminating NULL if all was successful. diff --git a/NetworkPkg/TlsAuthConfigDxe/TlsAuthConfigVfr.vfr b/NetworkPkg/TlsAuthConfigDxe/TlsAuthConfigVfr.vfr index c622489afc..99a7feafa2 100644 --- a/NetworkPkg/TlsAuthConfigDxe/TlsAuthConfigVfr.vfr +++ b/NetworkPkg/TlsAuthConfigDxe/TlsAuthConfigVfr.vfr @@ -19,7 +19,7 @@ formset guid = TLS_AUTH_CONFIG_GUID; // - // ##1 Form1: Main form for Tls Auth configration + // ##1 Form1: Main form for Tls Auth configuration // form formid = TLS_AUTH_CONFIG_FORMID1_FORM, title = STRING_TOKEN(STR_TLS_AUTH_CONFIG_TITLE); @@ -27,7 +27,7 @@ formset subtitle text = STRING_TOKEN(STR_NULL); // - // Display Server CA configration + // Display Server CA configuration // goto TLS_AUTH_CONFIG_FORMID2_FORM, prompt = STRING_TOKEN(STR_TLS_AUTH_CONFIG_SERVER_CA), @@ -38,7 +38,7 @@ formset subtitle text = STRING_TOKEN(STR_NULL); // - // Display Client cert configration + // Display Client cert configuration // grayoutif TRUE; /// Current unsupported. goto TLS_AUTH_CONFIG_FORMID3_FORM, diff --git a/NetworkPkg/TlsDxe/TlsDriver.c b/NetworkPkg/TlsDxe/TlsDriver.c index 60ad396644..e42ac60764 100644 --- a/NetworkPkg/TlsDxe/TlsDriver.c +++ b/NetworkPkg/TlsDxe/TlsDriver.c @@ -298,7 +298,7 @@ ON_CLEAN_SERVICE: then a new handle is created. If it is a pointer to an existing UEFI handle, then the protocol is added to the existing UEFI handle. - @retval EFI_SUCCES The protocol was added to ChildHandle. + @retval EFI_SUCCESS The protocol was added to ChildHandle. @retval EFI_INVALID_PARAMETER ChildHandle is NULL. @retval EFI_OUT_OF_RESOURCES There are not enough resources available to create the child. @@ -391,7 +391,7 @@ ON_ERROR: @param This Pointer to the EFI_SERVICE_BINDING_PROTOCOL instance. @param ChildHandle Handle of the child to destroy. - @retval EFI_SUCCES The protocol was removed from ChildHandle. + @retval EFI_SUCCESS The protocol was removed from ChildHandle. @retval EFI_UNSUPPORTED ChildHandle does not support the protocol that is being removed. @retval EFI_INVALID_PARAMETER Child handle is NULL. @retval EFI_ACCESS_DENIED The protocol could not be removed from the ChildHandle diff --git a/NetworkPkg/TlsDxe/TlsDriver.h b/NetworkPkg/TlsDxe/TlsDriver.h index e9b581d054..64a81bd490 100644 --- a/NetworkPkg/TlsDxe/TlsDriver.h +++ b/NetworkPkg/TlsDxe/TlsDriver.h @@ -189,7 +189,7 @@ TlsDriverEntryPoint ( then a new handle is created. If it is a pointer to an existing UEFI handle, then the protocol is added to the existing UEFI handle. - @retval EFI_SUCCES The protocol was added to ChildHandle. + @retval EFI_SUCCESS The protocol was added to ChildHandle. @retval EFI_INVALID_PARAMETER ChildHandle is NULL. @retval EFI_OUT_OF_RESOURCES There are not enough resources available to create the child. @@ -213,7 +213,7 @@ TlsServiceBindingCreateChild ( @param This Pointer to the EFI_SERVICE_BINDING_PROTOCOL instance. @param ChildHandle Handle of the child to destroy. - @retval EFI_SUCCES The protocol was removed from ChildHandle. + @retval EFI_SUCCESS The protocol was removed from ChildHandle. @retval EFI_UNSUPPORTED ChildHandle does not support the protocol that is being removed. @retval EFI_INVALID_PARAMETER Child handle is NULL. @retval EFI_ACCESS_DENIED The protocol could not be removed from the ChildHandle -- cgit v1.2.3