Commit 493c3c23f8f4bcaf8c3552637300f7a3290d4f0e

Francois Perrad 2019-05-08T18:19:44

use same paramater name as in prototype

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
diff --git a/bn_mp_rand.c b/bn_mp_rand.c
index 607a659..0e8edbf 100644
--- a/bn_mp_rand.c
+++ b/bn_mp_rand.c
@@ -163,9 +163,9 @@ static int s_mp_rand_source_platform(void *p, size_t n)
 
 int (*s_rand_source)(void *out, size_t size) = s_mp_rand_source_platform;
 
-void mp_rand_source(int (*get)(void *out, size_t size))
+void mp_rand_source(int (*source)(void *out, size_t size))
 {
-   s_rand_source = get == NULL ? s_mp_rand_source_platform : get;
+   s_rand_source = source == NULL ? s_mp_rand_source_platform : source;
 }
 
 /* makes a pseudo-random int of a given size */