Skip to content
Snippets Groups Projects
Unverified Commit 6eec4316 authored by teor's avatar teor
Browse files

rand: Clarify the crypto_rand_uint() range

parent 398e0e02
Branches
Tags
No related merge requests found
......@@ -33,8 +33,8 @@
/**
* Return a pseudorandom integer chosen uniformly from the values between 0
* and <b>limit</b>-1 inclusive. limit must be strictly between 0 and
* UINT_MAX. */
* and <b>limit</b>-1 inclusive. limit must be strictly greater than 0, and
* less than UINT_MAX. */
unsigned
crypto_rand_uint(unsigned limit)
{
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment