]> git.saurik.com Git - apple/security.git/blobdiff - OSX/libsecurity_keychain/lib/SecRandom.c
Security-58286.260.20.tar.gz
[apple/security.git] / OSX / libsecurity_keychain / lib / SecRandom.c
index 829e0364ebe3e7ffd33fa2d3ab2141714dbd4cae..703ad51723aed90453e416d974a945fdfc5d39bf 100644 (file)
@@ -39,9 +39,7 @@
 const SecRandomRef kSecRandomDefault = NULL;
 
 
-int SecRandomCopyBytes(SecRandomRef rnd, size_t count, void *bytes) {
-    if (rnd != kSecRandomDefault)
-        return errSecParam;
+int SecRandomCopyBytes(__unused SecRandomRef rnd, size_t count, void *bytes) {
     return CCRandomCopyBytes(kCCRandomDefault, bytes, count);
 }