summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDwayne C. Litzenberger <dlitz@dlitz.net>2012-07-03 11:51:20 -0400
committerDwayne C. Litzenberger <dlitz@dlitz.net>2012-07-03 11:53:23 -0400
commit8157d8b922e50c9c52045c5ae83e7d14a2785e22 (patch)
tree075dc32c957f5f64b1d7be8afd1a5c7458a6c6a0
parent868ec6aa98e797e6c8bb3581bb9218e6ddeab000 (diff)
downloadpycrypto-8157d8b922e50c9c52045c5ae83e7d14a2785e22.tar.gz
Fix typo in comment
-rw-r--r--src/_fastmath.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/_fastmath.c b/src/_fastmath.c
index f05e70f..99dbb0e 100644
--- a/src/_fastmath.c
+++ b/src/_fastmath.c
@@ -1260,7 +1260,7 @@ getRandomNBitInteger (mpz_t n, unsigned long int bits, PyObject *randfunc)
}
-/* Sets n to a rangom number so that lower_bound <= n < upper_bound .
+/* Sets n to a random number so that lower_bound <= n < upper_bound .
* If randfunc is provided it should be a callable which takes a single int
* parameter and return as many random bytes as a python string.
* Returns 1 on success