mirror of
https://github.com/Ed94/Odin.git
synced 2026-08-03 05:08:14 +00:00
core/crypto: Add a HAS_RAND_BYTES constant
This commit is contained in:
@@ -277,7 +277,7 @@ test_chacha20poly1305 :: proc(t: ^testing.T) {
|
||||
test_rand_bytes :: proc(t: ^testing.T) {
|
||||
tc.log(t, "Testing rand_bytes")
|
||||
|
||||
if !crypto.has_rand_bytes() {
|
||||
if !crypto.HAS_RAND_BYTES {
|
||||
tc.log(t, "rand_bytes not supported - skipping")
|
||||
return
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user