Skip to content

Commit 5607368

Browse files
committed
Fix Mac OSX implementation
1 parent 446cff3 commit 5607368

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/macos.rs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,9 @@
1010
use super::Error;
1111
use std::io;
1212

13-
// TODO: check correctness
13+
enum SecRandom {}
14+
15+
/// Essentially a null pointer (type `SecRandomRef`)
1416
#[allow(non_upper_case_globals)]
1517
const kSecRandomDefault: *const SecRandom = 0 as *const SecRandom;
1618

0 commit comments

Comments
 (0)