]> git.saurik.com Git - apple/security.git/blobdiff - OSX/libsecurity_keychain/lib/SecRandom.c
Security-58286.20.16.tar.gz
[apple/security.git] / OSX / libsecurity_keychain / lib / SecRandom.c
index dcdb1aef957f4f396af8c9565051f2e72ba60738..829e0364ebe3e7ffd33fa2d3ab2141714dbd4cae 100644 (file)
@@ -39,7 +39,7 @@
 const SecRandomRef kSecRandomDefault = NULL;
 
 
 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);
     if (rnd != kSecRandomDefault)
         return errSecParam;
     return CCRandomCopyBytes(kCCRandomDefault, bytes, count);