From 689b22ead7c31f7bcf9714d18c314548e19bfafb Mon Sep 17 00:00:00 2001 From: Nick Parker Date: Tue, 11 Jun 2013 11:23:40 -0500 Subject: [PATCH] Removing RAND_bytes call --- src/crypto_cc.c | 1 - 1 file changed, 1 deletion(-) 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) {