]> git.proxmox.com Git - mirror_edk2.git/blobdiff - CryptoPkg/Library/OpensslLib/EDKII_openssl-1.0.2f.patch
CryptoPkg/OpensslLib: Include complete copy of opensslconf.h
[mirror_edk2.git] / CryptoPkg / Library / OpensslLib / EDKII_openssl-1.0.2f.patch
index c42b776de85cf855fc63fdfea6689b7ce78e80f4..541ef45a5636f9f77651fa87880fc73ba50af27a 100644 (file)
@@ -351,328 +351,6 @@ diff U3 crypto/crypto.h crypto/crypto.h
                  "Low level API call to cipher " #alg " forbidden in FIPS mode!")\r
  \r
  # else\r
-diff U3 crypto/opensslconf.h crypto/opensslconf.h\r
---- crypto/opensslconf.h       Thu Jan 28 21:57:22 2016\r
-+++ crypto/opensslconf.h       Wed Feb 17 14:58:26 2016\r
-@@ -5,15 +5,72 @@\r
- extern "C" {\r
- #endif\r
- /* OpenSSL was configured with the following options: */\r
-+#ifndef OPENSSL_SYSNAME_UEFI\r
-+# define OPENSSL_SYSNAME_UEFI\r
-+#endif\r
- #ifndef OPENSSL_DOING_MAKEDEPEND\r
\r
\r
-+#ifndef OPENSSL_NO_BF\r
-+# define OPENSSL_NO_BF\r
-+#endif\r
-+#ifndef OPENSSL_NO_CAMELLIA\r
-+# define OPENSSL_NO_CAMELLIA\r
-+#endif\r
-+#ifndef OPENSSL_NO_CAPIENG\r
-+# define OPENSSL_NO_CAPIENG\r
-+#endif\r
-+#ifndef OPENSSL_NO_CAST\r
-+# define OPENSSL_NO_CAST\r
-+#endif\r
-+#ifndef OPENSSL_NO_CMS\r
-+# define OPENSSL_NO_CMS\r
-+#endif\r
-+#ifndef OPENSSL_NO_DEPRECATED\r
-+# define OPENSSL_NO_DEPRECATED\r
-+#endif\r
-+#ifndef OPENSSL_NO_DGRAM\r
-+# define OPENSSL_NO_DGRAM\r
-+#endif\r
-+#ifndef OPENSSL_NO_DSA\r
-+# define OPENSSL_NO_DSA\r
-+#endif\r
-+#ifndef OPENSSL_NO_DYNAMIC_ENGINE\r
-+# define OPENSSL_NO_DYNAMIC_ENGINE\r
-+#endif\r
-+#ifndef OPENSSL_NO_EC\r
-+# define OPENSSL_NO_EC\r
-+#endif\r
- #ifndef OPENSSL_NO_EC_NISTP_64_GCC_128\r
- # define OPENSSL_NO_EC_NISTP_64_GCC_128\r
- #endif\r
-+#ifndef OPENSSL_NO_ECDH\r
-+# define OPENSSL_NO_ECDH\r
-+#endif\r
-+#ifndef OPENSSL_NO_ECDSA\r
-+# define OPENSSL_NO_ECDSA\r
-+#endif\r
-+#ifndef OPENSSL_NO_ENGINE\r
-+# define OPENSSL_NO_ENGINE\r
-+#endif\r
-+#ifndef OPENSSL_NO_ENGINES\r
-+# define OPENSSL_NO_ENGINES\r
-+#endif\r
-+#ifndef OPENSSL_NO_FILENAMES\r
-+# define OPENSSL_NO_FILENAMES\r
-+#endif\r
-+#ifndef OPENSSL_NO_FP_API\r
-+# define OPENSSL_NO_FP_API\r
-+#endif\r
- #ifndef OPENSSL_NO_GMP\r
- # define OPENSSL_NO_GMP\r
- #endif\r
-+#ifndef OPENSSL_NO_GOST\r
-+# define OPENSSL_NO_GOST\r
-+#endif\r
-+#ifndef OPENSSL_NO_IDEA\r
-+# define OPENSSL_NO_IDEA\r
-+#endif\r
- #ifndef OPENSSL_NO_JPAKE\r
- # define OPENSSL_NO_JPAKE\r
- #endif\r
-@@ -23,30 +80,90 @@\r
- #ifndef OPENSSL_NO_LIBUNBOUND\r
- # define OPENSSL_NO_LIBUNBOUND\r
- #endif\r
-+#ifndef OPENSSL_NO_LOCKING\r
-+# define OPENSSL_NO_LOCKING\r
-+#endif\r
- #ifndef OPENSSL_NO_MD2\r
- # define OPENSSL_NO_MD2\r
- #endif\r
-+#ifndef OPENSSL_NO_MDC2\r
-+# define OPENSSL_NO_MDC2\r
-+#endif\r
-+#ifndef OPENSSL_NO_POSIX_IO\r
-+# define OPENSSL_NO_POSIX_IO\r
-+#endif\r
-+#ifndef OPENSSL_NO_RC2\r
-+# define OPENSSL_NO_RC2\r
-+#endif\r
- #ifndef OPENSSL_NO_RC5\r
- # define OPENSSL_NO_RC5\r
- #endif\r
-+#ifndef OPENSSL_NO_RCS\r
-+# define OPENSSL_NO_RCS\r
-+#endif\r
- #ifndef OPENSSL_NO_RFC3779\r
- # define OPENSSL_NO_RFC3779\r
- #endif\r
-+#ifndef OPENSSL_NO_RIPEMD\r
-+# define OPENSSL_NO_RIPEMD\r
-+#endif\r
-+#ifndef OPENSSL_NO_SCRYPT\r
-+# define OPENSSL_NO_SCRYPT\r
-+#endif\r
-+#ifndef OPENSSL_NO_SCT\r
-+# define OPENSSL_NO_SCT\r
-+#endif\r
- #ifndef OPENSSL_NO_SCTP\r
- # define OPENSSL_NO_SCTP\r
- #endif\r
-+#ifndef OPENSSL_NO_SEED\r
-+# define OPENSSL_NO_SEED\r
-+#endif\r
-+#ifndef OPENSSL_NO_SHA0\r
-+# define OPENSSL_NO_SHA0\r
-+#endif\r
-+#ifndef OPENSSL_NO_SOCK\r
-+# define OPENSSL_NO_SOCK\r
-+#endif\r
-+#ifndef OPENSSL_NO_SRP\r
-+# define OPENSSL_NO_SRP\r
-+#endif\r
- #ifndef OPENSSL_NO_SSL_TRACE\r
- # define OPENSSL_NO_SSL_TRACE\r
- #endif\r
-+#ifndef OPENSSL_NO_SSL2\r
-+# define OPENSSL_NO_SSL2\r
-+#endif\r
-+#ifndef OPENSSL_NO_SSL3\r
-+# define OPENSSL_NO_SSL3\r
-+#endif\r
-+#ifndef OPENSSL_NO_STDIO\r
-+# define OPENSSL_NO_STDIO\r
-+#endif\r
- #ifndef OPENSSL_NO_STORE\r
- # define OPENSSL_NO_STORE\r
- #endif\r
-+#ifndef OPENSSL_NO_UI\r
-+# define OPENSSL_NO_UI\r
-+#endif\r
- #ifndef OPENSSL_NO_UNIT_TEST\r
- # define OPENSSL_NO_UNIT_TEST\r
- #endif\r
-+#ifndef OPENSSL_NO_WHIRLPOOL\r
-+# define OPENSSL_NO_WHIRLPOOL\r
-+#endif\r
\r
- #endif /* OPENSSL_DOING_MAKEDEPEND */\r
\r
-+#ifndef OPENSSL_NO_ASM\r
-+# define OPENSSL_NO_ASM\r
-+#endif\r
-+#ifndef OPENSSL_NO_ERR\r
-+# define OPENSSL_NO_ERR\r
-+#endif\r
-+#ifndef OPENSSL_NO_HW\r
-+# define OPENSSL_NO_HW\r
-+#endif\r
- #ifndef OPENSSL_NO_DYNAMIC_ENGINE\r
- # define OPENSSL_NO_DYNAMIC_ENGINE\r
- #endif\r
-@@ -56,12 +173,66 @@\r
-    who haven't had the time to do the appropriate changes in their\r
-    applications.  */\r
- #ifdef OPENSSL_ALGORITHM_DEFINES\r
-+# if defined(OPENSSL_NO_BF) && !defined(NO_BF)\r
-+#  define NO_BF\r
-+# endif\r
-+# if defined(OPENSSL_NO_CAMELLIA) && !defined(NO_CAMELLIA)\r
-+#  define NO_CAMELLIA\r
-+# endif\r
-+# if defined(OPENSSL_NO_CAPIENG) && !defined(NO_CAPIENG)\r
-+#  define NO_CAPIENG\r
-+# endif\r
-+# if defined(OPENSSL_NO_CAST) && !defined(NO_CAST)\r
-+#  define NO_CAST\r
-+# endif\r
-+# if defined(OPENSSL_NO_CMS) && !defined(NO_CMS)\r
-+#  define NO_CMS\r
-+# endif\r
-+# if defined(OPENSSL_NO_DEPRECATED) && !defined(NO_DEPRECATED)\r
-+#  define NO_DEPRECATED\r
-+# endif\r
-+# if defined(OPENSSL_NO_DGRAM) && !defined(NO_DGRAM)\r
-+#  define NO_DGRAM\r
-+# endif\r
-+# if defined(OPENSSL_NO_DSA) && !defined(NO_DSA)\r
-+#  define NO_DSA\r
-+# endif\r
-+# if defined(OPENSSL_NO_DYNAMIC_ENGINE) && !defined(NO_DYNAMIC_ENGINE)\r
-+#  define NO_DYNAMIC_ENGINE\r
-+# endif\r
-+# if defined(OPENSSL_NO_EC) && !defined(NO_EC)\r
-+#  define NO_EC\r
-+# endif\r
- # if defined(OPENSSL_NO_EC_NISTP_64_GCC_128) && !defined(NO_EC_NISTP_64_GCC_128)\r
- #  define NO_EC_NISTP_64_GCC_128\r
- # endif\r
-+# if defined(OPENSSL_NO_ECDH) && !defined(NO_ECDH)\r
-+#  define NO_ECDH\r
-+# endif\r
-+# if defined(OPENSSL_NO_ECDSA) && !defined(NO_ECDSA)\r
-+#  define NO_ECDSA\r
-+# endif\r
-+# if defined(OPENSSL_NO_ENGINE) && !defined(NO_ENGINE)\r
-+#  define NO_ENGINE\r
-+# endif\r
-+# if defined(OPENSSL_NO_ENGINES) && !defined(NO_ENGINES)\r
-+#  define NO_ENGINES\r
-+# endif\r
-+# if defined(OPENSSL_NO_FILENAMES) && !defined(NO_FILENAMES)\r
-+#  define NO_FILENAMES\r
-+# endif\r
-+# if defined(OPENSSL_NO_FP_API) && !defined(NO_FP_API)\r
-+#  define NO_FP_API\r
-+# endif\r
- # if defined(OPENSSL_NO_GMP) && !defined(NO_GMP)\r
- #  define NO_GMP\r
- # endif\r
-+# if defined(OPENSSL_NO_GOST) && !defined(NO_GOST)\r
-+#  define NO_GOST\r
-+# endif\r
-+# if defined(OPENSSL_NO_IDEA) && !defined(NO_IDEA)\r
-+#  define NO_IDEA\r
-+# endif\r
- # if defined(OPENSSL_NO_JPAKE) && !defined(NO_JPAKE)\r
- #  define NO_JPAKE\r
- # endif\r
-@@ -71,27 +242,78 @@\r
- # if defined(OPENSSL_NO_LIBUNBOUND) && !defined(NO_LIBUNBOUND)\r
- #  define NO_LIBUNBOUND\r
- # endif\r
-+# if defined(OPENSSL_NO_LOCKING) && !defined(NO_LOCKING)\r
-+#  define NO_LOCKING\r
-+# endif\r
- # if defined(OPENSSL_NO_MD2) && !defined(NO_MD2)\r
- #  define NO_MD2\r
- # endif\r
-+# if defined(OPENSSL_NO_MDC2) && !defined(NO_MDC2)\r
-+#  define NO_MDC2\r
-+# endif\r
-+# if defined(OPENSSL_NO_POSIX_IO) && !defined(NO_POSIX_IO)\r
-+#  define NO_POSIX_IO\r
-+# endif\r
-+# if defined(OPENSSL_NO_RC2) && !defined(NO_RC2)\r
-+#  define NO_RC2\r
-+# endif\r
- # if defined(OPENSSL_NO_RC5) && !defined(NO_RC5)\r
- #  define NO_RC5\r
- # endif\r
-+# if defined(OPENSSL_NO_RCS) && !defined(NO_RCS)\r
-+#  define NO_RCS\r
-+# endif\r
- # if defined(OPENSSL_NO_RFC3779) && !defined(NO_RFC3779)\r
- #  define NO_RFC3779\r
- # endif\r
-+# if defined(OPENSSL_NO_RIPEMD) && !defined(NO_RIPEMD)\r
-+#  define NO_RIPEMD\r
-+# endif\r
-+# if defined(OPENSSL_NO_SCRYPT) && !defined(NO_SCRYPT)\r
-+#  define NO_SCRYPT\r
-+# endif\r
-+# if defined(OPENSSL_NO_SCT) && !defined(NO_SCT)\r
-+#  define NO_SCT\r
-+# endif\r
- # if defined(OPENSSL_NO_SCTP) && !defined(NO_SCTP)\r
- #  define NO_SCTP\r
- # endif\r
-+# if defined(OPENSSL_NO_SEED) && !defined(NO_SEED)\r
-+#  define NO_SEED\r
-+# endif\r
-+# if defined(OPENSSL_NO_SHA0) && !defined(NO_SHA0)\r
-+#  define NO_SHA0\r
-+# endif\r
-+# if defined(OPENSSL_NO_SOCK) && !defined(NO_SOCK)\r
-+#  define NO_SOCK\r
-+# endif\r
-+# if defined(OPENSSL_NO_SRP) && !defined(NO_SRP)\r
-+#  define NO_SRP\r
-+# endif\r
- # if defined(OPENSSL_NO_SSL_TRACE) && !defined(NO_SSL_TRACE)\r
- #  define NO_SSL_TRACE\r
- # endif\r
-+# if defined(OPENSSL_NO_SSL2) && !defined(NO_SSL2)\r
-+#  define NO_SSL2\r
-+# endif\r
-+# if defined(OPENSSL_NO_SSL3) && !defined(NO_SSL3)\r
-+#  define NO_SSL3\r
-+# endif\r
-+# if defined(OPENSSL_NO_STDIO) && !defined(NO_STDIO)\r
-+#  define NO_STDIO\r
-+# endif\r
- # if defined(OPENSSL_NO_STORE) && !defined(NO_STORE)\r
- #  define NO_STORE\r
- # endif\r
-+# if defined(OPENSSL_NO_UI) && !defined(NO_UI)\r
-+#  define NO_UI\r
-+# endif\r
- # if defined(OPENSSL_NO_UNIT_TEST) && !defined(NO_UNIT_TEST)\r
- #  define NO_UNIT_TEST\r
- # endif\r
-+# if defined(OPENSSL_NO_WHIRLPOOL) && !defined(NO_WHIRLPOOL)\r
-+#  define NO_WHIRLPOOL\r
-+# endif\r
- #endif\r
\r
- /* crypto/opensslconf.h.in */\r
-@@ -152,7 +374,7 @@\r
- #endif\r
- #endif\r
\r
--#if defined(HEADER_BN_H) && !defined(CONFIG_HEADER_BN_H)\r
-+#if defined(HEADER_BN_H) && !defined(CONFIG_HEADER_BN_H) && !defined(OPENSSL_SYSNAME_UEFI)\r
- #define CONFIG_HEADER_BN_H\r
- #undef BN_LLONG\r
\r
 diff U3 e_os.h e_os.h\r
 --- e_os.h     Thu Jan 28 21:56:08 2016\r
 +++ e_os.h     Wed Feb 17 15:52:08 2016\r