aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGravatar Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com> 2022-09-14 19:29:16 -0700
committerGravatar Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com> 2022-09-14 19:29:16 -0700
commit48c2c8c04974c8bf1c871c25c28cab4cc657cdde (patch)
tree372d199005553a5388e49e65e7f459d649b1b4be /src
parent2e2e134a1bf9680d86c0b00ff29489f6a6e6b5e1 (diff)
downloadbun-48c2c8c04974c8bf1c871c25c28cab4cc657cdde.tar.gz
bun-48c2c8c04974c8bf1c871c25c28cab4cc657cdde.tar.zst
bun-48c2c8c04974c8bf1c871c25c28cab4cc657cdde.zip
woops that was wrong
Diffstat (limited to 'src')
-rw-r--r--src/global.zig3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/global.zig b/src/global.zig
index 5db2de0b6..4db835be3 100644
--- a/src/global.zig
+++ b/src/global.zig
@@ -324,6 +324,5 @@ pub const HiveArray = @import("./hive_array.zig").HiveArray;
pub fn rand(bytes: []u8) void {
const BoringSSL = @import("boringssl");
- if (bytes.len > 512)
- _ = BoringSSL.RAND_bytes(bytes.ptr, bytes.len);
+ _ = BoringSSL.RAND_bytes(bytes.ptr, bytes.len);
}