diff options
author | Leif Lindholm <leif.lindholm@linaro.org> | 2014-01-24 17:18:26 +0000 |
---|---|---|
committer | Leif Lindholm <leif.lindholm@linaro.org> | 2014-01-24 17:18:26 +0000 |
commit | e1e57aa891deef00276b26a4569802a5cd13ce92 (patch) | |
tree | 9061825c6c9f5c8bed33d5b2087101ce38f23fdf /NetworkPkg/IpSecDxe/Ikev2/Exchange.c | |
parent | 18110e987bb049e24ade0fb63b5577def8f99114 (diff) | |
parent | 04d965c0713468e055ef328f9f49903bc5944e54 (diff) |
Merging uefi-next/linaro-release into masterHEADlinaro-uefi-2014.01master
Signed-off-by: Leif Lindholm <leif.lindholm@linaro.org>
Diffstat (limited to 'NetworkPkg/IpSecDxe/Ikev2/Exchange.c')
-rw-r--r-- | NetworkPkg/IpSecDxe/Ikev2/Exchange.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/NetworkPkg/IpSecDxe/Ikev2/Exchange.c b/NetworkPkg/IpSecDxe/Ikev2/Exchange.c index ffa53824d..7634d11a2 100644 --- a/NetworkPkg/IpSecDxe/Ikev2/Exchange.c +++ b/NetworkPkg/IpSecDxe/Ikev2/Exchange.c @@ -1,7 +1,7 @@ /** @file
The general interfaces of the IKEv2.
- Copyright (c) 2010 - 2011, Intel Corporation. All rights reserved.<BR>
+ Copyright (c) 2010 - 2014, Intel Corporation. All rights reserved.<BR>
This program and the accompanying materials
are licensed and made available under the terms and conditions of the BSD License
@@ -467,8 +467,7 @@ Ikev2HandleSa ( //
// Validate the IKE packet header.
//
- Status = Ikev2ValidateHeader (IkeSaSession, IkePacket->Header);
- if (EFI_ERROR (Status)) {
+ if (!Ikev2ValidateHeader (IkeSaSession, IkePacket->Header)) {
//
// Drop the packet if invalid IKE header.
//
|