You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

openssl-3.0.0-dev_version_error.patch 692B

12345678910111213141516171819
  1. diff --git a/include/openssl/opensslv.h b/include/openssl/opensslv.h
  2. index 7634eb14cd..cacf3e2ef1 100644
  3. --- a/include/openssl/opensslv.h
  4. +++ b/include/openssl/opensslv.h
  5. @@ -130,11 +130,11 @@ const char *OPENSSL_version_build_metadata(void);
  6. # else
  7. # define _OPENSSL_VERSION_PRE_RELEASE 0xf
  8. # endif
  9. -# define OPENSSL_VERSION_NUMBER \
  10. - (long)( (OPENSSL_VERSION_MAJOR<<28) \
  11. +# define OPENSSL_VERSION_NUMBER \
  12. + ( (OPENSSL_VERSION_MAJOR<<28) \
  13. |(OPENSSL_VERSION_MINOR<<20) \
  14. |(OPENSSL_VERSION_PATCH<<4) \
  15. - |_OPENSSL_VERSION_PRE_RELEASE )
  16. + |_OPENSSL_VERSION_PRE_RELEASE )
  17. # endif
  18. # ifdef __cplusplus