crypto: fix `rand` module
parent
14e1b963f2
commit
e1739549b2
|
@ -10,7 +10,7 @@ const (
|
||||||
'vlib/cli/command_test.v',
|
'vlib/cli/command_test.v',
|
||||||
'vlib/cli/flag_test.v',
|
'vlib/cli/flag_test.v',
|
||||||
'vlib/crypto/aes/aes_test.v',
|
'vlib/crypto/aes/aes_test.v',
|
||||||
'vlib/crypto/rand/rand_test.v',
|
'vlib/crypto/rand/rand_test.v', // macOS only
|
||||||
'vlib/crypto/rc4/rc4_test.v',
|
'vlib/crypto/rc4/rc4_test.v',
|
||||||
'vlib/encoding/utf8/utf8_util_test.v',
|
'vlib/encoding/utf8/utf8_util_test.v',
|
||||||
'vlib/eventbus/eventbus_test.v',
|
'vlib/eventbus/eventbus_test.v',
|
||||||
|
|
|
@ -9,7 +9,7 @@ const (
|
||||||
)
|
)
|
||||||
|
|
||||||
// NOTE: temp until we have []bytes(buff)
|
// NOTE: temp until we have []bytes(buff)
|
||||||
fn c_array_to_bytes_tmp(len, buffer voidptr) []byte {
|
fn c_array_to_bytes_tmp(len int, buffer voidptr) []byte {
|
||||||
|
|
||||||
mut arr := []byte
|
mut arr := []byte
|
||||||
arr = make(len, 1, 1)
|
arr = make(len, 1, 1)
|
||||||
|
|
Loading…
Reference in New Issue