mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-21 23:21:59 +00:00
Fixed build with DEVRANDOM
This commit is contained in:
parent
1e887162a3
commit
c303d0b6fc
2
.gitmodules
vendored
2
.gitmodules
vendored
@ -121,4 +121,4 @@
|
|||||||
url = https://github.com/curl/curl.git
|
url = https://github.com/curl/curl.git
|
||||||
[submodule "contrib/openssl"]
|
[submodule "contrib/openssl"]
|
||||||
path = contrib/openssl
|
path = contrib/openssl
|
||||||
url = https://github.com/openssl/openssl.git
|
url = https://github.com/ClickHouse-Extras/openssl.git
|
||||||
|
2
contrib/openssl
vendored
2
contrib/openssl
vendored
@ -1 +1 @@
|
|||||||
Subproject commit 4e3ee452d091615e52a43e6e7c6db7d09e260353
|
Subproject commit ecca91837a970a820aada088ac16f8784b0958a9
|
@ -26,9 +26,15 @@ extern "C" {
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
# define OPENSSL_CONFIGURED_API 30000
|
# define OPENSSL_CONFIGURED_API 30000
|
||||||
# ifndef OPENSSL_RAND_SEED_OS
|
|
||||||
# define OPENSSL_RAND_SEED_OS
|
/// This fragment was edited to avoid dependency on "getrandom" function that is not available on old libc and old Linux kernels.
|
||||||
# endif
|
/// The DEVRANDOM method is also good.
|
||||||
|
|
||||||
|
//# ifndef OPENSSL_RAND_SEED_OS
|
||||||
|
//# define OPENSSL_RAND_SEED_OS
|
||||||
|
//# endif
|
||||||
|
#define OPENSSL_RAND_SEED_DEVRANDOM
|
||||||
|
|
||||||
# ifndef OPENSSL_THREADS
|
# ifndef OPENSSL_THREADS
|
||||||
# define OPENSSL_THREADS
|
# define OPENSSL_THREADS
|
||||||
# endif
|
# endif
|
||||||
|
Loading…
Reference in New Issue
Block a user