From 0363206bac4f31c8eb29802ad4d8a860476dc02a Mon Sep 17 00:00:00 2001 From: Delyan Angelov Date: Tue, 16 Mar 2021 11:25:59 +0200 Subject: [PATCH] crypto.rand: correct the error message in the shim --- vlib/crypto/rand/rand_default.c.v | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vlib/crypto/rand/rand_default.c.v b/vlib/crypto/rand/rand_default.c.v index 366757971c..2e1e82365e 100644 --- a/vlib/crypto/rand/rand_default.c.v +++ b/vlib/crypto/rand/rand_default.c.v @@ -5,5 +5,5 @@ module rand // read returns an array of `bytes_needed` random bytes read from the OS. pub fn read(bytes_needed int) ?[]byte { - return error('crypto.read is not implemented on this platform') + return error('rand.read is not implemented on this platform') }