diff --git a/crypto/bn/divtest.c b/crypto/bn/divtest.c index 60b3d662d95de30a97849213b7d63ccfc72f6172..13ba86e3c4e1433b8a2320a536d2616d84212cab 100644 --- a/crypto/bn/divtest.c +++ b/crypto/bn/divtest.c @@ -1,13 +1,14 @@ #include +#include -int rand(n) +static int rand(n) { unsigned char x[2]; - RAND_pseudo_bytes(&x,2); + RAND_pseudo_bytes(x,2); return (x[0] + 2*x[1]); } -void bug(char *m, BIGNUM *a, BIGNUM *b) +static void bug(char *m, BIGNUM *a, BIGNUM *b) { printf("%s!\na=",m); BN_print_fp(stdout, a);