]> git.proxmox.com Git - mirror_edk2.git/blobdiff - NetworkPkg/Application/IpsecConfig/Dump.c
NetworkPkg: Replace BSD License with BSD+Patent License
[mirror_edk2.git] / NetworkPkg / Application / IpsecConfig / Dump.c
index 72d3bc5955be2eefbff1e2f22e7476175bf0e67e..cc88cf36e500727bf0f3b03a8bd467f8b02339c8 100644 (file)
@@ -3,13 +3,7 @@
 \r
   Copyright (c) 2009 - 2011, Intel Corporation. All rights reserved.<BR>\r
 \r
-  This program and the accompanying materials\r
-  are licensed and made available under the terms and conditions of the BSD License\r
-  which accompanies this distribution.  The full text of the license may be found at\r
-  http://opensource.org/licenses/bsd-license.php.\r
-\r
-  THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
-  WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
+  SPDX-License-Identifier: BSD-2-Clause-Patent\r
 \r
 **/\r
 \r
@@ -92,7 +86,7 @@ DumpBuf (
 {\r
   UINTN    Index;\r
   for (Index = 0; Index < Length; Index++) {\r
-    Print (L"%02x ", Data[Index]); \r
+    Print (L"%02x ", Data[Index]);\r
   }\r
 }\r
 \r
@@ -457,12 +451,12 @@ DumpSadEntry (
       //\r
       Print (L"  Auth:%s/",AuthAlgoStr);\r
       DumpAsciiString (\r
-        Data->AlgoInfo.EspAlgoInfo.AuthKey, \r
+        Data->AlgoInfo.EspAlgoInfo.AuthKey,\r
         Data->AlgoInfo.EspAlgoInfo.AuthKeyLength\r
         );\r
       Print (L"\n  Encrypt:%s/",EncAlgoStr);\r
       DumpAsciiString (\r
-        Data->AlgoInfo.EspAlgoInfo.EncKey, \r
+        Data->AlgoInfo.EspAlgoInfo.EncKey,\r
         Data->AlgoInfo.EspAlgoInfo.EncKeyLength\r
         );\r
     } else {\r
@@ -472,13 +466,14 @@ DumpSadEntry (
       //\r
       Print (L"  Auth:%s/",AuthAlgoStr);\r
       DumpBuf ((UINT8 *)(Data->AlgoInfo.EspAlgoInfo.AuthKey), Data->AlgoInfo.EspAlgoInfo.AuthKeyLength);\r
-      \r
+\r
       Print (L"\n  Encrypt:%s/",EncAlgoStr);\r
-      DumpBuf ((UINT8 *)(Data->AlgoInfo.EspAlgoInfo.EncKey), Data->AlgoInfo.EspAlgoInfo.EncKeyLength);      \r
+      DumpBuf ((UINT8 *)(Data->AlgoInfo.EspAlgoInfo.EncKey), Data->AlgoInfo.EspAlgoInfo.EncKeyLength);\r
     }\r
   }\r
+  Print (L"\n");\r
   if (Data->SpdSelector != NULL) {\r
-    Print (L"\n  ");\r
+    Print (L"  ");\r
     DumpSpdSelector (Data->SpdSelector);\r
     Print (L"\n");\r
   }\r