summaryrefslogtreecommitdiffstats
path: root/crypto/bn/divtest.c
diff options
context:
space:
mode:
Diffstat (limited to 'crypto/bn/divtest.c')
-rw-r--r--crypto/bn/divtest.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/crypto/bn/divtest.c b/crypto/bn/divtest.c
index 13ba86e3c4..d3fc688f33 100644
--- a/crypto/bn/divtest.c
+++ b/crypto/bn/divtest.c
@@ -1,7 +1,7 @@
#include <openssl/bn.h>
#include <openssl/rand.h>
-static int rand(n)
+static int Rand(n)
{
unsigned char x[2];
RAND_pseudo_bytes(x,2);
@@ -26,8 +26,8 @@ main()
BN_CTX *ctx=BN_CTX_new();
for(;;) {
- BN_pseudo_rand(a,rand(),0,0);
- BN_pseudo_rand(b,rand(),0,0);
+ BN_pseudo_rand(a,Rand(),0,0);
+ BN_pseudo_rand(b,Rand(),0,0);
if (BN_is_zero(b)) continue;
BN_RECP_CTX_set(recp,b,ctx);