fuzz: fix elichai's nits
This commit is contained in:
parent
d1714ce0ac
commit
75d717729a
|
@ -34,8 +34,8 @@ if [ "$DO_FEATURE_MATRIX" = true ]; then
|
|||
done
|
||||
|
||||
# Other combos
|
||||
RUSTFLAGS='--cfg=rust_secp_fuzz' cargo test --all
|
||||
RUSTFLAGS='--cfg=rust_secp_fuzz' cargo test --all --features="$FEATURES"
|
||||
RUSTFLAGS='--cfg=rust_secp_fuzz' RUSTDOCFLAGS=$RUSTFLAGS cargo test --all
|
||||
RUSTFLAGS='--cfg=rust_secp_fuzz' RUSTDOCFLAGS=$RUSTFLAGS cargo test --all --features="$FEATURES"
|
||||
cargo test --all --features="rand rand-std"
|
||||
cargo test --all --features="rand serde"
|
||||
|
||||
|
|
|
@ -118,9 +118,8 @@ mod fuzz_dummy {
|
|||
) -> c_int {
|
||||
let sig_sl = slice::from_raw_parts(sig as *const u8, 65);
|
||||
let msg_sl = slice::from_raw_parts(msg32 as *const u8, 32);
|
||||
println!("HMM0");
|
||||
|
||||
if sig_sl[64] > 4 {
|
||||
if sig_sl[64] >= 4 {
|
||||
return 0;
|
||||
}
|
||||
// Pull the original pk out of the siganture
|
||||
|
|
Loading…
Reference in New Issue