Fix Mac OSX implementation

This commit is contained in:
Diggory Hardy 2019-02-25 11:01:23 +00:00
parent 446cff37ed
commit 5607368c93

View File

@ -10,7 +10,9 @@
use super::Error;
use std::io;
// TODO: check correctness
enum SecRandom {}
/// Essentially a null pointer (type `SecRandomRef`)
#[allow(non_upper_case_globals)]
const kSecRandomDefault: *const SecRandom = 0 as *const SecRandom;