File tree Expand file tree Collapse file tree 6 files changed +10
-6
lines changed Expand file tree Collapse file tree 6 files changed +10
-6
lines changed Original file line number Diff line number Diff line change @@ -273,7 +273,7 @@ dependencies = [
273273
274274[[package]]
275275name = "secp256k1-sys"
276- version = "0.9.1 "
276+ version = "0.9.2 "
277277dependencies = [
278278 "cc",
279279 "libc",
Original file line number Diff line number Diff line change @@ -194,7 +194,7 @@ dependencies = [
194194
195195[[package]]
196196name = "secp256k1-sys"
197- version = "0.9.1 "
197+ version = "0.9.2 "
198198dependencies = [
199199 "cc",
200200 "libc",
Original file line number Diff line number Diff line change 1+ # 0.9.2 - 2023-12-18
2+
3+ * Fix incorrect FFI binding for ` secp256k1_pubkey_combine `
4+
15# 0.9.1 - 2023-12-07
26
37* Patch out any instances of printf in upstream [ #663 ] ( https://github.com/rust-bitcoin/rust-secp256k1/pull/663 )
Original file line number Diff line number Diff line change 11[package ]
22name = " secp256k1-sys"
3- version = " 0.9.1 "
3+ version = " 0.9.2 "
44authors = [ " Dawid Ciężarkiewicz <dpc@ucore.info>" ,
55 " Andrew Poelstra <apoelstra@wpsoftware.net>" ,
66 " Steven Roose <steven@stevenroose.org>" ]
Original file line number Diff line number Diff line change @@ -724,7 +724,7 @@ extern "C" {
724724 pub fn secp256k1_ec_pubkey_combine ( cx : * const Context ,
725725 out : * mut PublicKey ,
726726 ins : * const * const PublicKey ,
727- n : c_int )
727+ n : size_t )
728728 -> c_int ;
729729
730730 #[ cfg_attr( not( rust_secp_no_symbol_renaming) , link_name = "rustsecp256k1_v0_9_1_ecdh" ) ]
@@ -1306,7 +1306,7 @@ mod fuzz_dummy {
13061306 pub unsafe fn secp256k1_ec_pubkey_combine ( cx : * const Context ,
13071307 out : * mut PublicKey ,
13081308 ins : * const * const PublicKey ,
1309- n : c_int )
1309+ n : size_t )
13101310 -> c_int {
13111311 check_context_flags ( cx, 0 ) ;
13121312 assert ! ( n >= 1 ) ;
Original file line number Diff line number Diff line change @@ -676,7 +676,7 @@ impl PublicKey {
676676 ffi:: secp256k1_context_no_precomp,
677677 & mut ret,
678678 ptrs. as_c_ptr ( ) ,
679- keys. len ( ) as i32 ,
679+ keys. len ( ) ,
680680 ) == 1
681681 {
682682 Ok ( PublicKey ( ret) )
You can’t perform that action at this time.
0 commit comments