Skip to content

Commit

Permalink
NetworkPkg: set PcdAllowHttpConnections only when network is enabled
Browse files Browse the repository at this point in the history
PcdAllowHttpConnections should NOT be set when the whole network
stack is disabled. Add NETWORK_ENABLE conditional to fix this.

Cc: Saloni Kasbekar <[email protected]>
Cc: Zachary Clark-williams <[email protected]>
Signed-off-by: Alexander Goncharov <[email protected]>
  • Loading branch information
Joursoir committed Aug 7, 2024
1 parent 9761137 commit 3134b11
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions NetworkPkg/NetworkPcds.dsc.inc
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@
#
##

!if $(NETWORK_ENABLE) == TRUE
!if $(NETWORK_ALLOW_HTTP_CONNECTIONS) == TRUE
gEfiNetworkPkgTokenSpaceGuid.PcdAllowHttpConnections|TRUE
!endif
!endif

0 comments on commit 3134b11

Please sign in to comment.