NetworkPkg/HttpDxe: Refactor TlsCreateChild
- Use HTTP instance as the parameter for TlsCreateChild function. - Install TLS protocol on the HTTP instance thats create TLS child. Signed-off-by: Abner Chang <abner.chang@amd.com> Cc: Saloni Kasbekar <saloni.kasbekar@intel.com> Cc: Zachary Clark-williams <zachary.clark-williams@intel.com> Cc: Michael Brown <mcb30@ipxe.org> Cc: Nickle Wang <nicklew@nvidia.com> Cc: Igor Kulchytskyy <igork@ami.com> Reviewed-by: Michael Brown <mcb30@ipxe.org> Reviewed-by: Saloni Kasbekar <saloni.kasbekar@intel.com>
This commit is contained in:
committed by
mergify[bot]
parent
edba0779ba
commit
0abd598e3f
@@ -3,6 +3,7 @@
|
||||
|
||||
Copyright (c) 2015 - 2021, Intel Corporation. All rights reserved.<BR>
|
||||
(C) Copyright 2016 Hewlett Packard Enterprise Development LP<BR>
|
||||
Copyright (C) 2024 Advanced Micro Devices, Inc. All rights reserved.<BR>
|
||||
SPDX-License-Identifier: BSD-2-Clause-Patent
|
||||
|
||||
**/
|
||||
@@ -171,7 +172,7 @@ typedef struct _HTTP_PROTOCOL {
|
||||
BOOLEAN UseHttps;
|
||||
|
||||
EFI_SERVICE_BINDING_PROTOCOL *TlsSb;
|
||||
EFI_HANDLE TlsChildHandle; /// Tls ChildHandle
|
||||
BOOLEAN TlsAlreadyCreated;
|
||||
TLS_CONFIG_DATA TlsConfigData;
|
||||
EFI_TLS_PROTOCOL *Tls;
|
||||
EFI_TLS_CONFIGURATION_PROTOCOL *TlsConfiguration;
|
||||
|
Reference in New Issue
Block a user