CryptoPkg/OpensslLib: Fix CR/LF issue

Re-run process_files.py to generate OpensslLib[Crypto].inf.
CryptoPkg/Library/Include/openssl/opensslconf.h is coped from OpenSSL,
So keep the CR/LF style like OpenSSL source file.

Cc: Jian J Wang <jian.j.wang@intel.com>
Signed-off-by: Xiaoyu Lu <xiaoyux.lu@intel.com>
Reviewed-by: Jian J Wang <jian.j.wang@intel.com>
This commit is contained in:
Lu, XiaoyuX 2019-06-19 15:20:54 +08:00 committed by Jian J Wang
parent 57ec204e69
commit 90e8f13d51

View File

@ -10,8 +10,8 @@
* https://www.openssl.org/source/license.html * https://www.openssl.org/source/license.html
*/ */
#include <openssl/opensslv.h> #include <openssl/opensslv.h>
#ifdef __cplusplus #ifdef __cplusplus
extern "C" { extern "C" {
#endif #endif
@ -79,9 +79,9 @@ extern "C" {
#ifndef OPENSSL_NO_SEED #ifndef OPENSSL_NO_SEED
# define OPENSSL_NO_SEED # define OPENSSL_NO_SEED
#endif #endif
#ifndef OPENSSL_NO_SM2 #ifndef OPENSSL_NO_SM2
# define OPENSSL_NO_SM2 # define OPENSSL_NO_SM2
#endif #endif
#ifndef OPENSSL_NO_SRP #ifndef OPENSSL_NO_SRP
# define OPENSSL_NO_SRP # define OPENSSL_NO_SRP
#endif #endif
@ -91,9 +91,9 @@ extern "C" {
#ifndef OPENSSL_NO_WHIRLPOOL #ifndef OPENSSL_NO_WHIRLPOOL
# define OPENSSL_NO_WHIRLPOOL # define OPENSSL_NO_WHIRLPOOL
#endif #endif
#ifndef OPENSSL_RAND_SEED_NONE #ifndef OPENSSL_RAND_SEED_NONE
# define OPENSSL_RAND_SEED_NONE # define OPENSSL_RAND_SEED_NONE
#endif #endif
#ifndef OPENSSL_NO_AFALGENG #ifndef OPENSSL_NO_AFALGENG
# define OPENSSL_NO_AFALGENG # define OPENSSL_NO_AFALGENG
#endif #endif
@ -127,9 +127,9 @@ extern "C" {
#ifndef OPENSSL_NO_DEPRECATED #ifndef OPENSSL_NO_DEPRECATED
# define OPENSSL_NO_DEPRECATED # define OPENSSL_NO_DEPRECATED
#endif #endif
#ifndef OPENSSL_NO_DEVCRYPTOENG #ifndef OPENSSL_NO_DEVCRYPTOENG
# define OPENSSL_NO_DEVCRYPTOENG # define OPENSSL_NO_DEVCRYPTOENG
#endif #endif
#ifndef OPENSSL_NO_DGRAM #ifndef OPENSSL_NO_DGRAM
# define OPENSSL_NO_DGRAM # define OPENSSL_NO_DGRAM
#endif #endif
@ -163,9 +163,9 @@ extern "C" {
#ifndef OPENSSL_NO_ERR #ifndef OPENSSL_NO_ERR
# define OPENSSL_NO_ERR # define OPENSSL_NO_ERR
#endif #endif
#ifndef OPENSSL_NO_EXTERNAL_TESTS #ifndef OPENSSL_NO_EXTERNAL_TESTS
# define OPENSSL_NO_EXTERNAL_TESTS # define OPENSSL_NO_EXTERNAL_TESTS
#endif #endif
#ifndef OPENSSL_NO_FILENAMES #ifndef OPENSSL_NO_FILENAMES
# define OPENSSL_NO_FILENAMES # define OPENSSL_NO_FILENAMES
#endif #endif
@ -220,24 +220,24 @@ extern "C" {
#ifndef OPENSSL_NO_TESTS #ifndef OPENSSL_NO_TESTS
# define OPENSSL_NO_TESTS # define OPENSSL_NO_TESTS
#endif #endif
#ifndef OPENSSL_NO_TLS1_3 #ifndef OPENSSL_NO_TLS1_3
# define OPENSSL_NO_TLS1_3 # define OPENSSL_NO_TLS1_3
#endif #endif
#ifndef OPENSSL_NO_UBSAN #ifndef OPENSSL_NO_UBSAN
# define OPENSSL_NO_UBSAN # define OPENSSL_NO_UBSAN
#endif #endif
#ifndef OPENSSL_NO_UI_CONSOLE #ifndef OPENSSL_NO_UI_CONSOLE
# define OPENSSL_NO_UI_CONSOLE # define OPENSSL_NO_UI_CONSOLE
#endif #endif
#ifndef OPENSSL_NO_UNIT_TEST #ifndef OPENSSL_NO_UNIT_TEST
# define OPENSSL_NO_UNIT_TEST # define OPENSSL_NO_UNIT_TEST
#endif #endif
#ifndef OPENSSL_NO_WEAK_SSL_CIPHERS #ifndef OPENSSL_NO_WEAK_SSL_CIPHERS
# define OPENSSL_NO_WEAK_SSL_CIPHERS # define OPENSSL_NO_WEAK_SSL_CIPHERS
#endif #endif
#ifndef OPENSSL_NO_DYNAMIC_ENGINE #ifndef OPENSSL_NO_DYNAMIC_ENGINE
# define OPENSSL_NO_DYNAMIC_ENGINE # define OPENSSL_NO_DYNAMIC_ENGINE
#endif #endif
#ifndef OPENSSL_NO_AFALGENG #ifndef OPENSSL_NO_AFALGENG
# define OPENSSL_NO_AFALGENG # define OPENSSL_NO_AFALGENG
#endif #endif
@ -256,11 +256,11 @@ extern "C" {
* functions. * functions.
*/ */
#ifndef DECLARE_DEPRECATED #ifndef DECLARE_DEPRECATED
# define DECLARE_DEPRECATED(f) f; # define DECLARE_DEPRECATED(f) f;
# ifdef __GNUC__ # ifdef __GNUC__
# if __GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ > 0) # if __GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ > 0)
# undef DECLARE_DEPRECATED # undef DECLARE_DEPRECATED
# define DECLARE_DEPRECATED(f) f __attribute__ ((deprecated)); # define DECLARE_DEPRECATED(f) f __attribute__ ((deprecated));
# endif # endif
# endif # endif
#endif #endif
@ -284,18 +284,18 @@ extern "C" {
# define OPENSSL_API_COMPAT OPENSSL_MIN_API # define OPENSSL_API_COMPAT OPENSSL_MIN_API
#endif #endif
/* /*
* Do not deprecate things to be deprecated in version 1.2.0 before the * Do not deprecate things to be deprecated in version 1.2.0 before the
* OpenSSL version number matches. * OpenSSL version number matches.
*/ */
#if OPENSSL_VERSION_NUMBER < 0x10200000L #if OPENSSL_VERSION_NUMBER < 0x10200000L
# define DEPRECATEDIN_1_2_0(f) f; # define DEPRECATEDIN_1_2_0(f) f;
#elif OPENSSL_API_COMPAT < 0x10200000L #elif OPENSSL_API_COMPAT < 0x10200000L
# define DEPRECATEDIN_1_2_0(f) DECLARE_DEPRECATED(f) # define DEPRECATEDIN_1_2_0(f) DECLARE_DEPRECATED(f)
#else #else
# define DEPRECATEDIN_1_2_0(f) # define DEPRECATEDIN_1_2_0(f)
#endif #endif
#if OPENSSL_API_COMPAT < 0x10100000L #if OPENSSL_API_COMPAT < 0x10100000L
# define DEPRECATEDIN_1_1_0(f) DECLARE_DEPRECATED(f) # define DEPRECATEDIN_1_1_0(f) DECLARE_DEPRECATED(f)
#else #else