summaryrefslogtreecommitdiff
path: root/NetworkPkg/HttpDxe/HttpImpl.h
diff options
context:
space:
mode:
authorJiaxin Wu <jiaxin.wu@intel.com>2016-05-25 16:22:26 +0800
committerJiaxin Wu <jiaxin.wu@intel.com>2016-05-26 16:10:55 +0800
commit6be1193f14a988c280e045e70c90df51e1b0fc26 (patch)
tree9d2bbb0f0db4d8287a1d67eef1f38a6858328d67 /NetworkPkg/HttpDxe/HttpImpl.h
parent6c2b77210fe9fcb59a9530d835bcfe3759376a01 (diff)
downloadedk2-platforms-6be1193f14a988c280e045e70c90df51e1b0fc26.tar.xz
NetworkPkg: Correct HttpConfigure parameter check
When HttpConfigData is NULL, HttpConfigure should not return EFI_INVALID_PARAMETER. Cc: Ye Ting <ting.ye@intel.com> Cc: Fu Siyuan <siyuan.fu@intel.com> Cc: Zhang Lubo <lubo.zhang@intel.com> Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Jiaxin Wu <jiaxin.wu@intel.com> Reviewed-by: Fu Siyuan <siyuan.fu@intel.com> Reviewed-by: Ye Ting <ting.ye@intel.com> Reviewed-by: Zhang Lubo <lubo.zhang@intel.com>
Diffstat (limited to 'NetworkPkg/HttpDxe/HttpImpl.h')
-rw-r--r--NetworkPkg/HttpDxe/HttpImpl.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/NetworkPkg/HttpDxe/HttpImpl.h b/NetworkPkg/HttpDxe/HttpImpl.h
index 415b5e5e95..40b25048bc 100644
--- a/NetworkPkg/HttpDxe/HttpImpl.h
+++ b/NetworkPkg/HttpDxe/HttpImpl.h
@@ -72,7 +72,6 @@ EfiHttpGetModeData (
@retval EFI_SUCCESS Operation succeeded.
@retval EFI_INVALID_PARAMETER One or more of the following conditions is TRUE:
This is NULL.
- HttpConfigData is NULL.
HttpConfigData->LocalAddressIsIPv6 is FALSE and
HttpConfigData->IPv4Node is NULL.
HttpConfigData->LocalAddressIsIPv6 is TRUE and