diff --git a/src/crypto_cc.c b/src/crypto_cc.c index 73794c5..00449a2 100644 --- a/src/crypto_cc.c +++ b/src/crypto_cc.c @@ -7,7 +7,6 @@ /* generate a defined number of random bytes */ static int sqlcipher_cc_random (void *ctx, void *buffer, int length) { return (SecRandomCopyBytes(kSecRandomDefault, length, (uint8_t *)buffer) == 0); - return RAND_bytes((unsigned char *)buffer, length); } static const char* sqlcipher_cc_get_provider_name(void *ctx) {