/** @file\r
The Common operations used by IKE Exchange Process.\r
\r
- Copyright (c) 2010 - 2011, Intel Corporation. All rights reserved.<BR>\r
+ (C) Copyright 2015 Hewlett-Packard Development Company, L.P.<BR>\r
+ Copyright (c) 2010 - 2014, Intel Corporation. All rights reserved.<BR>\r
\r
This program and the accompanying materials\r
are licensed and made available under the terms and conditions of the BSD License\r
IKEV2_SESSION_COMMON *SessionCommon;\r
IKEV2_CHILD_SA_SESSION *OldChildSaSession;\r
IKEV2_SA_SESSION *IkeSaSession;\r
- IKEV2_SA_PARAMS *SaParams;\r
EFI_STATUS Status;\r
UINT64 Lifetime;\r
\r
//\r
// Start to count the lifetime of the IKE SA.\r
//\r
- SaParams = SessionCommon->SaParams;\r
if (ChildSaSession->Spd->Data->ProcessingPolicy->SaLifetime.HardLifetime != 0){\r
Lifetime = ChildSaSession->Spd->Data->ProcessingPolicy->SaLifetime.HardLifetime;\r
} else {\r
FreePool (Selector);\r
\r
Selector = AllocateZeroPool (SelectorSize);\r
+ ASSERT (Selector != NULL);\r
Status = EfiIpSecConfigGetNextSelector (\r
&Private->IpSecConfig,\r
IPsecConfigDataTypeSad,\r