NetworkPkg: Remove unused variables from IpSecDxe to fix GCC build.
Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Samer El-Haj-Mahmoud <samer.el-haj-mahmoud@hp.com> Reviewed-by: Fu Siyuan <siyuan.fu@intel.com> git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@17773 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
committed by
sfu5
parent
7ae77cee96
commit
e8837eddf3
@@ -1,6 +1,7 @@
|
||||
/** @file
|
||||
The operations for IKEv2 SA.
|
||||
|
||||
(C) Copyright 2015 Hewlett-Packard Development Company, L.P.<BR>
|
||||
Copyright (c) 2010 - 2011, Intel Corporation. All rights reserved.<BR>
|
||||
|
||||
This program and the accompanying materials
|
||||
@@ -1132,7 +1133,6 @@ Ikev2AuthCertParser (
|
||||
IKE_PAYLOAD *TsiPayload;
|
||||
IKE_PAYLOAD *TsrPayload;
|
||||
IKE_PAYLOAD *CertPayload;
|
||||
IKE_PAYLOAD *CertReqPayload;
|
||||
IKE_PAYLOAD *VerifiedAuthPayload;
|
||||
LIST_ENTRY *Entry;
|
||||
EFI_STATUS Status;
|
||||
@@ -1151,7 +1151,6 @@ Ikev2AuthCertParser (
|
||||
TsiPayload = NULL;
|
||||
TsrPayload = NULL;
|
||||
CertPayload = NULL;
|
||||
CertReqPayload = NULL;
|
||||
VerifiedAuthPayload = NULL;
|
||||
Status = EFI_INVALID_PARAMETER;
|
||||
|
||||
@@ -1183,9 +1182,6 @@ Ikev2AuthCertParser (
|
||||
if (IkePayload->PayloadType == IKEV2_PAYLOAD_TYPE_CERT) {
|
||||
CertPayload = IkePayload;
|
||||
}
|
||||
if (IkePayload->PayloadType == IKEV2_PAYLOAD_TYPE_CERTREQ) {
|
||||
CertReqPayload = IkePayload;
|
||||
}
|
||||
}
|
||||
|
||||
if ((SaPayload == NULL) || (AuthPayload == NULL) || (TsiPayload == NULL) ||
|
||||
@@ -1478,7 +1474,6 @@ Ikev2GenerateSaKeys (
|
||||
{
|
||||
EFI_STATUS Status;
|
||||
IKEV2_SA_PARAMS *SaParams;
|
||||
IPSEC_PAD_ENTRY *Pad;
|
||||
PRF_DATA_FRAGMENT Fragments[4];
|
||||
UINT64 InitiatorCookieNet;
|
||||
UINT64 ResponderCookieNet;
|
||||
@@ -1503,8 +1498,6 @@ Ikev2GenerateSaKeys (
|
||||
//
|
||||
Ikev2GenerateSaDhComputeKey (IkeSaSession->IkeKeys->DhBuffer, KePayload);
|
||||
|
||||
Pad = IkeSaSession->Pad;
|
||||
|
||||
//
|
||||
// Get the key length of Authenticaion, Encryption, PRF, and Integrity.
|
||||
//
|
||||
|
Reference in New Issue
Block a user