summaryrefslogtreecommitdiffstats
path: root/NetworkPkg/HttpBootDxe/HttpBootConfigNVDataStruc.h
diff options
context:
space:
mode:
authorFu Siyuan <siyuan.fu@intel.com>2016-04-25 15:29:26 +0800
committerFu Siyuan <siyuan.fu@intel.com>2016-04-27 10:19:12 +0800
commit0aa0beca37c686c028da47a801b0db6c770b81e8 (patch)
tree4d089d90ae9948393a3b122ebba08b5136fa3ad0 /NetworkPkg/HttpBootDxe/HttpBootConfigNVDataStruc.h
parent2c1c50fc61132517e352862b6748c57c5d443837 (diff)
downloadedk2-0aa0beca37c686c028da47a801b0db6c770b81e8.tar.gz
edk2-0aa0beca37c686c028da47a801b0db6c770b81e8.tar.bz2
edk2-0aa0beca37c686c028da47a801b0db6c770b81e8.zip
NetworkPkg: Allow user to create a HTTP corporate boot option in setup page.
This patch updates the HTTP Boot Configuration page to allow the user to create a corporate mode HTTP boot option, by leaving the URI string empty. The patch also fix a bug that the L"https://" should use StrnCmp() with Length 8. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Fu Siyuan <siyuan.fu@intel.com> Reviewed-by: Samer El-Haj-Mahmoud <elhaj@hpe.com> Reviewed-by: Ye Ting <ting.ye@intel.com> Reviewed-by: Jiaxin Wu <jiaxin.wu@intel.com>
Diffstat (limited to 'NetworkPkg/HttpBootDxe/HttpBootConfigNVDataStruc.h')
-rw-r--r--NetworkPkg/HttpBootDxe/HttpBootConfigNVDataStruc.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/NetworkPkg/HttpBootDxe/HttpBootConfigNVDataStruc.h b/NetworkPkg/HttpBootDxe/HttpBootConfigNVDataStruc.h
index 37ce440411..682306ef1f 100644
--- a/NetworkPkg/HttpBootDxe/HttpBootConfigNVDataStruc.h
+++ b/NetworkPkg/HttpBootDxe/HttpBootConfigNVDataStruc.h
@@ -23,7 +23,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
//
// Macros used for an IPv4 or an IPv6 address.
//
-#define URI_STR_MIN_SIZE 8
+#define URI_STR_MIN_SIZE 0
#define URI_STR_MAX_SIZE 255
#define DESCRIPTION_STR_MIN_SIZE 6