File tree 1 file changed +1
-8
lines changed
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,
63
63
algo16 : * const c_uchar ,
64
64
data : * mut c_void ,
65
65
attempt : c_uint ,
66
- ) ;
66
+ ) -> c_int ;
67
67
68
68
/// Hash function to use to post-process an ECDH point to get
69
69
/// a shared secret.
@@ -491,13 +491,6 @@ mod fuzz_dummy {
491
491
1
492
492
}
493
493
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
-
501
494
// Pubkeys
502
495
/// Parse 33/65 byte pubkey into PublicKey, losing compressed information
503
496
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