Release 023 (#59)

* Fix compilation warning in tests.

* Release 0.2.3.
This commit is contained in:
Eugene Kabanov 2024-06-02 16:55:11 +03:00 committed by GitHub
parent ff0b47ed80
commit a806cbfab5
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View File

@ -1,7 +1,7 @@
mode = ScriptMode.Verbose
packageName = "bearssl"
version = "0.2.2"
version = "0.2.3"
author = "Status Research & Development GmbH"
description = "BearSSL wrapper"
license = "MIT or Apache License 2.0"

View File

@ -20,7 +20,7 @@ suite "random":
v2 != default(array[1024, byte]) # probable
for i in 0..<1000:
doAssert cast[int](rng[].generate(bool)) in [0, 1]
doAssert int(rng[].generate(bool)) in [0, 1]
var bools: array[64 * 1024, bool]
rng[].generate(bools)