Removing RAND_bytes call

This commit is contained in:
Nick Parker 2013-06-11 11:23:40 -05:00
parent e0cd3f29be
commit 689b22ead7
1 changed files with 0 additions and 1 deletions

View File

@ -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) {