]> git.proxmox.com Git - mirror_edk2.git/blame - CryptoPkg/Library/BaseCryptLib/InternalCryptLib.h
CryptoPkg: Remove deprecated function usage in X509GetCommonName()
[mirror_edk2.git] / CryptoPkg / Library / BaseCryptLib / InternalCryptLib.h
CommitLineData
ec7ad9e1 1/** @file\r
a8c44645 2 Internal include file for BaseCryptLib.\r
3\r
fc9fa685 4Copyright (c) 2010 - 2017, Intel Corporation. All rights reserved.<BR>\r
a8c44645 5This program and the accompanying materials\r
6are licensed and made available under the terms and conditions of the BSD License\r
7which accompanies this distribution. The full text of the license may be found at\r
8http://opensource.org/licenses/bsd-license.php\r
9\r
10THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
11WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
12\r
13**/\r
14\r
15#ifndef __INTERNAL_CRYPT_LIB_H__\r
16#define __INTERNAL_CRYPT_LIB_H__\r
17\r
ec7ad9e1
QL
18#undef _WIN32\r
19#undef _WIN64\r
20\r
a8c44645 21#include <Library/BaseLib.h>\r
22#include <Library/BaseMemoryLib.h>\r
23#include <Library/MemoryAllocationLib.h>\r
24#include <Library/DebugLib.h>\r
25#include <Library/BaseCryptLib.h>\r
26\r
fc9fa685 27#include "CrtLibSupport.h"\r
dda39f3a 28\r
338bfd97
DW
29#include <openssl/opensslv.h>\r
30\r
31#if OPENSSL_VERSION_NUMBER < 0x10100000L\r
32#define OBJ_get0_data(o) ((o)->data)\r
33#define OBJ_length(o) ((o)->length)\r
34#endif\r
35\r
a8c44645 36#endif\r