From 02b8d9b4d669ae215b1c2423fa961db1b69a487f Mon Sep 17 00:00:00 2001
From: Sverker Eriksson
Date: Wed, 7 Sep 2011 11:09:43 +0200
Subject: [crypto] Fix rand_uniform for negative values
Also let it throw badarg if 'Hi' is not larger than 'Lo'.
---
lib/crypto/doc/src/crypto.xml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
(limited to 'lib/crypto/doc')
diff --git a/lib/crypto/doc/src/crypto.xml b/lib/crypto/doc/src/crypto.xml
index 179ba4498c..96c4a072e1 100644
--- a/lib/crypto/doc/src/crypto.xml
+++ b/lib/crypto/doc/src/crypto.xml
@@ -744,7 +744,7 @@ Mpint() = >]]>
Generate a random number Uses the
crypto library pseudo-random number generator. The
arguments (and result) can be either erlang integers or binary
- multi-precision integers.
+ multi-precision integers. Hi must be larger than Lo.
--
cgit v1.2.3