File tree Expand file tree Collapse file tree 1 file changed +1
-8
lines changed Expand file tree Collapse file tree 1 file changed +1
-8
lines changed Original file line number Diff line number Diff line change @@ -63,7 +63,7 @@ pub type NonceFn = unsafe extern "C" fn(nonce32: *mut c_uchar,
6363 algo16 : * const c_uchar ,
6464 data : * mut c_void ,
6565 attempt : c_uint ,
66- ) ;
66+ ) -> c_int ;
6767
6868/// Hash function to use to post-process an ECDH point to get
6969/// a shared secret.
@@ -491,13 +491,6 @@ mod fuzz_dummy {
491491 1
492492 }
493493
494- // TODO secp256k1_context_set_illegal_callback
495- // TODO secp256k1_context_set_error_callback
496- // (Actually, I don't really want these exposed; if either of these
497- // are ever triggered it indicates a bug in rust-secp256k1, since
498- // one goal is to use Rust's type system to eliminate all possible
499- // bad inputs.)
500-
501494 // Pubkeys
502495 /// Parse 33/65 byte pubkey into PublicKey, losing compressed information
503496 pub unsafe fn secp256k1_ec_pubkey_parse ( cx : * const Context , pk : * mut PublicKey ,
You can’t perform that action at this time.
0 commit comments