From ce68d3bc68eda5ce919b90aea8db094ed4b64c34 Mon Sep 17 00:00:00 2001 From: lzeng14 Date: Thu, 11 Oct 2012 02:15:23 +0000 Subject: Add missing braces around initializer. Signed-off-by: Star Zeng Reviewed-by: Jaben Carsey Reviewed-by: Qian Ouyang Reviewed-by: Ruiyu Ni Reviewed-by: Feng Tian Reviewed-by: Jeff Fan git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13817 6f19259b-4bc3-4df7-8a09-765794883524 --- NetworkPkg/IpSecDxe/IkeCommon.c | 4 ++-- NetworkPkg/IpSecDxe/IkeService.c | 12 ++++++------ 2 files changed, 8 insertions(+), 8 deletions(-) (limited to 'NetworkPkg/IpSecDxe') diff --git a/NetworkPkg/IpSecDxe/IkeCommon.c b/NetworkPkg/IpSecDxe/IkeCommon.c index 7f56365..898d5d9 100644 --- a/NetworkPkg/IpSecDxe/IkeCommon.c +++ b/NetworkPkg/IpSecDxe/IkeCommon.c @@ -1,7 +1,7 @@ /** @file Common operation of the IKE - Copyright (c) 2010, Intel Corporation. All rights reserved.
+ Copyright (c) 2010 - 2012, Intel Corporation. All rights reserved.
This program and the accompanying materials are licensed and made available under the terms and conditions of the BSD License @@ -22,7 +22,7 @@ // Initial the SPI // UINT32 mNextSpi = IKE_SPI_BASE; -EFI_GUID mZeroGuid = { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 }; +EFI_GUID mZeroGuid = { 0, 0, 0, { 0, 0, 0, 0, 0, 0, 0, 0 } }; /** Call Crypto Lib to generate a random value with eight-octet length. diff --git a/NetworkPkg/IpSecDxe/IkeService.c b/NetworkPkg/IpSecDxe/IkeService.c index 12ee030..b68f456 100644 --- a/NetworkPkg/IpSecDxe/IkeService.c +++ b/NetworkPkg/IpSecDxe/IkeService.c @@ -1,7 +1,7 @@ /** @file Provide IPsec Key Exchange (IKE) service general interfaces. - Copyright (c) 2010 - 2011, Intel Corporation. All rights reserved.
+ Copyright (c) 2010 - 2012, Intel Corporation. All rights reserved.
This program and the accompanying materials are licensed and made available under the terms and conditions of the BSD License @@ -36,10 +36,10 @@ EFI_UDP4_CONFIG_DATA mUdp4Conf = { 0, 1000000, FALSE, - {0,0,0,0}, - {0,0,0,0}, + {{0,0,0,0}}, + {{0,0,0,0}}, IKE_DEFAULT_PORT, - {0,0,0,0}, + {{0,0,0,0}}, 0 }; @@ -55,9 +55,9 @@ EFI_UDP6_CONFIG_DATA mUdp6Conf = { 0, 1000000, //Access Point - {0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0}, + {{0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0}}, IKE_DEFAULT_PORT, - {0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0}, + {{0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0}}, 0 }; -- cgit v1.1