mirror of
https://github.com/acidanthera/audk.git
synced 2025-07-25 22:54:51 +02:00
Bug fix: IpSec driver treats BOOLEAN as EFI_STATUS in error handling code.
Signed-off-by: Fu Siyuan <siyuan.fu@intel.com> Reviewed-by: Dong, Guo <guo.dong@intel.com> Reviewed-by: Jin, Eric <eric.jin@intel.com> git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@15049 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
parent
8ff272ee83
commit
979fc9eab5
@ -1,7 +1,7 @@
|
|||||||
/** @file
|
/** @file
|
||||||
The general interfaces of the IKEv2.
|
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
|
This program and the accompanying materials
|
||||||
are licensed and made available under the terms and conditions of the BSD License
|
are licensed and made available under the terms and conditions of the BSD License
|
||||||
@ -467,8 +467,7 @@ Ikev2HandleSa (
|
|||||||
//
|
//
|
||||||
// Validate the IKE packet header.
|
// Validate the IKE packet header.
|
||||||
//
|
//
|
||||||
Status = Ikev2ValidateHeader (IkeSaSession, IkePacket->Header);
|
if (!Ikev2ValidateHeader (IkeSaSession, IkePacket->Header)) {
|
||||||
if (EFI_ERROR (Status)) {
|
|
||||||
//
|
//
|
||||||
// Drop the packet if invalid IKE header.
|
// Drop the packet if invalid IKE header.
|
||||||
//
|
//
|
||||||
|
Loading…
x
Reference in New Issue
Block a user