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:
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")]
|
||||
|
Loading…
x
Reference in New Issue
Block a user