summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLiming Gao <liming.gao@intel.com>2017-09-25 19:06:19 +0800
committerLiming Gao <liming.gao@intel.com>2017-10-10 18:10:21 +0800
commitf3494b80f404facbfd6e487975bbe74bf7fc6188 (patch)
tree3f78f44f037a20f84376237571629b197ffa2616
parent5337c801c948c8f00a1a8a7c088915f0bfc1d316 (diff)
downloadedk2-f3494b80f404facbfd6e487975bbe74bf7fc6188.tar.gz
edk2-f3494b80f404facbfd6e487975bbe74bf7fc6188.tar.bz2
edk2-f3494b80f404facbfd6e487975bbe74bf7fc6188.zip
NetworkPkg: Update Protocol/Guid usage in INF file to match source code logic
Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Liming Gao <liming.gao@intel.com> Cc: Siyuan Fu <siyuan.fu@intel.com> Cc: Jiaxin Wu <jiaxin.wu@intel.com> Reviewed-by: Wu Jiaxin <jiaxin.wu@intel.com>
-rw-r--r--NetworkPkg/HttpDxe/HttpDxe.inf2
-rw-r--r--NetworkPkg/IScsiDxe/IScsiDxe.inf2
-rw-r--r--NetworkPkg/TlsAuthConfigDxe/TlsAuthConfigDxe.inf8
3 files changed, 6 insertions, 6 deletions
diff --git a/NetworkPkg/HttpDxe/HttpDxe.inf b/NetworkPkg/HttpDxe/HttpDxe.inf
index df2efdc257..51deec5a24 100644
--- a/NetworkPkg/HttpDxe/HttpDxe.inf
+++ b/NetworkPkg/HttpDxe/HttpDxe.inf
@@ -73,7 +73,7 @@
gEfiTlsConfigurationProtocolGuid ## SOMETIMES_CONSUMES
[Guids]
- gEfiTlsCaCertificateGuid ## CONSUMES ## GUID
+ gEfiTlsCaCertificateGuid ## SOMETIMES_CONSUMES ## Variable:L"TlsCaCertificate"
[Pcd]
gEfiNetworkPkgTokenSpaceGuid.PcdAllowHttpConnections ## CONSUMES
diff --git a/NetworkPkg/IScsiDxe/IScsiDxe.inf b/NetworkPkg/IScsiDxe/IScsiDxe.inf
index c9b724bd30..01998a0d28 100644
--- a/NetworkPkg/IScsiDxe/IScsiDxe.inf
+++ b/NetworkPkg/IScsiDxe/IScsiDxe.inf
@@ -115,7 +115,7 @@
gEfiIScsiInitiatorNameProtocolGuid
## PRODUCES
gEfiAuthenticationInfoProtocolGuid
- ## CONSUMES
+ ## SOMETIMES_CONSUMES
gEfiAdapterInformationProtocolGuid
[Guids]
diff --git a/NetworkPkg/TlsAuthConfigDxe/TlsAuthConfigDxe.inf b/NetworkPkg/TlsAuthConfigDxe/TlsAuthConfigDxe.inf
index 2a893689bb..3cfcdb9983 100644
--- a/NetworkPkg/TlsAuthConfigDxe/TlsAuthConfigDxe.inf
+++ b/NetworkPkg/TlsAuthConfigDxe/TlsAuthConfigDxe.inf
@@ -2,7 +2,7 @@
# Provides the capability to configure Tls Authentication in a setup browser
# By this module, user may change the content of TlsCaCertificate.
#
-# Copyright (c) 2016, Intel Corporation. All rights reserved.<BR>
+# Copyright (c) 2016 - 2017, Intel Corporation. All rights reserved.<BR>
# This program and the accompanying materials
# are licensed and made available under the terms and conditions of the BSD License
# which accompanies this distribution. The full text of the license may be found at
@@ -61,9 +61,9 @@
[Guids]
gTlsAuthConfigGuid ## PRODUCES ## GUID
- gEfiCertX509Guid ## CONSUMES ## GUID # Indicate the cert type
- gEfiIfrTianoGuid ## CONSUMES ## HII
- gEfiTlsCaCertificateGuid ## PRODUCES ## GUID
+ gEfiCertX509Guid ## SOMETIMES_CONSUMES ## GUID # Indicate the cert type
+ gEfiIfrTianoGuid ## SOMETIMES_PRODUCES ## HII
+ gEfiTlsCaCertificateGuid ## PRODUCES ## Variable:L"TlsCaCertificate"
[Depex]
gEfiHiiConfigRoutingProtocolGuid AND