8000 Removing RAND_bytes call · PHPDOTSQL/sqlcipher@689b22e · GitHub
[go: up one dir, main page]

Skip to content

Commit 689b22e

Browse files
Removing RAND_bytes call
1 parent e0cd3f2 commit 689b22e

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/crypto_cc.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77
/* generate a defined number of random bytes */
88
static int sqlcipher_cc_random (void *ctx, void *buffer, int length) {
99
return (SecRandomCopyBytes(kSecRandomDefault, length, (uint8_t *)buffer) == 0);
10-
return RAND_bytes((unsigned char *)buffer, length);
1110
}
1211

1312
static const char* sqlcipher_cc_get_provider_name(void *ctx) {

0 commit comments

Comments
 (0)
0