diff options
author | Karen Arutyunov <karen@codesynthesis.com> | 2020-01-21 15:38:48 +0300 |
---|---|---|
committer | Karen Arutyunov <karen@codesynthesis.com> | 2020-01-21 15:38:48 +0300 |
commit | e2a2673873e4364ea669439cbe58f478bc3a3b64 (patch) | |
tree | 767f55381df9c6907a026b9160c31d6a71ca5209 /libcrypto/libcrypto/downstream | |
parent | 27af3fd089cbd21e546ed4a71fcdb796e121d423 (diff) |
Release version 1.1.1+9v1.1.1+9
Enable zlib usage
Don't define default directory paths
Fix 'sslv3 alert bad record mac' failure for some libcrypto function calls
Diffstat (limited to 'libcrypto/libcrypto/downstream')
-rw-r--r-- | libcrypto/libcrypto/downstream/openssl/opensslconf.h | 25 |
1 files changed, 15 insertions, 10 deletions
diff --git a/libcrypto/libcrypto/downstream/openssl/opensslconf.h b/libcrypto/libcrypto/downstream/openssl/opensslconf.h index f6692c8..810306b 100644 --- a/libcrypto/libcrypto/downstream/openssl/opensslconf.h +++ b/libcrypto/libcrypto/downstream/openssl/opensslconf.h @@ -7,13 +7,9 @@ #define LIBCRYPTO_DOWNSTREAM_OPENSSL_OPENSSLCONF_H /* - * Include upstream's auto-generated platform-specific opensslconf.h. - */ -#include <openssl/opensslconf/platform.h> - -/* - * Define OPENSSL_PIC and {L|B}_ENDIAN macros if we are building libcrypto - * (see ../../buildfile for details). + * Define OPENSSL_PIC and {L|B}_ENDIAN macros (that upstream defines on the + * command line via -D) if we are building libcrypto (see ../../buildfile for + * details). */ #ifdef LIBCRYPTO_BUILD # define OPENSSL_PIC @@ -26,13 +22,17 @@ # else # if defined(_WIN32) # ifndef BYTE_ORDER -# define BYTE_ORDER LITTLE_ENDIAN +# define BIG_ENDIAN 4321 +# define LITTLE_ENDIAN 1234 +# define BYTE_ORDER LITTLE_ENDIAN # endif # else -# include <sys/param.h> /* BYTE_ORDER/__BYTE_ORDER */ +# include <sys/param.h> /* BYTE_ORDER/__BYTE_ORDER */ # ifndef BYTE_ORDER # ifdef __BYTE_ORDER -# define BYTE_ORDER __BYTE_ORDER +# define BYTE_ORDER __BYTE_ORDER +# define BIG_ENDIAN __BIG_ENDIAN +# define LITTLE_ENDIAN __LITTLE_ENDIAN # else # error no BYTE_ORDER/__BYTE_ORDER define # endif @@ -47,4 +47,9 @@ # endif #endif +/* + * Include upstream's auto-generated platform-specific opensslconf.h. + */ +#include <openssl/opensslconf/platform.h> + #endif /* LIBCRYPTO_DOWNSTREAM_OPENSSL_OPENSSLCONF_H */ |