Merge pull request #94 from TheBlueMatt/master
Stop checking context flags for secp256k1_ecdh as its not required
This commit is contained in:
commit
a54f9b7f20
|
@ -644,7 +644,6 @@ mod fuzz_dummy {
|
|||
data: *mut c_void,
|
||||
) -> c_int {
|
||||
assert!(!cx.is_null() && (*cx).0 as u32 & !(SECP256K1_START_NONE | SECP256K1_START_VERIFY | SECP256K1_START_SIGN) == 0);
|
||||
assert!((*cx).0 as u32 & SECP256K1_START_SIGN == SECP256K1_START_SIGN);
|
||||
if secp256k1_ec_seckey_verify(cx, scalar) != 1 { return 0; }
|
||||
|
||||
let mut scalar_prefix = [0; 16];
|
||||
|
|
Loading…
Reference in New Issue