File tree Expand file tree Collapse file tree 4 files changed +11
-5
lines changed Expand file tree Collapse file tree 4 files changed +11
-5
lines changed Original file line number Diff line number Diff line change 11
2+ # 0.18.0 - 2020-08-26
3+
4+ * Add feature-gated ` bitcoin_hashes ` dependency and [ ` ThirtyTwoByteHash ` trait] ( https://github.com/rust-bitcoin/rust-secp256k1/pull/206/ )
5+ * Add feature-gated [ global static context] ( https://github.com/rust-bitcoin/rust-secp256k1/pull/224 )
6+ * Allow [ all-zero messages] ( https://github.com/rust-bitcoin/rust-secp256k1/pull/207 ) to be constructed
7+ * Bump rust-secp-sys to 0.2.0
8+
29# 0.17.2
310- Fix linking in the ` fuzztarget ` feature.
411
Original file line number Diff line number Diff line change 11[package ]
22
33name = " secp256k1"
4- version = " 0.17.2 "
4+ version = " 0.18.0 "
55authors = [ " Dawid Ciężarkiewicz <dpc@ucore.info>" ,
66 " Andrew Poelstra <apoelstra@wpsoftware.net>" ]
77license = " CC0-1.0"
Original file line number Diff line number Diff line change @@ -167,7 +167,6 @@ mod tests {
167167 use rand:: thread_rng;
168168 use super :: SharedSecret ;
169169 use super :: super :: Secp256k1 ;
170- use Error ;
171170
172171 #[ test]
173172 fn ecdh ( ) {
Original file line number Diff line number Diff line change @@ -154,7 +154,7 @@ impl SecretKey {
154154 & mut self
155155 ) {
156156 unsafe {
157- let res = ffi:: secp256k1_ec_privkey_negate (
157+ let res = ffi:: secp256k1_ec_seckey_negate (
158158 ffi:: secp256k1_context_no_precomp,
159159 self . as_mut_c_ptr ( )
160160 ) ;
@@ -174,7 +174,7 @@ impl SecretKey {
174174 return Err ( Error :: InvalidTweak ) ;
175175 }
176176 unsafe {
177- if ffi:: secp256k1_ec_privkey_tweak_add (
177+ if ffi:: secp256k1_ec_seckey_tweak_add (
178178 ffi:: secp256k1_context_no_precomp,
179179 self . as_mut_c_ptr ( ) ,
180180 other. as_c_ptr ( ) ,
@@ -199,7 +199,7 @@ impl SecretKey {
199199 return Err ( Error :: InvalidTweak ) ;
200200 }
201201 unsafe {
202- if ffi:: secp256k1_ec_privkey_tweak_mul (
202+ if ffi:: secp256k1_ec_seckey_tweak_mul (
203203 ffi:: secp256k1_context_no_precomp,
204204 self . as_mut_c_ptr ( ) ,
205205 other. as_c_ptr ( ) ,
You can’t perform that action at this time.
0 commit comments