diff options
author | David Woodhouse <David.Woodhouse@intel.com> | 2015-10-29 14:15:53 +0000 |
---|---|---|
committer | qlong <qlong@Edk2> | 2015-10-29 14:15:53 +0000 |
commit | 1cae0c83bbd88822076542e2715077ca2a8bcadb (patch) | |
tree | 63fe3b657a2b5deecbb4553bda817e62fe21773a /CryptoPkg/Library/BaseCryptLib/Pk/CryptDh.c | |
parent | 50c6a4d2d4d7ede07143c0cde9505938e5d43a5b (diff) | |
download | edk2-platforms-1cae0c83bbd88822076542e2715077ca2a8bcadb.tar.xz |
CryptoPkg/BaseCryptLib: Add missing OpenSSL includes
OpenSSL 1.1 has cleaned up its include files a little, and it will now
be necessary to directly include things like <openssl/bn.h> if we want
to use them, rather than assuming they are included indirectly from
other headers.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
Tested-by: Laszlo Ersek <lersek@redhat.com>
Reviewed-by: Qin Long <qin.long@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@18698 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'CryptoPkg/Library/BaseCryptLib/Pk/CryptDh.c')
-rw-r--r-- | CryptoPkg/Library/BaseCryptLib/Pk/CryptDh.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/CryptoPkg/Library/BaseCryptLib/Pk/CryptDh.c b/CryptoPkg/Library/BaseCryptLib/Pk/CryptDh.c index 942b3d103e..9cbf182c70 100644 --- a/CryptoPkg/Library/BaseCryptLib/Pk/CryptDh.c +++ b/CryptoPkg/Library/BaseCryptLib/Pk/CryptDh.c @@ -1,7 +1,7 @@ /** @file
Diffie-Hellman Wrapper Implementation over OpenSSL.
-Copyright (c) 2010 - 2012, Intel Corporation. All rights reserved.<BR>
+Copyright (c) 2010 - 2015, 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
@@ -13,6 +13,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. **/
#include "InternalCryptLib.h"
+#include <openssl/bn.h>
#include <openssl/dh.h>
|