aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/libs/curl/lib/rand.h
diff options
context:
space:
mode:
authorMaxim Yurchuk <maxim-yurchuk@ydb.tech>2024-10-18 20:31:38 +0300
committerGitHub <noreply@github.com>2024-10-18 20:31:38 +0300
commit2a74bac2d2d3bccb4e10120f1ead805640ec9dd0 (patch)
tree047e4818ced5aaf73f58517629e5260b5291f9f0 /contrib/libs/curl/lib/rand.h
parent2d9656823e9521d8c29ea4c9a1d0eab78391abfc (diff)
parent3d834a1923bbf9403cd4a448e7f32b670aa4124f (diff)
downloadydb-2a74bac2d2d3bccb4e10120f1ead805640ec9dd0.tar.gz
Merge pull request #10502 from ydb-platform/mergelibs-241016-1210
Library import 241016-1210
Diffstat (limited to 'contrib/libs/curl/lib/rand.h')
-rw-r--r--contrib/libs/curl/lib/rand.h12
1 files changed, 1 insertions, 11 deletions
diff --git a/contrib/libs/curl/lib/rand.h b/contrib/libs/curl/lib/rand.h
index 2ba60e7297..bc05239e45 100644
--- a/contrib/libs/curl/lib/rand.h
+++ b/contrib/libs/curl/lib/rand.h
@@ -24,17 +24,7 @@
*
***************************************************************************/
-CURLcode Curl_rand_bytes(struct Curl_easy *data,
-#ifdef DEBUGBUILD
- bool allow_env_override,
-#endif
- unsigned char *rnd, size_t num);
-
-#ifdef DEBUGBUILD
-#define Curl_rand(a,b,c) Curl_rand_bytes((a), TRUE, (b), (c))
-#else
-#define Curl_rand(a,b,c) Curl_rand_bytes((a), (b), (c))
-#endif
+CURLcode Curl_rand(struct Curl_easy *data, unsigned char *rnd, size_t num);
/*
* Curl_rand_hex() fills the 'rnd' buffer with a given 'num' size with random