BaseTools: update error message for SKUID_IDENTIFIER format
[mirror_edk2.git] / CryptoPkg / Library / TlsLib / InternalTlsLib.h
CommitLineData
9396cdfe
JW
1/** @file
2 Internal include file for TlsLib.
3
113581e6 4Copyright (c) 2016 - 2017, Intel Corporation. All rights reserved.<BR>
9396cdfe
JW
5This program and the accompanying materials
6are licensed and made available under the terms and conditions of the BSD License
7which accompanies this distribution. The full text of the license may be found at
8http://opensource.org/licenses/bsd-license.php
9
10THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
11WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
12
13**/
14
15#ifndef __INTERNAL_TLS_LIB_H__
16#define __INTERNAL_TLS_LIB_H__
17
113581e6
QL
18#undef _WIN32
19#undef _WIN64
20
9396cdfe
JW
21#include <Library/BaseCryptLib.h>
22#include <openssl/ssl.h>
23#include <openssl/bio.h>
24#include <openssl/err.h>
25
26typedef struct {
27 //
28 // Main SSL Connection which is created by a server or a client
29 // per established connection.
30 //
31 SSL *Ssl;
32 //
33 // Memory BIO for the TLS/SSL Reading operations.
34 //
35 BIO *InBio;
36 //
37 // Memory BIO for the TLS/SSL Writing operations.
38 //
39 BIO *OutBio;
40} TLS_CONNECTION;
41
42#endif