We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 92ec9f3 commit e45337eCopy full SHA for e45337e
2 files changed
vlib/crypto/rand/rand_linux.c.v
@@ -25,6 +25,7 @@ pub fn read(bytes_needed int) ![]u8 {
25
return &ReadError{}
26
}
27
bytes_read += rbytes
28
+ remaining_bytes -= rbytes
29
30
return unsafe { buffer.vbytes(bytes_needed) }
31
vlib/crypto/rand/rand_solaris.c.v
@@ -28,6 +28,7 @@ pub fn read(bytes_needed int) ![]u8 {
32
33
34
0 commit comments