X-Git-Url: https://git.saurik.com/apple/security.git/blobdiff_plain/5c19dc3ae3bd8e40a9c028b0deddd50ff337692c..dd5fb164cf5b32c462296bc65e289e100f74b59a:/OSX/libsecurity_keychain/lib/SecRandom.c diff --git a/OSX/libsecurity_keychain/lib/SecRandom.c b/OSX/libsecurity_keychain/lib/SecRandom.c index dcdb1aef..829e0364 100644 --- a/OSX/libsecurity_keychain/lib/SecRandom.c +++ b/OSX/libsecurity_keychain/lib/SecRandom.c @@ -39,7 +39,7 @@ const SecRandomRef kSecRandomDefault = NULL; -int SecRandomCopyBytes(SecRandomRef rnd, size_t count, uint8_t *bytes) { +int SecRandomCopyBytes(SecRandomRef rnd, size_t count, void *bytes) { if (rnd != kSecRandomDefault) return errSecParam; return CCRandomCopyBytes(kCCRandomDefault, bytes, count);