openssl.patch 583 B

12345678910111213141516171819202122
  1. --- crypto/sleep.orig
  2. +++ crypto/sleep.c
  3. @@ -10,6 +10,8 @@
  4. #include <openssl/crypto.h>
  5. #include "internal/e_os.h"
  6. +#define OPENSSL_USE_USLEEP
  7. +
  8. /* system-specific variants defining OSSL_sleep() */
  9. #if defined(OPENSSL_SYS_UNIX) || defined(__DJGPP__)
  10. --- providers/implementations/rands/seeding/rand_unix.c.orig
  11. +++ providers/implementations/rands/seeding/rand_unix.c
  12. @@ -84,8 +84,6 @@
  13. # define OSSL_POSIX_TIMER_OKAY
  14. # endif
  15. # endif
  16. -# else
  17. -# define OSSL_POSIX_TIMER_OKAY
  18. # endif
  19. # endif
  20. #endif /* (defined(OPENSSL_SYS_UNIX) && !defined(OPENSSL_SYS_VXWORKS))