Change the command line options of mkerr.pl so -static is now default and
[oweals/openssl.git] / crypto / bn / bn_rand.c
index 7b21821fe66ff0b820e0c8d1aafc696e7922b7ca..91b8e34ae65b364c03ed333c5f181ed6840c7aca 100644 (file)
 #include <time.h>
 #include "cryptlib.h"
 #include "bn_lcl.h"
-#include "rand.h"
+#include <openssl/rand.h>
 
-int BN_rand(rnd, bits, top, bottom)
-BIGNUM *rnd;
-int bits;
-int top;
-int bottom;
+int BN_rand(BIGNUM *rnd, int bits, int top, int bottom)
        {
        unsigned char *buf=NULL;
        int ret=0,bit,bytes,mask;