diff options
author | Laszlo Ersek <lersek@redhat.com> | 2016-06-28 13:47:52 +0200 |
---|---|---|
committer | Hao Wu <hao.a.wu@intel.com> | 2016-07-07 15:17:01 +0800 |
commit | a9d1d6692d4b5d782edeea64f91d006568e602c8 (patch) | |
tree | 11dc31a3d3d08b0dddda4bc6232d10c08715fe76 | |
parent | d00c8a50ae9407ddae6adb1f5e4c1a641e541af4 (diff) | |
download | edk2-platforms-a9d1d6692d4b5d782edeea64f91d006568e602c8.tar.xz |
NetworkPkg: fix ASSERT_EFI_ERROR() typos
A number of code locations use
ASSERT_EFI_ERROR (BooleanExpression)
instead of
ASSERT (BooleanExpression)
Fix them.
Cc: Siyuan Fu <siyuan.fu@intel.com>
Cc: Jiaxin Wu <jiaxin.wu@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Laszlo Ersek <lersek@redhat.com>
Reviewed-by: Wu Jiaxin <jiaxin.wu@intel.com>
Reviewed-by: Giri P Mudusuru <giri.p.mudusuru@intel.com>
(cherry picked from commit bb7a152c2cea9dcdc533507c22a8c20dcb85c123)
-rw-r--r-- | NetworkPkg/IpSecDxe/Ikev2/Sa.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/NetworkPkg/IpSecDxe/Ikev2/Sa.c b/NetworkPkg/IpSecDxe/Ikev2/Sa.c index 74ef79c237..4cbfac33b1 100644 --- a/NetworkPkg/IpSecDxe/Ikev2/Sa.c +++ b/NetworkPkg/IpSecDxe/Ikev2/Sa.c @@ -384,7 +384,7 @@ Ikev2InitPskParser ( // 5. Generate Nr_b
//
IkeSaSession->NrBlock = IkeGenerateNonce (IKE_NONCE_SIZE);
- ASSERT_EFI_ERROR (IkeSaSession->NrBlock != NULL);
+ ASSERT (IkeSaSession->NrBlock != NULL);
IkeSaSession->NrBlkSize = IKE_NONCE_SIZE;
//
|