mirror of
https://github.com/moparisthebest/curl
synced 2024-12-23 08:38:49 -05:00
rand: Fix a mismatch between comments in source and header.
Reported-by: Björn Stenberg <bjorn@haxx.se> Closes #3584
This commit is contained in:
parent
fa86d32d59
commit
21b33b9a0b
@ -39,8 +39,11 @@
|
|||||||
*/
|
*/
|
||||||
CURLcode Curl_rand(struct Curl_easy *data, unsigned char *rnd, size_t num);
|
CURLcode Curl_rand(struct Curl_easy *data, unsigned char *rnd, size_t num);
|
||||||
|
|
||||||
/* Same as above but outputs only random lowercase hex characters.
|
/*
|
||||||
Does NOT terminate.*/
|
* Curl_rand_hex() fills the 'rnd' buffer with a given 'num' size with random
|
||||||
|
* hexadecimal digits PLUS a zero terminating byte. It must be an odd number
|
||||||
|
* size.
|
||||||
|
*/
|
||||||
CURLcode Curl_rand_hex(struct Curl_easy *data, unsigned char *rnd,
|
CURLcode Curl_rand_hex(struct Curl_easy *data, unsigned char *rnd,
|
||||||
size_t num);
|
size_t num);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user