rand: Get rid of warning about kSecRandomDefault case.

This isn't actually a global so I'm surprised this lint bothers with it.
This commit is contained in:
Brian Smith 2021-08-15 14:11:30 -07:00
parent 8fe3633ab9
commit fb108ef041

@ -390,6 +390,7 @@ mod darwin {
// https://developer.apple.com/documentation/security/ksecrandomdefault
// says "This constant is a synonym for NULL."
#[allow(non_upper_case_globals)]
const kSecRandomDefault: SecRandomRef = core::ptr::null();
#[link(name = "Security", kind = "framework")]