NetworkPkg/HttpDxe: Add HttpEventTlsConfigured HTTP callback event
Add HttpEventTlsConfigured HTTP callback event and notify callback functions when TlsConfigureSession () returns. 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
43ab6622a8
commit
8466480965
@@ -723,7 +723,7 @@ TlsConfigureSession (
|
||||
Status = TlsConfigCertificate (HttpInstance);
|
||||
if (EFI_ERROR (Status)) {
|
||||
if (Status == EFI_NOT_FOUND) {
|
||||
DEBUG((DEBUG_WARN, "TLS Certificate is not found on the system!\n"));
|
||||
DEBUG ((DEBUG_WARN, "TLS Certificate is not found on the system!\n"));
|
||||
//
|
||||
// We still return EFI_SUCCESS to the caller when TlsConfigCertificate
|
||||
// returns error, for the use case the platform doesn't require
|
||||
@@ -734,7 +734,7 @@ TlsConfigureSession (
|
||||
//
|
||||
Status = EFI_SUCCESS;
|
||||
} else {
|
||||
DEBUG((DEBUG_ERROR, "TLS Certificate Config Error!\n"));
|
||||
DEBUG ((DEBUG_ERROR, "TLS Certificate Config Error!\n"));
|
||||
return Status;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user