Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
Kitware
GitHub Repository: Kitware/CMake
Path: blob/master/Utilities/Release/sunos/docker/openssl.patch
3153 views
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
7
+#define OPENSSL_USE_USLEEP
8
+
9
/* system-specific variants defining OSSL_sleep() */
10
#if defined(OPENSSL_SYS_UNIX) || defined(__DJGPP__)
11
12
--- providers/implementations/rands/seeding/rand_unix.c.orig
13
+++ providers/implementations/rands/seeding/rand_unix.c
14
@@ -84,8 +84,6 @@
15
# define OSSL_POSIX_TIMER_OKAY
16
# endif
17
# endif
18
-# else
19
-# define OSSL_POSIX_TIMER_OKAY
20
# endif
21
# endif
22
#endif /* (defined(OPENSSL_SYS_UNIX) && !defined(OPENSSL_SYS_VXWORKS))
23
24