]> git.proxmox.com Git - mirror_edk2.git/blobdiff - CryptoPkg/Library/TlsLib/InternalTlsLib.h
CryptoPkg/TlsLib: sanitize lib classes in internal header and INF
[mirror_edk2.git] / CryptoPkg / Library / TlsLib / InternalTlsLib.h
index 97727361e8be6446d759c62835dadf9a11acdb6c..3f18a461a8d17dcf58beab320e2a393f72c1f852 100644 (file)
@@ -1,42 +1,46 @@
-/** @file
-  Internal include file for TlsLib.
-
-Copyright (c) 2016 - 2017, Intel Corporation. All rights reserved.<BR>
-This program and the accompanying materials
-are licensed and made available under the terms and conditions of the BSD License
-which accompanies this distribution.  The full text of the license may be found at
-http://opensource.org/licenses/bsd-license.php
-
-THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
-WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
-
-**/
-
-#ifndef __INTERNAL_TLS_LIB_H__
-#define __INTERNAL_TLS_LIB_H__
-
-#undef _WIN32
-#undef _WIN64
-
-#include <Library/BaseCryptLib.h>
-#include <openssl/ssl.h>
-#include <openssl/bio.h>
-#include <openssl/err.h>
-
-typedef struct {
-  //
-  // Main SSL Connection which is created by a server or a client
-  // per established connection.
-  //
-  SSL                             *Ssl;
-  //
-  // Memory BIO for the TLS/SSL Reading operations.
-  //
-  BIO                             *InBio;
-  //
-  // Memory BIO for the TLS/SSL Writing operations.
-  //
-  BIO                             *OutBio;
-} TLS_CONNECTION;
-
-#endif
+/** @file\r
+  Internal include file for TlsLib.\r
+\r
+Copyright (c) 2016 - 2017, Intel Corporation. All rights reserved.<BR>\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
+\r
+**/\r
+\r
+#ifndef __INTERNAL_TLS_LIB_H__\r
+#define __INTERNAL_TLS_LIB_H__\r
+\r
+#undef _WIN32\r
+#undef _WIN64\r
+\r
+#include <Library/BaseCryptLib.h>\r
+#include <Library/BaseLib.h>\r
+#include <Library/BaseMemoryLib.h>\r
+#include <Library/DebugLib.h>\r
+#include <openssl/ssl.h>\r
+#include <openssl/bio.h>\r
+#include <openssl/err.h>\r
+\r
+typedef struct {\r
+  //\r
+  // Main SSL Connection which is created by a server or a client\r
+  // per established connection.\r
+  //\r
+  SSL                             *Ssl;\r
+  //\r
+  // Memory BIO for the TLS/SSL Reading operations.\r
+  //\r
+  BIO                             *InBio;\r
+  //\r
+  // Memory BIO for the TLS/SSL Writing operations.\r
+  //\r
+  BIO                             *OutBio;\r
+} TLS_CONNECTION;\r
+\r
+#endif\r
+\r