-
Notifications
You must be signed in to change notification settings - Fork 915
Rust wrapper: add wolfssl::wolfcrypt::random module #9212
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
retest this please (RequestAbortedException) |
JacobBarthelmeh
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tests built and ran
Finished `test` profile [unoptimized + debuginfo] target(s) in 24.53s
Running unittests src/lib.rs (target/debug/deps/wolfssl-5c61f245a066f4a3)
wolfssl-5c61f245a066f4a3(50440,0x7ff858b77dc0) malloc: nano zone abandoned due to inability to reserve vm space.
running 0 tests
test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
Running tests/test_random.rs (target/debug/deps/test_random-34b337d6eff36f51)
test_random-34b337d6eff36f51(50441,0x7ff858b77dc0) malloc: nano zone abandoned due to inability to reserve vm space.
running 5 tests
test test_rng_new_with_nonce_and_drop ... ok
test test_rng_generate_block_u32 ... ok
test test_rng_new_and_drop ... ok
test test_rng_generate_byte ... ok
test test_rng_generate_block_u8 ... ok
test result: ok. 5 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
Doc-tests wolfssl
running 1 test
test src/wolfcrypt/random.rs - wolfcrypt::random (line 12) ... ok
test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s
I tried with using a sanitizer as well:
RUSTFLAGS="-Z sanitizer=leak" make -C ./wrapper/rust test
Oh that is a good point, I should add this step to CI. |
|
retest this please (SSL_read input error 5, fatal I/O error in TLS layer) |
Description
Rust wrapper: add wolfssl::wolfcrypt::random module
Testing
How did you test?
Checklist