summaryrefslogtreecommitdiffstats
path: root/NetworkPkg
diff options
context:
space:
mode:
authorAntoine Coeur <coeur@gmx.fr>2020-02-07 02:08:02 +0100
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>2020-02-10 22:30:07 +0000
commitdad13c80678877a73f14e17df6f23bd8e5e15fe1 (patch)
tree7b3ed6936cb813a134af4b6e348b95bff9fce375 /NetworkPkg
parent81c6f1762e9c70efbbaf24358ece67fec74e2083 (diff)
downloadedk2-dad13c80678877a73f14e17df6f23bd8e5e15fe1.tar.gz
edk2-dad13c80678877a73f14e17df6f23bd8e5e15fe1.tar.bz2
edk2-dad13c80678877a73f14e17df6f23bd8e5e15fe1.zip
NetworkPkg/Tls: Fix few typos
Fix few typos in comments and documentation. Cc: Jiaxin Wu <jiaxin.wu@intel.com> Cc: Siyuan Fu <siyuan.fu@intel.com> Cc: Maciej Rabeda <maciej.rabeda@intel.com> Signed-off-by: Antoine Coeur <coeur@gmx.fr> Reviewed-by: Philippe Mathieu-Daude <philmd@redhat.com> Reviewed-by: Maciej Rabeda <maciej.rabeda@intel.com> Signed-off-by: Philippe Mathieu-Daude <philmd@redhat.com> Message-Id: <20200207010831.9046-50-philmd@redhat.com>
Diffstat (limited to 'NetworkPkg')
-rw-r--r--NetworkPkg/TlsAuthConfigDxe/TlsAuthConfigImpl.c6
-rw-r--r--NetworkPkg/TlsAuthConfigDxe/TlsAuthConfigImpl.h2
-rw-r--r--NetworkPkg/TlsAuthConfigDxe/TlsAuthConfigVfr.vfr6
-rw-r--r--NetworkPkg/TlsDxe/TlsDriver.c4
-rw-r--r--NetworkPkg/TlsDxe/TlsDriver.h4
5 files changed, 11 insertions, 11 deletions
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