aboutsummaryrefslogtreecommitdiff
path: root/lib/std/crypto/argon2.zig
diff options
context:
space:
mode:
authorAndrew Kelley <andrew@ziglang.org>2022-06-12 17:45:57 -0400
committerGitHub <noreply@github.com>2022-06-12 17:45:57 -0400
commitffa700ee58cd29dafe2bbdfe78a4bd4f7bab0674 (patch)
treeaffe8b6dc716051f32259ad171f93d7009855c0f /lib/std/crypto/argon2.zig
parent6e42d45dccf4ba6fa07082db1cb820897d36924f (diff)
parent0a9d6956e7cac96c870ad062b4125b0a0a3b0143 (diff)
downloadzig-ffa700ee58cd29dafe2bbdfe78a4bd4f7bab0674.tar.gz
zig-ffa700ee58cd29dafe2bbdfe78a4bd4f7bab0674.zip
Merge pull request #11837 from Vexu/stage2
Fix (nearly) all stage2 crashes when testing stdlib
Diffstat (limited to 'lib/std/crypto/argon2.zig')
-rw-r--r--lib/std/crypto/argon2.zig2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/std/crypto/argon2.zig b/lib/std/crypto/argon2.zig
index 7269470d5f..16c20a4a78 100644
--- a/lib/std/crypto/argon2.zig
+++ b/lib/std/crypto/argon2.zig
@@ -897,6 +897,7 @@ test "kdf" {
}
test "phc format hasher" {
+ if (@import("builtin").zig_backend != .stage1) return error.SkipZigTest; // TODO
const allocator = std.testing.allocator;
const password = "testpass";
@@ -912,6 +913,7 @@ test "phc format hasher" {
}
test "password hash and password verify" {
+ if (@import("builtin").zig_backend != .stage1) return error.SkipZigTest; // TODO
const allocator = std.testing.allocator;
const password = "testpass";