diff options
author | Tian, Hot <hot.tian@intel.com> | 2014-01-22 08:39:32 +0000 |
---|---|---|
committer | hhtian <hhtian@6f19259b-4bc3-4df7-8a09-765794883524> | 2014-01-22 08:39:32 +0000 |
commit | 44de1013cfcd481efee629c1f75f4eebd99bc13c (patch) | |
tree | 7c600020788a91ca7ad292a36ef141929fb27486 /NetworkPkg/IpSecDxe/Ikev2/Utility.c | |
parent | 8db92ab59be3f6eb6039575d1baa2b2e044edede (diff) | |
download | edk2-platforms-44de1013cfcd481efee629c1f75f4eebd99bc13c.tar.xz |
Fix CRLF format
Signed-off-by: Tian, Hot <hot.tian@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@15157 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'NetworkPkg/IpSecDxe/Ikev2/Utility.c')
-rw-r--r-- | NetworkPkg/IpSecDxe/Ikev2/Utility.c | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/NetworkPkg/IpSecDxe/Ikev2/Utility.c b/NetworkPkg/IpSecDxe/Ikev2/Utility.c index 80720ffb03..f12766f3cb 100644 --- a/NetworkPkg/IpSecDxe/Ikev2/Utility.c +++ b/NetworkPkg/IpSecDxe/Ikev2/Utility.c @@ -666,26 +666,26 @@ Ikev2ChildSaSessionLookupByMid ( {
LIST_ENTRY *Entry;
IKEV2_CHILD_SA_SESSION *ChildSaSession;
- +
NET_LIST_FOR_EACH (Entry, SaSessionList) {
ChildSaSession = IKEV2_CHILD_SA_SESSION_BY_IKE_SA (Entry);
- +
if (ChildSaSession->MessageId == Mid) {
- return ChildSaSession; - } + return ChildSaSession;
+ }
}
return NULL;
}
/**
This function find the Child SA by the specified SPI.
- - This functin find a ChildSA session by searching the ChildSaSessionlist of +
+ This functin find a ChildSA session by searching the ChildSaSessionlist of
the input IKEV2_SA_SESSION by specified MessageID.
- +
@param[in] SaSessionList Pointer to List to be searched.
@param[in] Spi Specified SPI.
- +
@return Pointer to IKEV2_CHILD_SA_SESSION or NULL.
**/
@@ -697,14 +697,14 @@ Ikev2ChildSaSessionLookupBySpi ( {
LIST_ENTRY *Entry;
IKEV2_CHILD_SA_SESSION *ChildSaSession;
- +
NET_LIST_FOR_EACH (Entry, SaSessionList) {
ChildSaSession = IKEV2_CHILD_SA_SESSION_BY_IKE_SA (Entry);
- +
if (ChildSaSession->RemotePeerSpi == Spi || ChildSaSession->LocalPeerSpi == Spi) {
- return ChildSaSession; - } - } + return ChildSaSession;
+ }
+ }
return NULL;
}
|