Use BN_rand_range().
[oweals/openssl.git] / crypto / rsa / rsa_chk.c
index 91b91157983fe9e09025f7896314bec53c8dc82d..002f2cb487222acc92226e21018af434c713fab4 100644 (file)
@@ -53,7 +53,7 @@
 #include <openssl/rsa.h>
 
 
-int RSA_check_key(RSA *key)
+int RSA_check_key(const RSA *key)
        {
        BIGNUM *i, *j, *k, *l, *m;
        BN_CTX *ctx;