mirror of
https://github.com/ziglang/zig.git
synced 2024-11-22 04:10:13 +00:00
Remove unneeded label
This commit is contained in:
parent
68245c22be
commit
002cadb27d
@ -603,9 +603,9 @@ pub fn opensshKdf(pass: []const u8, salt: []const u8, key: []u8, rounds_log: u32
|
|||||||
for (&tmp, tmp2) |*o, t| o.* ^= t;
|
for (&tmp, tmp2) |*o, t| o.* ^= t;
|
||||||
}
|
}
|
||||||
amt = @min(amt, key_remainder);
|
amt = @min(amt, key_remainder);
|
||||||
key_remainder -= rem: for (0..amt) |i| {
|
key_remainder -= for (0..amt) |i| {
|
||||||
const dest = i * stride + (count - 1);
|
const dest = i * stride + (count - 1);
|
||||||
if (dest >= key.len) break :rem i;
|
if (dest >= key.len) break i;
|
||||||
key[dest] = tmp[i];
|
key[dest] = tmp[i];
|
||||||
} else amt;
|
} else amt;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user