]> git.proxmox.com Git - mirror_edk2.git/blobdiff - NetworkPkg/IpSecDxe/IpSecDebug.c
NetworkPkg: Replace BSD License with BSD+Patent License
[mirror_edk2.git] / NetworkPkg / IpSecDxe / IpSecDebug.c
index 636e775969d6b3352ef3325f7e3998f35718708b..0439328d5b41b7460a049efb08e8cd1bc0f78896 100644 (file)
@@ -1,15 +1,9 @@
 /** @file\r
   The Interfaces of IPsec debug information printing.\r
 \r
-  Copyright (c) 2009 - 2010, Intel Corporation. All rights reserved.<BR>\r
+  Copyright (c) 2009 - 2018, 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
@@ -167,21 +161,21 @@ IkeDumpState (
   )\r
 {\r
   if (Previous >= IKE_STATE_NUM || Current >= IKE_STATE_NUM) {\r
-    return; \r
+    return;\r
   }\r
-  \r
+\r
   if (Previous == Current) {\r
     if (IkeVersion == 1) {\r
       DEBUG ((DEBUG_INFO, "\n****Current state is %a\n", mIkev1StateStr[Previous]));\r
     } else if (IkeVersion == 2) {\r
       DEBUG ((DEBUG_INFO, "\n****Current state is %a\n", mIkev2StateStr[Previous]));\r
-    }    \r
+    }\r
   } else {\r
     if (IkeVersion == 1) {\r
       DEBUG ((DEBUG_INFO, "\n****Change state from %a to %a\n", mIkev1StateStr[Previous], mIkev1StateStr[Current]));\r
     } else {\r
       DEBUG ((DEBUG_INFO, "\n****Change state from %a to %a\n", mIkev2StateStr[Previous], mIkev2StateStr[Current]));\r
-    }    \r
+    }\r
   }\r
 }\r
 \r
@@ -223,7 +217,7 @@ IpSecDumpPacket (
   case IKE_XCG_TYPE_QM:\r
     TypeStr = mExchangeStr[2];\r
     break;\r
-    \r
+\r
   case IKE_XCG_TYPE_SA_INIT:\r
     TypeStr = mExchangeStr[3];\r
     break;\r
@@ -239,7 +233,7 @@ IpSecDumpPacket (
   case IKE_XCG_TYPE_INFO2:\r
     TypeStr = mExchangeStr[6];\r
     break;\r
-    \r
+\r
   default:\r
     TypeStr = mExchangeStr[7];\r
     break;\r
@@ -275,7 +269,7 @@ IpSecDumpPacket (
 \r
   @param[in]  IkePayload  Point to payload to be printed.\r
   @param[in]  IkeVersion  The specified version of IKE.\r
\r
+\r
 **/\r
 VOID\r
 IpSecDumpPayload (\r