Removing RAND_bytes call
This commit is contained in:
parent
e0cd3f29be
commit
689b22ead7
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue