| ... | @@ -53,7 +53,7 @@ fn tlsCsprngFill(_: *anyopaque, buffer: []u8) void { | ... | @@ -53,7 +53,7 @@ fn tlsCsprngFill(_: *anyopaque, buffer: []u8) void { |
| 53 | // std.crypto.random always make an OS syscall, rather than rely on an | 53 | // std.crypto.random always make an OS syscall, rather than rely on an |
| 54 | // application implementation of a CSPRNG. | 54 | // application implementation of a CSPRNG. |
| 55 | if (std.options.crypto_always_getrandom) { | 55 | if (std.options.crypto_always_getrandom) { |
| 56 | return defaultRandomSeed(buffer); | 56 | return std.options.cryptoRandomSeed(buffer); |
| 57 | } | 57 | } |
| 58 | | 58 | |
| 59 | if (wipe_mem.len == 0) { | 59 | if (wipe_mem.len == 0) { |