From a9d1d6692d4b5d782edeea64f91d006568e602c8 Mon Sep 17 00:00:00 2001 From: Laszlo Ersek Date: Tue, 28 Jun 2016 13:47:52 +0200 Subject: 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 Cc: Jiaxin Wu Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Laszlo Ersek Reviewed-by: Wu Jiaxin Reviewed-by: Giri P Mudusuru (cherry picked from commit bb7a152c2cea9dcdc533507c22a8c20dcb85c123) --- NetworkPkg/IpSecDxe/Ikev2/Sa.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; // -- cgit v1.2.3