aboutsummaryrefslogtreecommitdiff
path: root/std/crypto.zig
diff options
context:
space:
mode:
authorAndrew Kelley <andrew@ziglang.org>2019-05-25 13:07:44 -0400
committerAndrew Kelley <andrew@ziglang.org>2019-05-26 18:32:44 -0400
commit7cb6279ac0cec065234347bda5944be64fe8b3da (patch)
tree0eb4befe9a7eb24f5a393559e0621e92e26a4c59 /std/crypto.zig
parentca6debcaf4a4f85b7aff94c7b5fe821530b0f195 (diff)
downloadzig-7cb6279ac0cec065234347bda5944be64fe8b3da.tar.gz
zig-7cb6279ac0cec065234347bda5944be64fe8b3da.zip
clean up references to posix
Diffstat (limited to 'std/crypto.zig')
-rw-r--r--std/crypto.zig2
1 files changed, 1 insertions, 1 deletions
diff --git a/std/crypto.zig b/std/crypto.zig
index 2c3d8eba9e..2b57de9e60 100644
--- a/std/crypto.zig
+++ b/std/crypto.zig
@@ -33,7 +33,7 @@ pub const Poly1305 = @import("crypto/poly1305.zig").Poly1305;
pub const X25519 = @import("crypto/x25519.zig").X25519;
const std = @import("std.zig");
-pub const randomBytes = std.posix.getrandom;
+pub const randomBytes = std.os.getrandom;
test "crypto" {
_ = @import("crypto/blake2.zig");