config_pre_1.0.2s_defaults.patch 1.0 KB

1234567891011121314151617181920212223242526272829303132333435
  1. diff --git a/thirdparty/openssl/openssl/opensslconf.h b/thirdparty/openssl/openssl/opensslconf.h
  2. index 619e5ca48b..0edbf7b1c5 100644
  3. --- a/thirdparty/openssl/openssl/opensslconf.h
  4. +++ b/thirdparty/openssl/openssl/opensslconf.h
  5. @@ -123,7 +123,11 @@ extern "C" {
  6. # endif
  7. #endif
  8. -#define OPENSSL_CPUID_OBJ
  9. +// -- GODOT start --
  10. +// Added in 1.0.2s and we didn't define it up to now,
  11. +// so keeping it as previously to ensure compatibility.
  12. +//#define OPENSSL_CPUID_OBJ
  13. +// -- GODOT end --
  14. /* crypto/opensslconf.h.in */
  15. @@ -190,10 +194,15 @@ extern "C" {
  16. /* Should we define BN_DIV2W here? */
  17. /* Only one for the following should be defined */
  18. -#define SIXTY_FOUR_BIT_LONG
  19. +// -- GODOT start --
  20. +// Default changed in 1.0.2s, we keep previous value to ensure compatibility.
  21. +//#define SIXTY_FOUR_BIT_LONG
  22. +#undef SIXTY_FOUR_BIT_LONG
  23. #undef SIXTY_FOUR_BIT
  24. -#undef THIRTY_TWO_BIT
  25. +//#undef THIRTY_TWO_BIT
  26. +#define THIRTY_TWO_BIT
  27. #endif
  28. +// -- GODOT end --
  29. #if defined(HEADER_RC4_LOCL_H) && !defined(CONFIG_HEADER_RC4_LOCL_H)
  30. #define CONFIG_HEADER_RC4_LOCL_H